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

Unified Diff: build/config/nacl/BUILD.gn

Issue 1434823002: Build NaCl browser tests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | chrome/test/BUILD.gn » ('j') | chrome/test/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/nacl/BUILD.gn
diff --git a/build/config/nacl/BUILD.gn b/build/config/nacl/BUILD.gn
index 217494fb1ba5aeb1cbe1ddd0d16b31f56dc40dbc..ddd5b4ff262e1087754533a3e81c06426f483215 100644
--- a/build/config/nacl/BUILD.gn
+++ b/build/config/nacl/BUILD.gn
@@ -16,6 +16,10 @@ config("nacl_defines") {
} else if (is_win) {
defines = [ "__STDC_LIMIT_MACROS=1" ]
}
+
+ if (current_cpu == "pnacl" && !is_nacl_nonsfi) {
+ defines += [ "NACL_BUILD_ARCH=pnacl" ]
Roland McGrath 2015/11/11 06:22:44 What needs this? I thought we'd changed the code
Petr Hosek 2015/11/13 22:18:32 PNaCl tests which depend on //native_client/src/sh
+ }
}
config("nexe_defines") {
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | chrome/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698