Chromium Code Reviews| Index: ppapi/ppapi_nacl_test_common.gypi |
| diff --git a/ppapi/ppapi_nacl_test_common.gypi b/ppapi/ppapi_nacl_test_common.gypi |
| index 0d9b676884821509868a0cb8600822b1f6d9e91c..4f029521de5a5b3f95fbd950b97b3c708e384fdb 100644 |
| --- a/ppapi/ppapi_nacl_test_common.gypi |
| +++ b/ppapi/ppapi_nacl_test_common.gypi |
| @@ -35,6 +35,7 @@ |
| 'out_pnacl_newlib%': '>(nacl_pnacl_newlib_out_dir)/>(nexe_target)_newlib_pnacl.pexe', |
| 'nmf_pnacl_newlib%': '>(nacl_pnacl_newlib_out_dir)/>(nexe_target).nmf', |
| 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(nacl_pnacl_newlib_nonsfi_out_dir)/>(nexe_target)_pnacl_newlib_x32_nonsfi.nexe', |
| + 'nmf_pnacl_newlib_nonsfi%': '>(nacl_pnacl_newlib_nonsfi_out_dir)/>(nexe_target).nmf', |
| }], |
| ], |
| }, |
| @@ -64,8 +65,8 @@ |
| }, |
| ], |
| }], |
| - # Nonsfi pnacl copy is covered below. Currently, these are exclusive. |
| - ['test_files!=[] and build_pnacl_newlib==1 and disable_pnacl==0 and enable_x86_32_nonsfi==0', { |
| + # Nonsfi pnacl copy is covered below. |
| + ['test_files!=[] and build_pnacl_newlib==1 and disable_pnacl==0 and (enable_x86_32==1 or enable_x86_64==1 or enable_arm==1 or enable_mips==1)', { |
|
Mark Seaborn
2014/05/19 18:55:29
Can you assume that "enable_x86_32==1 or enable_x8
hidehiko
2014/05/20 05:51:47
Acknowledged.
|
| 'copies': [ |
| { |
| 'destination': '>(nacl_pnacl_newlib_out_dir)', |
| @@ -106,6 +107,7 @@ |
| ], |
| 'create_nmf': '<(DEPTH)/native_client_sdk/src/tools/create_nmf.py', |
| 'create_nmf_args_portable%': [], |
| + 'create_nonsfi_test_nmf': '<(DEPTH)/ppapi/tests/create_nonsfi_test_nmf.py', |
| }, |
| 'target_conditions': [ |
| ['generate_nmf==1 and build_newlib==1', { |
| @@ -188,7 +190,7 @@ |
| }, |
| ], |
| }], |
| - ['generate_nmf==1 and build_pnacl_newlib==1 and disable_pnacl==0', { |
| + ['generate_nmf==1 and build_pnacl_newlib==1 and disable_pnacl==0 and (enable_x86_32==1 or enable_x86_64==1 or enable_arm==1 or enable_mips==1)', { |
|
Mark Seaborn
2014/05/19 18:55:29
I don't understand the reason for changing this.
hidehiko
2014/05/20 05:51:47
Conceptually, we should, for irt_manifest_file, if
Mark Seaborn
2014/05/21 00:08:39
...
hidehiko
2014/05/21 13:25:32
Seems like we want to control sfi glibc and sfi ne
|
| 'actions': [ |
| { |
| 'action_name': 'Generate PNACL NEWLIB NMF', |
| @@ -206,6 +208,26 @@ |
| }, |
| ], |
| }], |
| + ['generate_nmf==1 and build_pnacl_newlib==1 and disable_pnacl==0 and enable_x86_32_nonsfi', { |
|
Mark Seaborn
2014/05/19 18:55:29
Should this have "enable_x86_32_nonsfi==1" (add "=
hidehiko
2014/05/20 05:51:47
Done.
|
| + 'actions': [ |
| + { |
| + 'action_name': 'Generate PNACL NEWLIB nonsfi NMF', |
| + # If we support arm, we should split the dependency to |
|
Mark Seaborn
2014/05/19 18:55:29
Nit: "If we add support for ARM"? "dependency on"
hidehiko
2014/05/20 05:51:47
Done.
|
| + # out_pnacl_newlib_x86_32_nonsfi_nexe to 'target_conditions', |
| + # similar to build_newlib=1 config declared above. |
| + 'inputs': ['>(create_nonsfi_test_nmf)', |
| + '>(out_pnacl_newlib_x86_32_nonsfi_nexe)'], |
| + 'outputs': ['>(nmf_pnacl_newlib_nonsfi)'], |
| + 'action': [ |
| + 'python', |
| + '>(create_nonsfi_test_nmf)', |
| + '--output=>(nmf_pnacl_newlib_nonsfi)', |
| + '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)', |
| + '>@(create_nmf_args_portable)' |
| + ], |
| + }, |
| + ], |
| + }], |
| ], |
| }], |
| ], |