mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 07:30:33 +00:00
!839 Standalone build
Merge pull request !839 from tsatsulya/standalone_build
This commit is contained in:
commit
4c43ee004b
@ -32,6 +32,19 @@ config("rtti") {
|
||||
}
|
||||
}
|
||||
|
||||
config("no_exceptions") {
|
||||
if (is_linux) {
|
||||
cflags_cc = [ "-fno-exceptions" ]
|
||||
cflags_objcc = cflags_cc
|
||||
}
|
||||
}
|
||||
|
||||
config("optimize_speed") {
|
||||
if (is_linux) {
|
||||
cflags_cc = [ "-O3" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("no_rtti") {
|
||||
# Some sanitizer configs may require RTTI to be left enabled globally
|
||||
if (!use_rtti) {
|
||||
|
@ -76,6 +76,15 @@ group("runtime_core") {
|
||||
]
|
||||
}
|
||||
|
||||
group("static_core") {
|
||||
deps = [
|
||||
"$ark_root/static_core/assembler:libarktsassembler",
|
||||
"$ark_root/static_core/bytecode_optimizer:libarktsbytecodeopt",
|
||||
"$ark_root/static_core/libpandabase:libarktsbase",
|
||||
"$ark_root/static_core/libpandafile:libarktsfile",
|
||||
]
|
||||
}
|
||||
|
||||
group("toolchain") {
|
||||
deps = []
|
||||
if (target_cpu != "mipsel") {
|
||||
|
@ -11,7 +11,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/ark.gni")
|
||||
if (ark_standalone_build) {
|
||||
import("$build_root/ark.gni")
|
||||
} else {
|
||||
import("//build/ohos.gni")
|
||||
}
|
||||
|
||||
config("icu_config") {
|
||||
include_dirs = [
|
||||
"//third_party/icu/icu4c/source/common",
|
||||
|
Loading…
Reference in New Issue
Block a user