summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormseaborn <mseaborn@chromium.org>2015-09-17 16:29:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-17 23:30:15 +0000
commit9ae8d7875f0ad6b8511940131640d920749982ec (patch)
tree1416ccfc71540bf4b784a76d698d9e6ef531ccdc /build
parentcd7c00d4a5afd1bbc93886a665b0ef0c89a16d63 (diff)
downloadchromium_src-9ae8d7875f0ad6b8511940131640d920749982ec.zip
chromium_src-9ae8d7875f0ad6b8511940131640d920749982ec.tar.gz
chromium_src-9ae8d7875f0ad6b8511940131640d920749982ec.tar.bz2
NaCl GN build: Remove some unneeded #defines
This syncs the GN build with Gyp. The per-OS #defines were removed from Gyp here: https://codereview.chromium.org/788193003 The per-arch #defines were removed from Gyp here: https://codereview.chromium.org/902903002 BUG=440012 TEST=build Review URL: https://codereview.chromium.org/1351933003 Cr-Commit-Position: refs/heads/master@{#349537}
Diffstat (limited to 'build')
-rw-r--r--build/config/nacl/BUILD.gn47
1 files changed, 0 insertions, 47 deletions
diff --git a/build/config/nacl/BUILD.gn b/build/config/nacl/BUILD.gn
index a8399d9..d2643b8 100644
--- a/build/config/nacl/BUILD.gn
+++ b/build/config/nacl/BUILD.gn
@@ -5,7 +5,6 @@
# Native Client Definitions
config("nacl_defines") {
defines = [
- "NACL_ANDROID=0",
"_DEFAULT_SOURCE=1",
"_BSD_SOURCE=1",
"_POSIX_C_SOURCE=199506",
@@ -13,52 +12,6 @@ config("nacl_defines") {
"_GNU_SOURCE=1",
"__STDC_LIMIT_MACROS=1",
]
-
- if (is_win) {
- defines += [ "NACL_WINDOWS=1" ]
- } else {
- defines += [ "NACL_WINDOWS=0" ]
- }
-
- if (is_linux) {
- defines += [ "NACL_LINUX=1" ]
- } else {
- defines += [ "NACL_LINUX=0" ]
- }
-
- if (is_mac) {
- defines += [ "NACL_OSX=1" ]
- } else {
- defines += [ "NACL_OSX=0" ]
- }
-
- if (current_cpu == "arm") {
- defines += [
- "NACL_BUILD_ARCH=arm",
- "NACL_BUILD_SUBARCH=32",
- ]
- }
-
- if (current_cpu == "mips") {
- defines += [
- "NACL_BUILD_ARCH=mips",
- "NACL_BUILD_SUBARCH=32",
- ]
- }
-
- if (current_cpu == "x86") {
- defines += [
- "NACL_BUILD_ARCH=x86",
- "NACL_BUILD_SUBARCH=32",
- ]
- }
-
- if (current_cpu == "x64") {
- defines += [
- "NACL_BUILD_ARCH=x86",
- "NACL_BUILD_SUBARCH=64",
- ]
- }
}
config("nexe_defines") {