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

Unified Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp

Issue 152133007: [MIPS] Support for MIPS PNaCl in PPAPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 10 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: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp
diff --git a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp
index e251e3d21942cc06c84766812ecd3b761e0369be..8312d23cfce2bee029ad4b5b8985b51e98cc1519 100644
--- a/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp
+++ b/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp
@@ -3,40 +3,47 @@
# found in the LICENSE file.
{
- 'includes': [
- '../../../../../native_client/build/untrusted.gypi',
- ],
- 'targets': [
- {
- 'target_name': 'pnacl_irt_shim',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libpnacl_irt_shim.a',
- 'out_pnacl_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/>(nlib_target)',
- 'out_pnacl_newlib_x86_32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/>(nlib_target)',
- 'out_pnacl_newlib_x86_64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/>(nlib_target)',
- 'build_glibc': 0,
- 'build_newlib': 0,
- 'build_pnacl_newlib': 1,
- 'pnacl_native_biased': 1,
- 'enable_x86_32': 1,
- 'enable_x86_64': 1,
- 'enable_arm': 1,
- 'sources': [
- 'pnacl_shim.c',
- 'shim_entry.c',
- 'shim_ppapi.c',
- ],
- 'include_dirs': [
- '../../../..',
- ],
- 'extra_args': [
- '--strip-debug',
- ],
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ 'conditions': [
+ ['target_arch!="mipsel"', {
Mark Seaborn 2014/02/20 23:59:04 Why are you excluding the IRT shim on MIPS? This
+ 'includes': [
+ '../../../../../native_client/build/untrusted.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'pnacl_irt_shim',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libpnacl_irt_shim.a',
+ 'out_pnacl_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/>(nlib_target)',
+ 'out_pnacl_newlib_x86_32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/>(nlib_target)',
+ 'out_pnacl_newlib_x86_64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/>(nlib_target)',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ 'pnacl_native_biased': 1,
+ 'enable_x86_32': 1,
+ 'enable_x86_64': 1,
+ 'enable_arm': 1,
+ 'sources': [
+ 'pnacl_shim.c',
+ 'shim_entry.c',
+ 'shim_ppapi.c',
+ ],
+ 'include_dirs': [
+ '../../../..',
+ ],
+ 'extra_args': [
+ '--strip-debug',
+ ],
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
],
},
- ],
+ {
+ 'targets': [],
+ }],
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698