summaryrefslogtreecommitdiffstats
path: root/chrome/nacl.gypi
diff options
context:
space:
mode:
authorncbray@google.com <ncbray@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 00:04:36 +0000
committerncbray@google.com <ncbray@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-17 00:04:36 +0000
commit2121caa6462d67a8cc37aa9318ea05891fdcef65 (patch)
tree7373a2ad1fbed29dfcb8557d1fa16d0c2fc86138 /chrome/nacl.gypi
parentf94d4ccdc558d078fe913f190939766a26786fcb (diff)
downloadchromium_src-2121caa6462d67a8cc37aa9318ea05891fdcef65.zip
chromium_src-2121caa6462d67a8cc37aa9318ea05891fdcef65.tar.gz
chromium_src-2121caa6462d67a8cc37aa9318ea05891fdcef65.tar.bz2
Add the first part of Chrome-side support for NaCl validation caching.
This code injects a validation caching implementation into sel_ldr that hashes all of the data it is given and then queries against a stub database. The stub database returns whatever value is specified in the NACL_VALIDATION_RESULT env var for all validation requests. This code is inactive in Chrome unless NACL_VALIDATION_CACHE=1 is set in the environment. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2515 TEST= unit_tests --gtest_filter=NaClValidationQueryTest* Review URL: https://chromiumcodereview.appspot.com/9553009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl.gypi')
-rw-r--r--chrome/nacl.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/nacl.gypi b/chrome/nacl.gypi
index b73c3f7..f34c7bd 100644
--- a/chrome/nacl.gypi
+++ b/chrome/nacl.gypi
@@ -31,6 +31,9 @@
'nacl/nacl_main_platform_delegate_win.cc',
'nacl/nacl_listener.cc',
'nacl/nacl_listener.h',
+ 'nacl/nacl_validation_db.h',
+ 'nacl/nacl_validation_query.cc',
+ 'nacl/nacl_validation_query.h',
],
# TODO(gregoryd): consider switching NaCl to use Chrome OS defines
'conditions': [
@@ -133,6 +136,7 @@
'..',
],
'dependencies': [
+ '../crypto/crypto.gyp:crypto',
'nacl',
],
'sources': [