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

Unified Diff: ppapi/ppapi_nacl.gyp

Issue 302533007: Add .nmf generating rule for ppapi_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/ppapi_nacl.gyp
diff --git a/ppapi/ppapi_nacl.gyp b/ppapi/ppapi_nacl.gyp
index 18537802a562e2ca556408836724e53e6cae662a..60ce912a4895d09134174664cbe3adb02fba3f56 100644
--- a/ppapi/ppapi_nacl.gyp
+++ b/ppapi/ppapi_nacl.gyp
@@ -74,7 +74,7 @@
# We compile with --strip-all under extra_args so debug info is
# discarded anyway. Remove this and the --strip-all flag if
# debug info is really needed.
- 'compile_flags!': [
+ 'compile_flags!': [
'-g',
],
'defines': [
@@ -135,6 +135,7 @@
'--strip-all',
],
'create_nmf': '<(DEPTH)/native_client_sdk/src/tools/create_nmf.py',
+ 'create_nonsfi_test_nmf': 'tests/create_nonsfi_test_nmf.py',
},
'conditions': [
['target_arch!="arm" and target_arch!="mipsel" and disable_glibc==0', {
@@ -212,7 +213,21 @@
# by translating from .pexe binary, for non-SFI mode PPAPI testing.
'variables': {
'enable_x86_32_nonsfi': 1,
+ 'nmf_nonsfi%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_nonsfi.nmf',
},
+ 'actions': [
+ {
+ 'action_name': 'Generate PNACL NEWLIB NONSFI NMF',
+ 'inputs': ['>(create_nonsfi_test_nmf)'],
+ 'outputs': ['>(nmf_nonsfi)'],
+ 'action': [
+ 'python',
+ '>(create_nonsfi_test_nmf)',
+ '--output=>(nmf_nonsfi)',
+ '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)',
+ ],
+ },
+ ],
}],
['disable_pnacl==0 and target_arch=="arm"', {
'variables': {
« no previous file with comments | « no previous file | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698