Chromium Code Reviews| Index: ppapi/ppapi_nacl.gyp |
| diff --git a/ppapi/ppapi_nacl.gyp b/ppapi/ppapi_nacl.gyp |
| index bbad95528af93616ddf6cd8ee08409b312f8256a..9ff9798b05e7c50e13359909baf38bfc692c88f4 100644 |
| --- a/ppapi/ppapi_nacl.gyp |
| +++ b/ppapi/ppapi_nacl.gyp |
| @@ -235,7 +235,7 @@ |
| }, |
| ], |
| }], |
| - ['disable_pnacl==0 and (target_arch=="ia32" or target_arch=="arm") and OS=="linux"', { |
| + ['disable_pnacl==0 and (target_arch=="ia32" or target_arch=="x64" or target_arch=="arm") and OS=="linux"', { |
| # In addition to above configuration, build x86-32 and arm nonsfi |
| # .nexe files by translating from .pexe binary, for non-SFI mode PPAPI |
| # testing. |
| @@ -244,7 +244,7 @@ |
| 'nmf_nonsfi%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_nonsfi.nmf', |
| }, |
| 'conditions': [ |
| - ['target_arch=="ia32"', { |
| + ['target_arch=="ia32" or target_arch=="x64"', { |
| 'variables': { |
| 'enable_x86_32_nonsfi': 1, |
| }, |
| @@ -270,17 +270,26 @@ |
| '--output=>(nmf_nonsfi)', |
| ], |
| 'target_conditions': [ |
| - ['enable_x86_32_nonsfi==1', { |
| + ['enable_x86_32_nonsfi==1 and "<(target_arch)"=="ia32"', { |
|
Mark Seaborn
2015/01/17 00:50:47
Can this be
target_arch=="ia32"
rather than
"<
hidehiko
2015/01/28 15:04:16
target_arch is not defined at the moment. Pls see
|
| + 'inputs': ['>(out_pnacl_newlib_x86_32_nonsfi_nexe)'], |
| 'action': [ |
| '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)', |
| '--arch=x86-32', |
| - ], |
| + ] |
| + }], |
| + ['enable_x86_32_nonsfi==1 and "<(target_arch)"=="x64"', { |
| + 'inputs': ['>(out_pnacl_newlib_x86_32_nonsfi_nexe)'], |
| + 'action': [ |
| + '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)', |
| + '--arch=x86-64', |
|
Mark Seaborn
2015/01/17 00:50:47
Shouldn't this be x86-32?
We shouldn't need to ha
hidehiko
2015/01/28 15:04:16
I thought, the arch in the program section of nmf
Mark Seaborn
2015/01/28 21:51:04
The arch key of an NMF entry is supposed to corres
hidehiko
2015/01/29 14:43:12
I see.
I look into it, but fallback logic applyin
|
| + ] |
| }], |
| ['enable_arm_nonsfi==1', { |
| + 'inputs': ['>(out_pnacl_newlib_arm_nonsfi_nexe)'], |
| 'action': [ |
| '--program=>(out_pnacl_newlib_arm_nonsfi_nexe)', |
| '--arch=arm', |
| - ], |
| + ] |
| }], |
| ], |
| }, |