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

Unified Diff: src/trusted/validator_ragel/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/trusted/validator_arm/build.scons ('k') | src/trusted/validator_x86/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_ragel/build.scons
diff --git a/src/trusted/validator_ragel/build.scons b/src/trusted/validator_ragel/build.scons
index 84cdb464f87b42a446446d473f9ec487f0ff9e04..101acdf067e4bb85d7fd2e7153650d7fd1d324f5 100644
--- a/src/trusted/validator_ragel/build.scons
+++ b/src/trusted/validator_ragel/build.scons
@@ -47,7 +47,7 @@ features = [
# Glue library called from service runtime. The source file depends on the
# target architecture. In library_deps.py this library is marked as
# dependant of dfa_validate_x86_xx.
-if env.Bit('target_x86'):
+if env.Bit('build_x86'):
caller_lib = 'dfa_validate_caller_x86_%s' % env.get('TARGET_SUBARCH')
env.ComponentLibrary(
caller_lib,
@@ -499,7 +499,7 @@ for bits in ['32', '64']:
else:
update_option = []
- if env.Bit('target_x86'):
+ if env.Bit('build_x86'):
# In principle we can run these tests on ARM too, but first, there is no
# reason to, and second, there are problems with those bots that build
# on one machine and run tests on another (build machine does not recognize
@@ -560,5 +560,5 @@ for bits in ['32', '64']:
# Spec test uses @dis section in test files, which in turn is updated
# by dis_section_test.
- if env.Bit('target_x86'):
+ if env.Bit('build_x86'):
env.Depends(spec_test, dis_section_test)
« no previous file with comments | « src/trusted/validator_arm/build.scons ('k') | src/trusted/validator_x86/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698