2021-06-30 12:44:14 +00:00
|
|
|
|
|
|
|
declare_args() {
|
|
|
|
_is_debug_build = ""
|
2021-07-26 14:24:54 +02:00
|
|
|
target_cpu = "x64"
|
2021-06-30 12:44:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
_is_debug_build = getenv("TARGET_ISDEBUG")
|
|
|
|
|
|
|
|
not_needed(["_target_build", "_is_debug_build"])
|
|
|
|
|
|
|
|
if(getenv("TARGET_CPU") != "") {
|
|
|
|
target_cpu = getenv("TARGET_CPU")
|
|
|
|
}
|
2021-12-01 08:33:43 +01:00
|
|
|
# print("Target " + target_cpu)
|
|
|
|
|
|
|
|
enable_kythe_annotations = true
|
2021-12-02 11:08:23 +01:00
|
|
|
clang_use_chrome_plugins = false
|
2021-06-30 12:44:14 +00:00
|
|
|
|
|
|
|
if(!(_is_debug_build == "")) {
|
2021-12-01 08:33:43 +01:00
|
|
|
# print("Debug build on")
|
2021-06-30 12:44:14 +00:00
|
|
|
is_debug = true
|
|
|
|
is_official_build = false
|
|
|
|
dcheck_always_on = true
|
|
|
|
symbol_level = 1
|
|
|
|
strip_debug_info = false
|
2021-10-10 17:01:38 +02:00
|
|
|
generate_linker_map = false
|
2021-10-10 16:56:40 +02:00
|
|
|
} else {
|
2021-10-10 17:01:38 +02:00
|
|
|
generate_linker_map = true
|
2021-06-30 12:44:14 +00:00
|
|
|
}
|