summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuto Ikuta <tikuta@chromium.org>2019-02-19 13:59:42 +0900
committerTakuto Ikuta <tikuta@chromium.org>2019-02-19 05:09:35 +0000
commitae8e4ca1c64c861de419c93385a0fc66a39141e2 (patch)
treee45788cf8f7d1ed905329d82e7458846af990504
parent313e2e8b981afb3885044d732109f796cced347b (diff)
downloadnasm-ae8e4ca1c64c861de419c93385a0fc66a39141e2.tar.gz
use no_chromium_code config
also applied `gn format`. Bug: b/123484576 Change-Id: Ic40ded213779c91c53d6ddb1bd802e14411f956a
-rw-r--r--BUILD.gn8
1 files changed, 5 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 7a3f355f..c77f45ab 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -8,9 +8,11 @@ import("nasm_sources.gni")
configs_to_delete = [
# Don't enable sanitizers for build tools. They slow down the overall build.
"//build/config/sanitizers:default_sanitizer_flags",
+
+ "//build/config/compiler:chromium_code",
]
-configs_to_add = []
+configs_to_add = [ "//build/config/compiler:no_chromium_code" ]
if (is_debug) {
configs_to_delete += [
# Build with full optimizations even on debug configurations, because some
@@ -87,9 +89,9 @@ if (current_toolchain == host_toolchain) {
executable("nasm") {
sources = nasmlib_sources + nasm_sources
sources += [
- "config/config.h",
- "config/config-mac.h",
"config/config-linux.h",
+ "config/config-mac.h",
+ "config/config.h",
"config/msvc.h",
]