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

Unified Diff: sandbox/win/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 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
Index: sandbox/win/BUILD.gn
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn
index d4d649626d1acfeb920a71176260c5eb2629c7ca..ac87fa5846c3e8b8228131886ba451c6d8d477ca 100644
--- a/sandbox/win/BUILD.gn
+++ b/sandbox/win/BUILD.gn
@@ -135,7 +135,7 @@ source_set("sandbox") {
"src/window.h",
]
- if (cpu_arch == "x64") {
+ if (current_cpu == "x64") {
sources += [
"src/interceptors_64.cc",
"src/interceptors_64.h",
@@ -143,7 +143,7 @@ source_set("sandbox") {
"src/service_resolver_64.cc",
"src/Wow64_64.cc",
]
- } else if (cpu_arch == "x86") {
+ } else if (current_cpu == "x86") {
sources += [
"src/resolver_32.cc",
"src/service_resolver_32.cc",
@@ -164,12 +164,12 @@ source_set("sandbox") {
deps = [
"//base",
]
- if (cpu_arch == "x86") {
+ if (current_cpu == "x86") {
deps += [ ":copy_wow_helper" ]
}
}
-if (cpu_arch == "x86") {
+if (current_cpu == "x86") {
# Make a target that copies the wow_helper files to the out dir.
#
# TODO(brettw) we can probably just build this now that we have proper
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | skia/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698