Remove extra line from unit_tests.isolate
[chromium-blink-merge.git] / ppapi / native_client / native_client.gyp
blobbe2e727fccfa3e8908ffc2e57b4c85aa44de8e23
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
3 # found in the LICENSE file.
6   'includes': [
7     '../../build/common_untrusted.gypi',
8   ],
9   'conditions': [
10     ['disable_nacl==0 and disable_nacl_untrusted==0', {
11       'targets': [
12         {
13           'target_name': 'ppapi_lib',
14           'type': 'none',
15           'dependencies': [
16              '../../native_client/src/untrusted/pthread/pthread.gyp:pthread_lib',
17              'src/untrusted/irt_stub/irt_stub.gyp:ppapi_stub_lib',
18           ],
19           'include_dirs': [
20             '..',
21           ],
22           'copies': [
23             {
24               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/include/nacl',
25               'files': [
26                 'src/trusted/weak_ref/call_on_main_thread.h',
27                 'src/shared/ppapi_proxy/ppruntime.h',
28               ],
29             },
30             {
31               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/include/nacl',
32               'files': [
33                 'src/trusted/weak_ref/call_on_main_thread.h',
34                 'src/shared/ppapi_proxy/ppruntime.h',
35               ],
36             },
37             # Here we copy linker scripts out of the Native Client repository.
38             # These are source, not build artifacts.
39             {
40               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32',
41               'files': [
42                   'src/untrusted/irt_stub/libppapi.a',
43               ],
44             },
45             {
46               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64',
47               'files': [
48                   'src/untrusted/irt_stub/libppapi.a',
49               ],
50             },
51             {
52               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32',
53               'files': [
54                   'src/untrusted/irt_stub/libppapi.a',
55                   'src/untrusted/irt_stub/libppapi.so',
56               ],
57             },
58             {
59               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64',
60               'files': [
61                   'src/untrusted/irt_stub/libppapi.a',
62                   'src/untrusted/irt_stub/libppapi.so',
63               ],
64             },
65             {
66               'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm',
67               'files': [
68                 'src/untrusted/irt_stub/libppapi.a',
69               ],
70             },
71           ],
72         },
73         {
74           'target_name': 'nacl_irt',
75           'type': 'none',
76           'variables': {
77             'nexe_target': 'nacl_irt',
78             # These out_* fields override the default filenames, which
79             # include a "_newlib" suffix.
80             'out_newlib64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
81             'out_newlib32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe',
82             'out_newlib_arm': '<(PRODUCT_DIR)/nacl_irt_arm.nexe',
83             'build_glibc': 0,
84             'build_newlib': 1,
85             'include_dirs': [
86               'lib/gl/include',
87               '..',
88             ],
89             'link_flags': [
90               '-Wl,--start-group',
91               '-lirt_browser',
92               '-lppruntime',
93               '-lsrpc',
94               '-limc_syscalls',
95               '-lplatform',
96               '-lbase_untrusted',
97               '-lshared_memory_support_untrusted',
98               '-lgio',
99               '-Wl,--end-group',
100               '-lm',
101             ],
102             # See http://code.google.com/p/nativeclient/issues/detail?id=2691.
103             # The PNaCl linker (gold) does not implement the "-Ttext-segment"
104             # option.  However, with the linker for x86, the "-Ttext" option
105             # does not affect the executable's base address.
106             # TODO(olonho): simplify flags handling and avoid duplication
107             # with NaCl logic.
108             'conditions': [
109               ['target_arch!="arm"',
110                {
111                  'sources': [
112                  ],
113                  'link_flags': [
114                    '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
115                    '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
116                  ]
117                }, { # target_arch == "arm"
118                  # TODO(mcgrathr): This knowledge really belongs in
119                  # native_client/src/untrusted/irt/irt.gyp instead of here.
120                  # But that builds libirt_browser.a as bitcode, so a native
121                  # object does not fit happily there.
122                  'sources': [
123                    '../../native_client/src/untrusted/irt/aeabi_read_tp.S',
124                  ],
125                  'link_flags': [
126                    '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
127                    '-Wl,-Ttext=<(NACL_IRT_TEXT_START)',
128                    '--pnacl-allow-native',
129                    '-arch', 'arm',
130                    '-Wt,-mtls-use-call',
131                  ],
132                },
133              ],
134             ],
135             'extra_args': [
136               '--strip-debug',
137             ],
138             # TODO(bradchen): get rid of extra_deps64 and extra_deps32
139             # once native_client/build/untrusted.gypi no longer needs them.
140             'extra_deps64': [
141               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppruntime.a',
142               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libbase_untrusted.a',
143               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libirt_browser.a',
144               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libshared_memory_support_untrusted.a',
145               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libsrpc.a',
146               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libplatform.a',
147               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libimc_syscalls.a',
148               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgio.a',
149             ],
150             'extra_deps32': [
151               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppruntime.a',
152               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libbase_untrusted.a',
153               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libirt_browser.a',
154               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libshared_memory_support_untrusted.a',
155               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libsrpc.a',
156               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libplatform.a',
157               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libimc_syscalls.a',
158               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgio.a',
159             ],
160             'extra_deps_newlib64': [
161               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppruntime.a',
162               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libbase_untrusted.a',
163               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libirt_browser.a',
164               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libshared_memory_support_untrusted.a',
165               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libsrpc.a',
166               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libplatform.a',
167               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libimc_syscalls.a',
168               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgio.a',
169             ],
170             'extra_deps_newlib32': [
171               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppruntime.a',
172               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libbase_untrusted.a',
173               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libirt_browser.a',
174               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libshared_memory_support_untrusted.a',
175               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libsrpc.a',
176               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libplatform.a',
177               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libimc_syscalls.a',
178               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgio.a',
179             ],
180             'extra_deps_glibc64': [
181               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppruntime.a',
182               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libbase_untrusted.a',
183               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libirt_browser.a',
184               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libshared_memory_support_untrusted.a',
185               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libsrpc.a',
186               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libplatform.a',
187               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libimc_syscalls.a',
188               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgio.a',
189             ],
190             'extra_deps_glibc32': [
191               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppruntime.a',
192               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libbase_untrusted.a',
193               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libirt_browser.a',
194               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libshared_memory_support_untrusted.a',
195               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libsrpc.a',
196               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libplatform.a',
197               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libimc_syscalls.a',
198               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgio.a',
199             ],
200             'extra_deps_arm': [
201               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppruntime.a',
202               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libbase_untrusted.a',
203               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libirt_browser.a',
204               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libshared_memory_support_untrusted.a',
205               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libsrpc.a',
206               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libplatform.a',
207               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libimc_syscalls.a',
208               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgio.a',
209             ],
210           },
211           'dependencies': [
212             'src/shared/ppapi_proxy/ppapi_proxy_untrusted.gyp:ppruntime_lib',
213             '../../base/base_untrusted.gyp:base_untrusted',
214             '../../media/media_untrusted.gyp:shared_memory_support_untrusted',
215             '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib',
216             '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib',
217             '../../native_client/src/shared/platform/platform.gyp:platform_lib',
218             '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
219             '../../native_client/src/shared/gio/gio.gyp:gio_lib',
220           ],
221         },
222         {
223           'target_name': 'nacl_ipc_irt',
224           'type': 'none',
225           'variables': {
226             'nexe_target': 'nacl_ipc_irt',
227             # These out_* fields override the default filenames, which
228             # include a "_newlib" suffix.
229             'out_newlib64': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_64.nexe',
230             'out_newlib32': '<(PRODUCT_DIR)/nacl_ipc_irt_x86_32.nexe',
231             'out_newlib_arm': '<(PRODUCT_DIR)/nacl_ipc_irt_arm.nexe',
232             'build_glibc': 0,
233             'build_newlib': 1,
234             'include_dirs': [
235               'lib/gl/include',
236               '..',
237             ],
238             'link_flags': [
239               '-Wl,--start-group',
240               '-lirt_browser',
241               '-lppapi_proxy_untrusted',
242               '-lppapi_ipc_untrusted',
243               '-lppapi_shared_untrusted',
244               '-lgles2_implementation_untrusted',
245               '-lgles2_cmd_helper_untrusted',
246               '-lgles2_utils_untrusted',
247               '-lcommand_buffer_client_untrusted',
248               '-lcommand_buffer_common_untrusted',
249               '-lgpu_ipc_untrusted',
250               '-lipc_untrusted',
251               '-lbase_untrusted',
252               '-lshared_memory_support_untrusted',
253               '-lsrpc',
254               '-limc_syscalls',
255               '-lplatform',
256               '-lgio',
257               '-Wl,--end-group',
258               '-lm',
259             ],
260             # See http://code.google.com/p/nativeclient/issues/detail?id=2691.
261             # The PNaCl linker (gold) does not implement the "-Ttext-segment"
262             # option.  However, with the linker for x86, the "-Ttext" option
263             # does not affect the executable's base address.
264             # TODO(olonho): simplify flags handling and avoid duplication
265             # with NaCl logic.
266             'conditions': [
267               ['target_arch!="arm"',
268                {
269                  'link_flags': [
270                    '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
271                    '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
272                  ]
273                }, { # target_arch == "arm"
274                  'link_flags': [
275                    '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
276                    '-Wl,-Ttext=<(NACL_IRT_TEXT_START)',
277                    '--pnacl-allow-native',
278                    '-arch', 'arm',
279                    '-Wt,-mtls-use-call',
280                  ],
281                },
282              ],
283             ],
284             'sources': [
285             ],
286             'extra_args': [
287               '--strip-debug',
288             ],
289             # TODO(bradchen): get rid of extra_deps64 and extra_deps32
290             # once native_client/build/untrusted.gypi no longer needs them.
291             'extra_deps64': [
292               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_proxy_untrusted.a',
293               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_ipc_untrusted.a',
294               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_shared_untrusted.a',
295               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_implementation_untrusted.a',
296               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libcommand_buffer_client_untrusted.a',
297               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libcommand_buffer_common_untrusted.a',
298               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgpu_ipc_untrusted.a',
299               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_cmd_helper_untrusted.a',
300               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_utils_untrusted.a',
301               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libipc_untrusted.a',
302               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libbase_untrusted.a',
303               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libirt_browser.a',
304               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libshared_memory_support_untrusted.a',
305               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libsrpc.a',
306               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libplatform.a',
307               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libimc_syscalls.a',
308               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgio.a',
309             ],
310             'extra_deps32': [
311               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_proxy_untrusted.a',
312               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_ipc_untrusted.a',
313               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_shared_untrusted.a',
314               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_implementation_untrusted.a',
315               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libcommand_buffer_client_untrusted.a',
316               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libcommand_buffer_common_untrusted.a',
317               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgpu_ipc_untrusted.a',
318               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_cmd_helper_untrusted.a',
319               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_utils_untrusted.a',
320               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libipc_untrusted.a',
321               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libbase_untrusted.a',
322               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libirt_browser.a',
323               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libshared_memory_support_untrusted.a',
324               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libsrpc.a',
325               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libplatform.a',
326               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libimc_syscalls.a',
327               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgio.a',
328             ],
329             'extra_deps_newlib64': [
330               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_proxy_untrusted.a',
331               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_ipc_untrusted.a',
332               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libppapi_shared_untrusted.a',
333               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_implementation_untrusted.a',
334               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libcommand_buffer_client_untrusted.a',
335               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libcommand_buffer_common_untrusted.a',
336               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgpu_ipc_untrusted.a',
337               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_cmd_helper_untrusted.a',
338               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgles2_utils_untrusted.a',
339               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libipc_untrusted.a',
340               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libbase_untrusted.a',
341               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libirt_browser.a',
342               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libshared_memory_support_untrusted.a',
343               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libsrpc.a',
344               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libplatform.a',
345               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libimc_syscalls.a',
346               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64/libgio.a',
347             ],
348             'extra_deps_newlib32': [
349               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_proxy_untrusted.a',
350               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_ipc_untrusted.a',
351               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libppapi_shared_untrusted.a',
352               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_implementation_untrusted.a',
353               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libcommand_buffer_client_untrusted.a',
354               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libcommand_buffer_common_untrusted.a',
355               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgpu_ipc_untrusted.a',
356               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_cmd_helper_untrusted.a',
357               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgles2_utils_untrusted.a',
358               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libipc_untrusted.a',
359               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libbase_untrusted.a',
360               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libirt_browser.a',
361               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libshared_memory_support_untrusted.a',
362               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libsrpc.a',
363               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libplatform.a',
364               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libimc_syscalls.a',
365               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib32/libgio.a',
366             ],
367             'extra_deps_glibc64': [
368               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_proxy_untrusted.a',
369               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_ipc_untrusted.a',
370               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libppapi_shared_untrusted.a',
371               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgles2_implementation_untrusted.a',
372               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libcommand_buffer_client_untrusted.a',
373               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libcommand_buffer_common_untrusted.a',
374               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgpu_ipc_untrusted.a',
375               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgles2_cmd_helper_untrusted.a',
376               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgles2_utils_untrusted.a',
377               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libipc_untrusted.a',
378               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libbase_untrusted.a',
379               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libirt_browser.a',
380               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libshared_memory_support_untrusted.a',
381               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libsrpc.a',
382               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libplatform.a',
383               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libimc_syscalls.a',
384               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib64/libgio.a',
385             ],
386             'extra_deps_glibc32': [
387               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_proxy_untrusted.a',
388               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_ipc_untrusted.a',
389               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libppapi_shared_untrusted.a',
390               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgles2_implementation_untrusted.a',
391               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libcommand_buffer_client_untrusted.a',
392               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libcommand_buffer_common_untrusted.a',
393               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgpu_ipc_untrusted.a',
394               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgles2_cmd_helper_untrusted.a',
395               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgles2_utils_untrusted.a',
396               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libipc_untrusted.a',
397               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libbase_untrusted.a',
398               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libirt_browser.a',
399               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libshared_memory_support_untrusted.a',
400               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libsrpc.a',
401               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libplatform.a',
402               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libimc_syscalls.a',
403               '<(SHARED_INTERMEDIATE_DIR)/tc_glibc/lib32/libgio.a',
404             ],
405             'extra_deps_arm': [
406               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi_proxy_untrusted.a',
407               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi_ipc_untrusted.a',
408               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libppapi_shared_untrusted.a',
409               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgles2_implementation_untrusted.a',
410               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libcommand_buffer_client_untrusted.a',
411               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libcommand_buffer_common_untrusted.a',
412               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgpu_ipc_untrusted.a',
413               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgles2_cmd_helper_untrusted.a',
414               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgles2_utils_untrusted.a',
415               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libipc_untrusted.a',
416               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libbase_untrusted.a',
417               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libirt_browser.a',
418               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libshared_memory_support_untrusted.a',
419               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libsrpc.a',
420               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libplatform.a',
421               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libimc_syscalls.a',
422               '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm/libgio.a',
423             ],
424           },
425           'dependencies': [
426             '../ppapi_ipc_proxy_untrusted.gyp:ppapi_proxy_untrusted',
427             '../ppapi_ipc_untrusted.gyp:ppapi_ipc_untrusted',
428             '../ppapi_shared_untrusted.gyp:ppapi_shared_untrusted',
429             '../../gpu/command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
430             '../../gpu/gpu_untrusted.gyp:command_buffer_client_untrusted',
431             '../../gpu/gpu_untrusted.gyp:command_buffer_common_untrusted',
432             '../../gpu/gpu_untrusted.gyp:gles2_implementation_untrusted',
433             '../../gpu/gpu_untrusted.gyp:gles2_cmd_helper_untrusted',
434             '../../gpu/gpu_untrusted.gyp:gpu_ipc_untrusted',
435             '../../ipc/ipc_untrusted.gyp:ipc_untrusted',
436             '../../base/base_untrusted.gyp:base_untrusted',
437             '../../media/media_untrusted.gyp:shared_memory_support_untrusted',
438             '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib',
439             '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib',
440             '../../native_client/src/shared/platform/platform.gyp:platform_lib',
441             '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
442             '../../native_client/src/shared/gio/gio.gyp:gio_lib',
443           ],
444         },
445       ],
446     }],
447   ],