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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « SConstruct ('k') | src/trusted/validator/caching/hashing_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 Import('env')
7
8 gtest_env = env.MakeGTestEnv()
9
10 if env.Bit('target_x86'):
11 validator_libs = [gtest_env.NaClTargetArchSuffix('ncval_base')]
12 else:
13 validator_libs = ['arm_validator_core']
14
15 gtest_env.Append(CPPPATH=[
16 '${SCONSTRUCT_DIR}/../third_party/openssl',
17 '${SCONSTRUCT_DIR}/../third_party/openssl/openssl/crypto'])
18
19 validation_caching_test_exe = gtest_env.ComponentProgram(
20 'validation_caching_test',
21 ['validation_caching_test.cc',
22 'validation_signature.cc',
23 '${SCONSTRUCT_DIR}/../third_party/openssl/openssl/crypto/sha/sha256.c'],
24 EXTRA_LIBS=validator_libs)
25
26 node = gtest_env.CommandTest(
27 'validation_caching_test.out',
28 command=[validation_caching_test_exe])
29
30 env.AddNodeToTestSuite(node, ['small_tests'], 'run_validation_caching_test')
OLDNEW
« 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