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

Unified Diff: ppapi/native_client/native_client.gyp

Issue 157053008: Removed tls_edit post process rules from nacl_irt (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to master 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/native_client.gyp
diff --git a/ppapi/native_client/native_client.gyp b/ppapi/native_client/native_client.gyp
index ee83999a444fcca64e226c903458f6009f4ba188..d1c579d719dee22cf96f2547c5a419d252921686 100644
--- a/ppapi/native_client/native_client.gyp
+++ b/ppapi/native_client/native_client.gyp
@@ -88,16 +88,16 @@
],
},
{
- 'target_name': 'nacl_irt_raw',
+ 'target_name': 'nacl_irt',
'type': 'none',
'variables': {
- 'nexe_target': 'nacl_irt_raw',
+ 'nexe_target': 'nacl_irt',
# These out_* fields override the default filenames, which
# include a "_newlib" suffix and places them in the target
# directory.
- 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_64_raw.nexe',
- 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_32_raw.nexe',
- 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_arm_raw.nexe',
+ 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_64.nexe',
+ 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_32.nexe',
+ 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_arm.nexe',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 1,
@@ -234,130 +234,6 @@
'../../native_client/src/shared/gio/gio.gyp:gio_lib',
],
},
- {
- 'target_name': 'nacl_irt',
- 'type': 'none',
- 'dependencies': [
- '../../native_client/src/tools/tls_edit/tls_edit.gyp:tls_edit#host',
- 'nacl_irt_raw'
- ],
- 'conditions': [
- ['target_arch=="arm"', {
- 'actions': [
- {
- 'action_name': 'tls_edit_nacl_irt_arm',
- 'message': 'Patching TLS for nacl_irt (arm)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_arm_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_arm.nexe',
- ],
- 'action': ['<@(_inputs)', '<@(_outputs)'],
- },
-
- # The non-stripped nacl_irt debug file must also go through
- # tls_edit, however gyp does not know anything about the
- # debug file since it is built as a side effect. We
- # must depend on the nacl_irt_raw.nexe and use the
- # nacl_irt_raw.nexe.debug file as the input to tls_edit.
- {
- 'action_name': 'tls_edit_nacl_irt_debug_arm',
- 'message': 'Patching TLS for nacl_irt.debug (arm)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_arm_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_arm.nexe.debug',
- ],
- 'action': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_arm_raw.nexe.debug',
- '<@(_outputs)',
- ],
- },
- ],
- }],
- ['target_arch=="x64" or OS=="win"', {
- 'actions': [
- {
- 'action_name': 'tls_edit_nacl_irt_x86_64',
- 'message': 'Patching TLS for nacl_irt (x86-64)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_64_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
- ],
- 'action': ['<@(_inputs)', '<@(_outputs)'],
- },
-
- # The non-stripped nacl_irt debug file must also go through
- # tls_edit, however gyp does not know anything about the
- # debug file since it is built as a side effect. We
- # must depend on the nacl_irt_raw.nexe and use the
- # nacl_irt_raw.nexe.debug file as the input to tls_edit.
- {
- 'action_name': 'tls_edit_nacl_irt_debug_x86_64',
- 'message': 'Patching TLS for nacl_irt.debug (x86-64)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_64_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe.debug',
- ],
- 'action': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_64_raw.nexe.debug',
- '<@(_outputs)',
- ],
- },
- ],
- }],
- ['target_arch=="ia32"', {
- 'actions': [
- {
- 'action_name': 'tls_edit_nacl_irt_x86_32',
- 'message': 'Patching TLS for nacl_irt (x86-32)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_32_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe',
- ],
- 'action': ['<@(_inputs)', '<@(_outputs)'],
- },
-
- # The non-stripped nacl_irt debug file must also go through
- # tls_edit, however gyp does not know anything about the
- # debug file since it is built as a side effect. We
- # must depend on the nacl_irt_raw.nexe and use the
- # nacl_irt_raw.nexe.debug file as the input to tls_edit.
- {
- 'action_name': 'tls_edit_nacl_irt_debug_x86_32',
- 'message': 'Patching TLS for nacl_irt.debug (x86-32)',
- 'inputs': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_32_raw.nexe',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe.debug',
- ],
- 'action': [
- '<(PRODUCT_DIR)/tls_edit',
- '<(SHARED_INTERMEDIATE_DIR)/nacl_irt_x86_32_raw.nexe.debug',
- '<@(_outputs)',
- ],
- },
- ],
- }],
- ],
- },
],
}],
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698