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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp

Issue 1681413002: Build the browser IRT shim with nacl-clang instead of biased bitcode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/pnacl_support_extension/pnacl_support_extension.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 '../../../../../native_client/build/untrusted.gypi', 7 '../../../../../native_client/build/untrusted.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
11 # The full library, which PNaCl uses for offline .pexe -> .nexe. 11 # The full library, which PNaCl uses for offline .pexe -> .nexe.
12 # We keep the target names in this file short to avoid having really long 12 # We keep the target names in this file short to avoid having really long
13 # path names on Windows. 13 # path names on Windows.
14 # https://code.google.com/p/nativeclient/issues/detail?id=3846 14 # https://code.google.com/p/nativeclient/issues/detail?id=3846
15 'target_name': 'aot', 15 'target_name': 'aot',
16 'type': 'none', 16 'type': 'none',
17 'variables': { 17 'variables': {
18 'nlib_target': 'libpnacl_irt_shim.a', 18 'nlib_target': 'libpnacl_irt_shim.a',
19 'out_pnacl_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/>(nlib_ta rget)', 19 'out_pnacl_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/>(nlib_ta rget)',
20 'out_pnacl_newlib_x86_32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/>(n lib_target)', 20 'out_pnacl_newlib_x86_32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/>(n lib_target)',
21 'out_pnacl_newlib_x86_64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/>(n lib_target)', 21 'out_pnacl_newlib_x86_64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/>(n lib_target)',
22 'out_pnacl_newlib_mips': '>(tc_lib_dir_pnacl_translate)/lib-mips32/>(nli b_target)', 22 'out_pnacl_newlib_mips': '>(tc_lib_dir_pnacl_translate)/lib-mips32/>(nli b_target)',
23 # TODO(hidehiko): When crrev.com/524573002 is submitted and NaCl 23 # TODO(hidehiko): When crrev.com/524573002 is submitted and NaCl
24 # repository is rolled out with the CL, then we can simply remove this 24 # repository is rolled out with the CL, then we can simply remove this
25 # variable, as it is no longer used. 25 # variable, as it is no longer used.
26 'out_pnacl_newlib_x86_32_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-x86 -32-nonsfi/>(nlib_target)', 26 'out_pnacl_newlib_x86_32_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-x86 -32-nonsfi/>(nlib_target)',
27 'out_newlib32_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-x86-32-nonsfi/ >(nlib_target)', 27 'out_newlib32_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-x86-32-nonsfi/ >(nlib_target)',
28 'out_pnacl_newlib_arm_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-arm-no nsfi/>(nlib_target)', 28 'out_pnacl_newlib_arm_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-arm-no nsfi/>(nlib_target)',
29 'out_newlib_arm_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-arm-nonsfi/> (nlib_target)', 29 'out_newlib_arm_nonsfi': '>(tc_lib_dir_pnacl_translate)/lib-arm-nonsfi/> (nlib_target)',
30 'build_glibc': 0,
31 'build_newlib': 0,
32 'build_pnacl_newlib': 1, 30 'build_pnacl_newlib': 1,
33 'pnacl_native_biased': 1, 31 'pnacl_native_biased': 1,
Derek Schuff 2016/02/09 22:58:34 This target is just used by the SDK, right?
34 'enable_x86_32': 1, 32 'enable_x86_32': 1,
35 'enable_x86_64': 1, 33 'enable_x86_64': 1,
36 'enable_arm': 1, 34 'enable_arm': 1,
37 'enable_mips': 1, 35 'enable_mips': 1,
38 'enable_x86_32_nonsfi': 1, 36 'enable_x86_32_nonsfi': 1,
39 'enable_arm_nonsfi': 1, 37 'enable_arm_nonsfi': 1,
40 'sources': [ 38 'sources': [
41 'irt_shim_ppapi.c', 39 'irt_shim_ppapi.c',
42 'pnacl_shim.c', 40 'pnacl_shim.c',
43 'shim_entry.c', 41 'shim_entry.c',
(...skipping 14 matching lines...) Expand all
58 # If we ever change that hook interface or change the in-IRT shim's ABI, 56 # If we ever change that hook interface or change the in-IRT shim's ABI,
59 # we would need to clear the translation cache to match the new IRT. 57 # we would need to clear the translation cache to match the new IRT.
60 { 58 {
61 'target_name': 'browser', 59 'target_name': 'browser',
62 'type': 'none', 60 'type': 'none',
63 'variables': { 61 'variables': {
64 # Use a different name from the AOT variant. Have the 62 # Use a different name from the AOT variant. Have the
65 # pnacl_support_extension rename this to the canonical name when 63 # pnacl_support_extension rename this to the canonical name when
66 # copying to the final target directory. 64 # copying to the final target directory.
67 'nlib_target': 'libpnacl_irt_shim_browser.a', 65 'nlib_target': 'libpnacl_irt_shim_browser.a',
68 'out_pnacl_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/>(nlib_ta rget)', 66 'build_newlib': 1,
69 'out_pnacl_newlib_x86_32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/>(n lib_target)',
70 'out_pnacl_newlib_x86_64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/>(n lib_target)',
71 'out_pnacl_newlib_mips': '>(tc_lib_dir_pnacl_translate)/lib-mips32/>(nli b_target)',
72 'build_glibc': 0,
73 'build_newlib': 0,
74 'build_pnacl_newlib': 1,
75 'pnacl_native_biased': 1,
76 'enable_x86_32': 1,
77 'enable_x86_64': 1,
78 'enable_arm': 1,
79 'enable_mips': 1,
80 'sources': [ 67 'sources': [
81 'shim_entry.c', 68 'shim_entry.c',
82 'shim_ppapi.c', 69 'shim_ppapi.c',
83 ], 70 ],
84 'extra_args': [ 71 'extra_args': [
85 '--strip-debug', 72 '--strip-debug',
86 ], 73 ],
87 }, 74 },
88 }, 75 },
89 { 76 {
(...skipping 10 matching lines...) Expand all
100 # output library directories match the IRT linking search paths. 87 # output library directories match the IRT linking search paths.
101 'build_irt': 1, 88 'build_irt': 1,
102 'sources': [ 89 'sources': [
103 'irt_shim_ppapi.c', 90 'irt_shim_ppapi.c',
104 'pnacl_shim.c', 91 'pnacl_shim.c',
105 ], 92 ],
106 }, 93 },
107 }, 94 },
108 ], 95 ],
109 } 96 }
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/pnacl_support_extension/pnacl_support_extension.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698