Update build_args.gni

This commit is contained in:
uazo 2022-10-21 07:15:27 -08:00 committed by GitHub
parent 400575271c
commit 4432e3bc3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -3,19 +3,17 @@ declare_args() {
_is_debug_build = ""
}
_is_debug_build = getenv("TARGET_ISDEBUG")
not_needed(["_target_build", "_is_debug_build"])
if(getenv("TARGET_CPU") != "") {
target_cpu = getenv("TARGET_CPU")
}
# print("Target " + target_cpu)
if (target_os == "android") {
enable_kythe_annotations = true
chrome_public_manifest_package = "org.bromite.bromite.dev"
_is_debug_build = getenv("TARGET_ISDEBUG")
if(_is_debug_build == "true") {
# print("Debug build on")
is_debug = true
@ -35,6 +33,7 @@ if (target_os == "android") {
}
if (target_os == "win") {
target_cpu = "x64"
symbol_level = 0
use_large_pdbs = true