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

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: concat filepath literal 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..3267320047115e69f34c91c8a9127111a8387e83 100644
--- a/chrome/test/data/nacl/nacl_test_data.gyp
+++ b/chrome/test/data/nacl/nacl_test_data.gyp
@@ -70,6 +70,40 @@
},
},
{
+ 'target_name': 'extension_validation_cache',
+ 'type': 'none',
+ 'variables': {
+ 'nexe_target': 'extension_validation_cache',
+ # The test currently only has the test expectations for the
+ # newlib case (# validation queries/settings), and has also
+ # hardcoded the newlib variant's directory path for the unpacked ext.
+ 'build_newlib': 1,
+ 'build_glibc': 0,
+ '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': {
« no previous file with comments | « chrome/test/data/nacl/extension_validation_cache/manifest.json ('k') | chrome/test/nacl/nacl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698