Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: components/nacl/nacl_defines.gni

Issue 908003002: Remove "nacl_defines" from the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/nacl_defines.gni
diff --git a/components/nacl/nacl_defines.gni b/components/nacl/nacl_defines.gni
deleted file mode 100644
index 8d69b16af971934df3c4b617bc769e431d670368..0000000000000000000000000000000000000000
--- a/components/nacl/nacl_defines.gni
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-nacl_defines = []
-if (is_win) {
- nacl_defines += [
- "NACL_WINDOWS=1",
- "NACL_LINUX=0",
- "NACL_OSX=0",
- "NACL_ANDROID=0",
- ]
-} else if (is_linux) {
- nacl_defines += [
- "NACL_WINDOWS=0",
- "NACL_LINUX=1",
- "NACL_OSX=0",
- "NACL_ANDROID=0",
- ]
-} else if (is_mac) {
- nacl_defines += [
- "NACL_WINDOWS=0",
- "NACL_LINUX=0",
- "NACL_OSX=1",
- "NACL_ANDROID=0",
- ]
-}
-
-if (is_android) {
- nacl_defines += [
- "NACL_WINDOWS=0",
- "NACL_LINUX=1",
- "NACL_OSX=0",
- "NACL_ANDROID=1",
- ]
-}
-
-if (cpu_arch == "x86") {
- nacl_defines += [
- "NACL_BUILD_SUBARCH=32",
- "NACL_BUILD_ARCH=x86",
- ]
-} else if (cpu_arch == "x64") {
- nacl_defines += [
- "NACL_BUILD_SUBARCH=64",
- "NACL_BUILD_ARCH=x86",
- ]
-} else if (cpu_arch == "arm") {
- nacl_defines += [
- "NACL_BUILD_ARCH=arm",
- "NACL_BUILD_SUBARCH=32",
- ]
-} else if (cpu_arch == "mipsel") {
- nacl_defines += [
- "NACL_BUILD_ARCH=mips",
- "NACL_BUILD_SUBARCH=32",
- ]
-}
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698