From 3d1f8a1c0dc382e75727fb4f29bc32bee375f625 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Thu, 13 Oct 2022 12:23:20 +0200 Subject: [PATCH] in preparation for the build for windows --- images/bromite-build/build_args.gni | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/images/bromite-build/build_args.gni b/images/bromite-build/build_args.gni index e515746..7ab68fd 100644 --- a/images/bromite-build/build_args.gni +++ b/images/bromite-build/build_args.gni @@ -1,7 +1,6 @@ declare_args() { _is_debug_build = "" - target_cpu = "x64" } _is_debug_build = getenv("TARGET_ISDEBUG") @@ -15,14 +14,21 @@ if(getenv("TARGET_CPU") != "") { enable_kythe_annotations = true # clang_use_chrome_plugins = false -chrome_public_manifest_package = "org.bromite.bromite.dev" +if (target_os == "android") { + chrome_public_manifest_package = "org.bromite.bromite.dev" +} if(_is_debug_build == "true") { # print("Debug build on") is_debug = true is_official_build = false dcheck_always_on = true - symbol_level = 1 + if (target_os == "win") { + symbol_level = 0 + use_large_pdbs = true + } else { + symbol_level = 1 + } strip_debug_info = false generate_linker_map = false