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

Unified Diff: src/trusted/cpu_features/build.scons

Issue 758223003: Cleanup: Use Bit('build_ARCH') instead of Bit('target_ARCH') (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix + simplify Created 6 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 | « src/nonsfi/linux/nacl.scons ('k') | src/trusted/platform_qualify/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/cpu_features/build.scons
diff --git a/src/trusted/cpu_features/build.scons b/src/trusted/cpu_features/build.scons
index e2039d3bbfa37ced7fb0a85e8217b342798e3ec0..fe8f4b17f31c451a975054d6f4ec930295940ffa 100644
--- a/src/trusted/cpu_features/build.scons
+++ b/src/trusted/cpu_features/build.scons
@@ -16,14 +16,14 @@ sources = ['arch/arm/cpu_arm.c',
# hosts. ARM and MIPS don't ahve these problems as of today because they
# don't actually query their CPU.
# Do the same in the gyp build.
-if env.Bit('target_x86'):
+if env.Bit('build_x86'):
sources += ['arch/x86/cpu_x86.c',
'arch/x86/cpu_xgetbv.S']
env.ComponentLibrary('cpu_features', sources)
# TODO(jfb) Also test ARM and MIPS.
-if env.Bit('target_x86'):
+if env.Bit('build_x86'):
# Create environment for command-line tools and testing, rather than
# part of the TCB. Then define compile-time flag that communicates
# that we are compiling in the test environment (rather than for the TCB).
« no previous file with comments | « src/nonsfi/linux/nacl.scons ('k') | src/trusted/platform_qualify/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698