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

Unified Diff: chrome/test/data/nacl/nacl_test_data.gyp

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear tokens too Created 6 years, 7 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: chrome/test/data/nacl/nacl_test_data.gyp
diff --git a/chrome/test/data/nacl/nacl_test_data.gyp b/chrome/test/data/nacl/nacl_test_data.gyp
index 589a12fb891a062275ec61d4e326984f4605e856..b6769665e61ab3774532fff7c95751831b4b8add 100644
--- a/chrome/test/data/nacl/nacl_test_data.gyp
+++ b/chrome/test/data/nacl/nacl_test_data.gyp
@@ -70,6 +70,37 @@
},
},
{
+ 'target_name': 'extension_validation_cache',
+ 'type': 'none',
+ 'variables': {
+ 'nexe_target': 'extension_validation_cache',
+ 'build_newlib': 1,
+ 'build_glibc': 0,
teravest 2014/05/21 16:49:42 Are you only building newlib just to make testing
jvoung (off chromium) 2014/05/21 21:10:56 No it's not just the testing time. There are some
+ 'build_pnacl_newlib': 0,
+ # Need a new directory to not clash with with other extension
+ # tests's files (e.g., manifest.json).
+ 'nexe_destination_dir': 'nacl_test_data/extension_vcache_test',
+ 'sources': [
+ 'simple.cc',
+ ],
+ 'test_files': [
+ # TODO(ncbray) move into chrome/test/data/nacl when all tests are
+ # converted.
+ '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltest.js',
+ 'extension_validation_cache/extension_validation_cache.html',
+ 'extension_validation_cache/extension_validation_cache.js',
+ # Turns the test data directory into an extension.
+ # Use a different nexe_destination_dir to isolate the files.
+ # Note that the .nexe names are embedded in this file.
+ 'extension_validation_cache/manifest.json',
+ 'load_util.js',
+ ],
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
+ {
'target_name': 'sysconf_nprocessors_onln_test',
'type': 'none',
'variables': {

Powered by Google App Engine
This is Rietveld 408576698