diff options
author | Takuto Ikuta <tikuta@chromium.org> | 2019-02-19 13:59:42 +0900 |
---|---|---|
committer | Takuto Ikuta <tikuta@chromium.org> | 2019-02-19 05:09:35 +0000 |
commit | ae8e4ca1c64c861de419c93385a0fc66a39141e2 (patch) | |
tree | e45788cf8f7d1ed905329d82e7458846af990504 | |
parent | 313e2e8b981afb3885044d732109f796cced347b (diff) | |
download | nasm-ae8e4ca1c64c861de419c93385a0fc66a39141e2.tar.gz |
use no_chromium_code config
also applied `gn format`.
Bug: b/123484576
Change-Id: Ic40ded213779c91c53d6ddb1bd802e14411f956a
-rw-r--r-- | BUILD.gn | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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", ] |