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

Side by Side Diff: ppapi/ppapi_nacl.gyp

Issue 786273008: Non-SFI mode: Enable PnaclTransitional Non-SFI browser tests on x86-64 bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # This GYP file defines untrusted (NaCl) targets. All targets in this 5 # This GYP file defines untrusted (NaCl) targets. All targets in this
6 # file should be conditionally depended upon via 'disable_nacl!=1' to avoid 6 # file should be conditionally depended upon via 'disable_nacl!=1' to avoid
7 # requiring NaCl sources for building. 7 # requiring NaCl sources for building.
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 }], 228 }],
229 ['target_arch=="x64" or (target_arch=="ia32" and OS=="win")', { 229 ['target_arch=="x64" or (target_arch=="ia32" and OS=="win")', {
230 'inputs': [ 230 'inputs': [
231 '>(out_pnacl_newlib_x86_64_nexe)', 231 '>(out_pnacl_newlib_x86_64_nexe)',
232 ], 232 ],
233 }], 233 }],
234 ], 234 ],
235 }, 235 },
236 ], 236 ],
237 }], 237 }],
238 ['disable_pnacl==0 and (target_arch=="ia32" or target_arch=="arm") and O S=="linux"', { 238 ['disable_pnacl==0 and (target_arch=="ia32" or target_arch=="x64" or tar get_arch=="arm") and OS=="linux"', {
239 # In addition to above configuration, build x86-32 and arm nonsfi 239 # In addition to above configuration, build x86-32 and arm nonsfi
240 # .nexe files by translating from .pexe binary, for non-SFI mode PPAPI 240 # .nexe files by translating from .pexe binary, for non-SFI mode PPAPI
241 # testing. 241 # testing.
242 'variables': { 242 'variables': {
243 'translate_pexe_with_build': 1, 243 'translate_pexe_with_build': 1,
244 'nmf_nonsfi%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_nonsfi.nmf', 244 'nmf_nonsfi%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_nonsfi.nmf',
245 }, 245 },
246 'conditions': [ 246 'conditions': [
247 ['target_arch=="ia32"', { 247 ['target_arch=="ia32" or target_arch=="x64"', {
248 'variables': { 248 'variables': {
249 'enable_x86_32_nonsfi': 1, 249 'enable_x86_32_nonsfi': 1,
250 }, 250 },
251 }], 251 }],
252 ['target_arch=="arm"', { 252 ['target_arch=="arm"', {
253 'variables': { 253 'variables': {
254 'enable_arm_nonsfi': 1, 254 'enable_arm_nonsfi': 1,
255 }, 255 },
256 }], 256 }],
257 ], 257 ],
258 # Shim is a dependency for the nexe because we pre-translate. 258 # Shim is a dependency for the nexe because we pre-translate.
259 'dependencies': [ 259 'dependencies': [
260 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt _shim.gyp:aot', 260 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt _shim.gyp:aot',
261 ], 261 ],
262 'actions': [ 262 'actions': [
263 { 263 {
264 'action_name': 'Generate PNACL NEWLIB NONSFI NMF', 264 'action_name': 'Generate PNACL NEWLIB NONSFI NMF',
265 'inputs': ['>(create_nonsfi_test_nmf)'], 265 'inputs': ['>(create_nonsfi_test_nmf)'],
266 'outputs': ['>(nmf_nonsfi)'], 266 'outputs': ['>(nmf_nonsfi)'],
267 'action': [ 267 'action': [
268 'python', 268 'python',
269 '>(create_nonsfi_test_nmf)', 269 '>(create_nonsfi_test_nmf)',
270 '--output=>(nmf_nonsfi)', 270 '--output=>(nmf_nonsfi)',
271 ], 271 ],
272 'target_conditions': [ 272 'target_conditions': [
273 ['enable_x86_32_nonsfi==1', { 273 ['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
274 'inputs': ['>(out_pnacl_newlib_x86_32_nonsfi_nexe)'],
274 'action': [ 275 'action': [
275 '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)', 276 '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)',
276 '--arch=x86-32', 277 '--arch=x86-32',
277 ], 278 ]
279 }],
280 ['enable_x86_32_nonsfi==1 and "<(target_arch)"=="x64"', {
281 'inputs': ['>(out_pnacl_newlib_x86_32_nonsfi_nexe)'],
282 'action': [
283 '--program=>(out_pnacl_newlib_x86_32_nonsfi_nexe)',
284 '--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
285 ]
278 }], 286 }],
279 ['enable_arm_nonsfi==1', { 287 ['enable_arm_nonsfi==1', {
288 'inputs': ['>(out_pnacl_newlib_arm_nonsfi_nexe)'],
280 'action': [ 289 'action': [
281 '--program=>(out_pnacl_newlib_arm_nonsfi_nexe)', 290 '--program=>(out_pnacl_newlib_arm_nonsfi_nexe)',
282 '--arch=arm', 291 '--arch=arm',
283 ], 292 ]
284 }], 293 }],
285 ], 294 ],
286 }, 295 },
287 ], 296 ],
288 }], 297 }],
289 ['disable_pnacl==0 and target_arch=="arm"', { 298 ['disable_pnacl==0 and target_arch=="arm"', {
290 'variables': { 299 'variables': {
291 'build_pnacl_newlib': 1, 300 'build_pnacl_newlib': 1,
292 'translate_pexe_with_build': 1, 301 'translate_pexe_with_build': 1,
293 'nmf_pnacl%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl.nmf', 302 'nmf_pnacl%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl.nmf',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 '>@(_inputs)', 340 '>@(_inputs)',
332 '--output=>(nmf_pnacl)', 341 '--output=>(nmf_pnacl)',
333 ], 342 ],
334 }, 343 },
335 ], 344 ],
336 }], 345 }],
337 ], 346 ],
338 }, 347 },
339 ], 348 ],
340 } 349 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698