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

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

Issue 9535001: Add validation caching interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Bugfix Created 8 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: src/trusted/validator/build.scons
diff --git a/src/trusted/validator/build.scons b/src/trusted/validator/build.scons
index d8cb9a6146a3df5e0607e03ca89a163e0f2331c7..519a411a3967d6d5d5e7d3409ef0b5bab801e8a4 100644
--- a/src/trusted/validator/build.scons
+++ b/src/trusted/validator/build.scons
@@ -15,3 +15,20 @@ lib_env = env.Clone();
lib_env.Append(CPPPATH=['${TARGET_ROOT}'])
lib_env.ComponentLibrary(lib_env.NaClTargetArchSuffix('ncfileutils'),
['ncfileutil.c'])
+
+
+if env.Bit('target_x86'):
Mark Seaborn 2012/02/29 21:33:34 Add a TODO for ARM.
Nick Bray (chromium) 2012/02/29 22:58:09 Done.
+ gtest_env = env.MakeGTestEnv()
+ validator_libs = [gtest_env.NaClTargetArchSuffix('ncvalidate')]
+
+ validation_cache_test_exe = gtest_env.ComponentProgram(
+ 'validation_cache_test',
+ ['validation_cache_test.cc'],
+ EXTRA_LIBS=validator_libs)
+
+ node = gtest_env.CommandTest(
+ 'validation_cache_test.out',
+ command=[validation_cache_test_exe])
+
+ env.AddNodeToTestSuite(node, ['small_tests', 'validator_tests'],
+ 'run_validation_cache_test')

Powered by Google App Engine
This is Rietveld 408576698