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

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

Issue 9430028: Add function for generating validation signatures. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixes 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
« no previous file with comments | « SConstruct ('k') | src/trusted/validator/caching/hashing_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/caching/build.scons
diff --git a/src/trusted/validator/caching/build.scons b/src/trusted/validator/caching/build.scons
new file mode 100644
index 0000000000000000000000000000000000000000..a0f8f7ca1abc0e5f4134abbf36fd65a9e6a525c8
--- /dev/null
+++ b/src/trusted/validator/caching/build.scons
@@ -0,0 +1,30 @@
+# -*- python -*-
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+Import('env')
+
+gtest_env = env.MakeGTestEnv()
+
+if env.Bit('target_x86'):
+ validator_libs = [gtest_env.NaClTargetArchSuffix('ncval_base')]
+else:
+ validator_libs = ['arm_validator_core']
+
+gtest_env.Append(CPPPATH=[
+ '${SCONSTRUCT_DIR}/../third_party/openssl',
+ '${SCONSTRUCT_DIR}/../third_party/openssl/openssl/crypto'])
+
+validation_caching_test_exe = gtest_env.ComponentProgram(
+ 'validation_caching_test',
+ ['validation_caching_test.cc',
+ 'validation_signature.cc',
+ '${SCONSTRUCT_DIR}/../third_party/openssl/openssl/crypto/sha/sha256.c'],
+ EXTRA_LIBS=validator_libs)
+
+node = gtest_env.CommandTest(
+ 'validation_caching_test.out',
+ command=[validation_caching_test_exe])
+
+env.AddNodeToTestSuite(node, ['small_tests'], 'run_validation_caching_test')
« no previous file with comments | « SConstruct ('k') | src/trusted/validator/caching/hashing_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698