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

Side by Side Diff: build/untrusted.gypi

Issue 66303010: Enables goma from GYP. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years 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 | « build/common.gypi ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'variables': { 6 'variables': {
7 'variables': { 7 'variables': {
8 # Enable -Werror by default, but put it in a variable so it can 8 # Enable -Werror by default, but put it in a variable so it can
9 # be optionally disabled. 9 # be optionally disabled.
10 'werror%': '-Werror', 10 'werror%': '-Werror',
(...skipping 27 matching lines...) Expand all
38 'DYNAMIC_ANNOTATIONS_ENABLED=1', 38 'DYNAMIC_ANNOTATIONS_ENABLED=1',
39 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_', 39 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_',
40 ], 40 ],
41 'nacl_default_compile_flags': [ 41 'nacl_default_compile_flags': [
42 #'-std=gnu99', Added by build_nexe 42 #'-std=gnu99', Added by build_nexe
43 '-O2', 43 '-O2',
44 '-g', 44 '-g',
45 '-Wall', 45 '-Wall',
46 '-fdiagnostics-show-option', 46 '-fdiagnostics-show-option',
47 '<(werror)', 47 '<(werror)',
48 ] 48 ],
49 'conditions': [
50 ['use_goma==0', {
51 'gomadir': '',
52 }],
53 ],
49 }, 54 },
50 'conditions': [ 55 'conditions': [
51 ['target_arch=="ia32" or target_arch=="x64"', { 56 ['target_arch=="ia32" or target_arch=="x64"', {
52 # Common defaults for all x86 nacl-gcc targets 57 # Common defaults for all x86 nacl-gcc targets
53 'target_defaults': { 58 'target_defaults': {
54 'conditions': [ 59 'conditions': [
55 ['OS=="win"', { 60 ['OS=="win"', {
56 'variables': { 61 'variables': {
57 'nacl_glibc_tc_root': '<(DEPTH)/native_client/toolchain/win_x86', 62 'nacl_glibc_tc_root': '<(DEPTH)/native_client/toolchain/win_x86',
58 }, 63 },
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 '<(DEPTH)/native_client/build/build_nexe.py', 244 '<(DEPTH)/native_client/build/build_nexe.py',
240 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 245 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
241 '>@(extra_args)', 246 '>@(extra_args)',
242 '--arch', 'x86-64', 247 '--arch', 'x86-64',
243 '--build', 'newlib_nexe', 248 '--build', 'newlib_nexe',
244 '--root', '<(DEPTH)', 249 '--root', '<(DEPTH)',
245 '--name', '>(out_newlib64)', 250 '--name', '>(out_newlib64)',
246 '--objdir', '>(objdir_newlib64)', 251 '--objdir', '>(objdir_newlib64)',
247 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 252 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
248 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 253 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
254 '--gomadir', '<(gomadir)',
249 '--defines=^(defines) >(_defines)', 255 '--defines=^(defines) >(_defines)',
250 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)', 256 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)',
251 '--source-list=^(source_list_newlib64)', 257 '--source-list=^(source_list_newlib64)',
252 ], 258 ],
253 }, 259 },
254 ], 260 ],
255 }], 261 }],
256 # x86-64 newlib library action 262 # x86-64 newlib library action
257 ['nlib_target!="" and build_newlib!=0 and enable_x86_64!=0', { 263 ['nlib_target!="" and build_newlib!=0 and enable_x86_64!=0', {
258 'variables': { 264 'variables': {
(...skipping 22 matching lines...) Expand all
281 '<(DEPTH)/native_client/build/build_nexe.py', 287 '<(DEPTH)/native_client/build/build_nexe.py',
282 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 288 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
283 '>@(extra_args)', 289 '>@(extra_args)',
284 '--arch', 'x86-64', 290 '--arch', 'x86-64',
285 '--build', 'newlib_nlib', 291 '--build', 'newlib_nlib',
286 '--root', '<(DEPTH)', 292 '--root', '<(DEPTH)',
287 '--name', '>(out_newlib64)', 293 '--name', '>(out_newlib64)',
288 '--objdir', '>(objdir_newlib64)', 294 '--objdir', '>(objdir_newlib64)',
289 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 295 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
290 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 296 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
297 '--gomadir', '<(gomadir)',
291 '--defines=^(defines) >(_defines)', 298 '--defines=^(defines) >(_defines)',
292 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)', 299 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)',
293 '--source-list=^(source_list_newlib64)', 300 '--source-list=^(source_list_newlib64)',
294 ], 301 ],
295 }, 302 },
296 ], 303 ],
297 }], 304 }],
298 # x86-64 IRT nexe action 305 # x86-64 IRT nexe action
299 ['nexe_target!="" and build_irt!=0 and enable_x86_64!=0', { 306 ['nexe_target!="" and build_irt!=0 and enable_x86_64!=0', {
300 'variables': { 307 'variables': {
(...skipping 23 matching lines...) Expand all
324 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 331 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
325 '>@(extra_args)', 332 '>@(extra_args)',
326 '--arch', 'x86-64', 333 '--arch', 'x86-64',
327 '--build', 'newlib_nexe_pnacl', 334 '--build', 'newlib_nexe_pnacl',
328 '--root', '<(DEPTH)', 335 '--root', '<(DEPTH)',
329 '--name', '>(out_newlib64)', 336 '--name', '>(out_newlib64)',
330 '--objdir', '>(objdir_newlib64)', 337 '--objdir', '>(objdir_newlib64)',
331 '--config-name', '<(CONFIGURATION_NAME)', 338 '--config-name', '<(CONFIGURATION_NAME)',
332 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 339 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
333 '--compile_flags=--target=x86_64-nacl -stdlib=libstdc++ ^(com pile_flags) >(_compile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl _compile_flags)', 340 '--compile_flags=--target=x86_64-nacl -stdlib=libstdc++ ^(com pile_flags) >(_compile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl _compile_flags)',
341 '--gomadir', '<(gomadir)',
334 '--defines=^(defines) >(_defines)', 342 '--defines=^(defines) >(_defines)',
335 '--link_flags=--target=x86_64-nacl -stdlib=libstdc++ -arch x8 6-64 --pnacl-allow-translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodat a-segment=<(NACL_IRT_DATA_START) -Wn,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(t c_lib_dir_irt64) ^(link_flags) >(_link_flags)', 343 '--link_flags=--target=x86_64-nacl -stdlib=libstdc++ -arch x8 6-64 --pnacl-allow-translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodat a-segment=<(NACL_IRT_DATA_START) -Wn,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(t c_lib_dir_irt64) ^(link_flags) >(_link_flags)',
336 '--source-list=^(source_list_newlib64)', 344 '--source-list=^(source_list_newlib64)',
337 ], 345 ],
338 }, 346 },
339 ], 347 ],
340 }], 348 }],
341 # x86-64 IRT library action 349 # x86-64 IRT library action
342 ['nlib_target!="" and build_irt!=0 and enable_x86_64!=0', { 350 ['nlib_target!="" and build_irt!=0 and enable_x86_64!=0', {
343 'variables': { 351 'variables': {
(...skipping 23 matching lines...) Expand all
367 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 375 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
368 '>@(extra_args)', 376 '>@(extra_args)',
369 '--arch', 'x86-64', 377 '--arch', 'x86-64',
370 '--build', 'newlib_nlib_pnacl', 378 '--build', 'newlib_nlib_pnacl',
371 '--root', '<(DEPTH)', 379 '--root', '<(DEPTH)',
372 '--name', '>(out_newlib64)', 380 '--name', '>(out_newlib64)',
373 '--objdir', '>(objdir_newlib64)', 381 '--objdir', '>(objdir_newlib64)',
374 '--config-name', '<(CONFIGURATION_NAME)', 382 '--config-name', '<(CONFIGURATION_NAME)',
375 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 383 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
376 '--compile_flags=--target=x86_64-nacl -stdlib=libstdc++ ^(com pile_flags) >(_compile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl _compile_flags)', 384 '--compile_flags=--target=x86_64-nacl -stdlib=libstdc++ ^(com pile_flags) >(_compile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl _compile_flags)',
385 '--gomadir', '<(gomadir)',
377 '--defines=^(defines) >(_defines)', 386 '--defines=^(defines) >(_defines)',
378 '--link_flags=--target=x86_64-nacl -stdlib=libstdc++ -B>(tc_l ib_dir_irt64) ^(link_flags) >(_link_flags)', 387 '--link_flags=--target=x86_64-nacl -stdlib=libstdc++ -B>(tc_l ib_dir_irt64) ^(link_flags) >(_link_flags)',
379 '--source-list=^(source_list_newlib64)', 388 '--source-list=^(source_list_newlib64)',
380 ], 389 ],
381 }, 390 },
382 ], 391 ],
383 }], 392 }],
384 # x86-32 newlib nexe action 393 # x86-32 newlib nexe action
385 ['nexe_target!="" and build_newlib!=0 and enable_x86_32!=0', { 394 ['nexe_target!="" and build_newlib!=0 and enable_x86_32!=0', {
386 'variables': { 395 'variables': {
(...skipping 22 matching lines...) Expand all
409 '<(DEPTH)/native_client/build/build_nexe.py', 418 '<(DEPTH)/native_client/build/build_nexe.py',
410 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 419 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
411 '>@(extra_args)', 420 '>@(extra_args)',
412 '--arch', 'x86-32', 421 '--arch', 'x86-32',
413 '--build', 'newlib_nexe', 422 '--build', 'newlib_nexe',
414 '--root', '<(DEPTH)', 423 '--root', '<(DEPTH)',
415 '--name', '>(out_newlib32)', 424 '--name', '>(out_newlib32)',
416 '--objdir', '>(objdir_newlib32)', 425 '--objdir', '>(objdir_newlib32)',
417 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 426 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
418 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 427 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
428 '--gomadir', '<(gomadir)',
419 '--defines=^(defines) >(_defines)', 429 '--defines=^(defines) >(_defines)',
420 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)', 430 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)',
421 '--source-list=^(source_list_newlib32)', 431 '--source-list=^(source_list_newlib32)',
422 ], 432 ],
423 }, 433 },
424 ], 434 ],
425 }], 435 }],
426 # x86-32 newlib library action 436 # x86-32 newlib library action
427 ['nlib_target!="" and build_newlib!=0 and enable_x86_32!=0', { 437 ['nlib_target!="" and build_newlib!=0 and enable_x86_32!=0', {
428 'variables': { 438 'variables': {
(...skipping 22 matching lines...) Expand all
451 '<(DEPTH)/native_client/build/build_nexe.py', 461 '<(DEPTH)/native_client/build/build_nexe.py',
452 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 462 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
453 '>@(extra_args)', 463 '>@(extra_args)',
454 '--arch', 'x86-32', 464 '--arch', 'x86-32',
455 '--build', 'newlib_nlib', 465 '--build', 'newlib_nlib',
456 '--root', '<(DEPTH)', 466 '--root', '<(DEPTH)',
457 '--name', '>(out_newlib32)', 467 '--name', '>(out_newlib32)',
458 '--objdir', '>(objdir_newlib32)', 468 '--objdir', '>(objdir_newlib32)',
459 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 469 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
460 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 470 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
471 '--gomadir', '<(gomadir)',
461 '--defines=^(defines) >(_defines)', 472 '--defines=^(defines) >(_defines)',
462 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)', 473 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)',
463 '--source-list=^(source_list_newlib32)', 474 '--source-list=^(source_list_newlib32)',
464 ], 475 ],
465 }, 476 },
466 ], 477 ],
467 }], 478 }],
468 # x86-32 IRT nexe build 479 # x86-32 IRT nexe build
469 ['nexe_target!="" and build_irt!=0 and enable_x86_32!=0', { 480 ['nexe_target!="" and build_irt!=0 and enable_x86_32!=0', {
470 'variables': { 481 'variables': {
(...skipping 22 matching lines...) Expand all
493 '<(DEPTH)/native_client/build/build_nexe.py', 504 '<(DEPTH)/native_client/build/build_nexe.py',
494 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 505 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
495 '>@(extra_args)', 506 '>@(extra_args)',
496 '--arch', 'x86-32', 507 '--arch', 'x86-32',
497 '--build', 'newlib_nexe', 508 '--build', 'newlib_nexe',
498 '--root', '<(DEPTH)', 509 '--root', '<(DEPTH)',
499 '--name', '>(out_newlib32)', 510 '--name', '>(out_newlib32)',
500 '--objdir', '>(objdir_newlib32)', 511 '--objdir', '>(objdir_newlib32)',
501 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 512 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
502 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 513 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
514 '--gomadir', '<(gomadir)',
503 '--defines=^(defines) >(_defines)', 515 '--defines=^(defines) >(_defines)',
504 '--link_flags=-m32 -B>(tc_lib_dir_irt32) -Wl,-Trodata-segment =<(NACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) ^(link_flags) >(_link_flags)', 516 '--link_flags=-m32 -B>(tc_lib_dir_irt32) -Wl,-Trodata-segment =<(NACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) ^(link_flags) >(_link_flags)',
505 '--source-list=^(source_list_newlib32)', 517 '--source-list=^(source_list_newlib32)',
506 ], 518 ],
507 }, 519 },
508 ], 520 ],
509 }], 521 }],
510 # x86-32 IRT library build 522 # x86-32 IRT library build
511 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', { 523 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', {
512 'variables': { 524 'variables': {
(...skipping 22 matching lines...) Expand all
535 '<(DEPTH)/native_client/build/build_nexe.py', 547 '<(DEPTH)/native_client/build/build_nexe.py',
536 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 548 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
537 '>@(extra_args)', 549 '>@(extra_args)',
538 '--arch', 'x86-32', 550 '--arch', 'x86-32',
539 '--build', 'newlib_nlib', 551 '--build', 'newlib_nlib',
540 '--root', '<(DEPTH)', 552 '--root', '<(DEPTH)',
541 '--name', '>(out_newlib32)', 553 '--name', '>(out_newlib32)',
542 '--objdir', '>(objdir_newlib32)', 554 '--objdir', '>(objdir_newlib32)',
543 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 555 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
544 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 556 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
557 '--gomadir', '<(gomadir)',
545 '--defines=^(defines) >(_defines)', 558 '--defines=^(defines) >(_defines)',
546 '--link_flags=-m32 -B>(tc_lib_dir_irt32) ^(link_flags) >(_lin k_flags)', 559 '--link_flags=-m32 -B>(tc_lib_dir_irt32) ^(link_flags) >(_lin k_flags)',
547 '--source-list=^(source_list_newlib32)', 560 '--source-list=^(source_list_newlib32)',
548 ], 561 ],
549 }, 562 },
550 ], 563 ],
551 }], 564 }],
552 ], 565 ],
553 }, 566 },
554 }], # end x86 gcc nexe/nlib actions 567 }], # end x86 gcc nexe/nlib actions
(...skipping 28 matching lines...) Expand all
583 '<(DEPTH)/native_client/build/build_nexe.py', 596 '<(DEPTH)/native_client/build/build_nexe.py',
584 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 597 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
585 '>@(extra_args)', 598 '>@(extra_args)',
586 '--arch', 'arm', 599 '--arch', 'arm',
587 '--build', 'newlib_nexe', 600 '--build', 'newlib_nexe',
588 '--root', '<(DEPTH)', 601 '--root', '<(DEPTH)',
589 '--name', '>(out_newlib_arm)', 602 '--name', '>(out_newlib_arm)',
590 '--objdir', '>(objdir_newlib_arm)', 603 '--objdir', '>(objdir_newlib_arm)',
591 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 604 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
592 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 605 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
606 '--gomadir', '<(gomadir)',
593 '--defines=^(defines) >(_defines)', 607 '--defines=^(defines) >(_defines)',
594 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 608 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
595 '--source-list=^(source_list_newlib_arm)', 609 '--source-list=^(source_list_newlib_arm)',
596 ], 610 ],
597 }, 611 },
598 ], 612 ],
599 }], 613 }],
600 # arm newlib library action 614 # arm newlib library action
601 ['force_arm_pnacl==0 and nlib_target!="" and build_newlib!=0', { 615 ['force_arm_pnacl==0 and nlib_target!="" and build_newlib!=0', {
602 'variables': { 616 'variables': {
(...skipping 22 matching lines...) Expand all
625 '<(DEPTH)/native_client/build/build_nexe.py', 639 '<(DEPTH)/native_client/build/build_nexe.py',
626 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 640 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
627 '>@(extra_args)', 641 '>@(extra_args)',
628 '--arch', 'arm', 642 '--arch', 'arm',
629 '--build', 'newlib_nlib', 643 '--build', 'newlib_nlib',
630 '--root', '<(DEPTH)', 644 '--root', '<(DEPTH)',
631 '--name', '>(out_newlib_arm)', 645 '--name', '>(out_newlib_arm)',
632 '--objdir', '>(objdir_newlib_arm)', 646 '--objdir', '>(objdir_newlib_arm)',
633 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 647 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
634 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 648 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
649 '--gomadir', '<(gomadir)',
635 '--defines=^(defines) >(_defines)', 650 '--defines=^(defines) >(_defines)',
636 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 651 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
637 '--source-list=^(source_list_newlib_arm)', 652 '--source-list=^(source_list_newlib_arm)',
638 ], 653 ],
639 }, 654 },
640 ], 655 ],
641 }], 656 }],
642 # arm irt nexe action 657 # arm irt nexe action
643 ['force_arm_pnacl==0 and nexe_target!="" and build_irt!=0', { 658 ['force_arm_pnacl==0 and nexe_target!="" and build_irt!=0', {
644 'variables': { 659 'variables': {
(...skipping 22 matching lines...) Expand all
667 '<(DEPTH)/native_client/build/build_nexe.py', 682 '<(DEPTH)/native_client/build/build_nexe.py',
668 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 683 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
669 '>@(extra_args)', 684 '>@(extra_args)',
670 '--arch', 'arm', 685 '--arch', 'arm',
671 '--build', 'newlib_nexe', 686 '--build', 'newlib_nexe',
672 '--root', '<(DEPTH)', 687 '--root', '<(DEPTH)',
673 '--name', '>(out_newlib_arm)', 688 '--name', '>(out_newlib_arm)',
674 '--objdir', '>(objdir_newlib_arm)', 689 '--objdir', '>(objdir_newlib_arm)',
675 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 690 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
676 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)', 691 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)',
692 '--gomadir', '<(gomadir)',
677 '--defines=^(defines) >(_defines)', 693 '--defines=^(defines) >(_defines)',
678 '--link_flags=-B>(tc_lib_dir_irt_arm) -Wl,-Trodata-segment=<(N ACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) ^(link_flags) >(_l ink_flags)', 694 '--link_flags=-B>(tc_lib_dir_irt_arm) -Wl,-Trodata-segment=<(N ACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) ^(link_flags) >(_l ink_flags)',
679 '--source-list=^(source_list_newlib_arm)', 695 '--source-list=^(source_list_newlib_arm)',
680 ], 696 ],
681 }, 697 },
682 ], 698 ],
683 }], 699 }],
684 # arm IRT library action 700 # arm IRT library action
685 ['force_arm_pnacl==0 and nlib_target!="" and build_irt!=0', { 701 ['force_arm_pnacl==0 and nlib_target!="" and build_irt!=0', {
686 'variables': { 702 'variables': {
(...skipping 22 matching lines...) Expand all
709 '<(DEPTH)/native_client/build/build_nexe.py', 725 '<(DEPTH)/native_client/build/build_nexe.py',
710 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 726 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
711 '>@(extra_args)', 727 '>@(extra_args)',
712 '--arch', 'arm', 728 '--arch', 'arm',
713 '--build', 'newlib_nlib', 729 '--build', 'newlib_nlib',
714 '--root', '<(DEPTH)', 730 '--root', '<(DEPTH)',
715 '--name', '>(out_newlib_arm)', 731 '--name', '>(out_newlib_arm)',
716 '--objdir', '>(objdir_newlib_arm)', 732 '--objdir', '>(objdir_newlib_arm)',
717 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 733 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
718 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)', 734 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)',
735 '--gomadir', '<(gomadir)',
719 '--defines=^(defines) >(_defines)', 736 '--defines=^(defines) >(_defines)',
720 '--link_flags=-B>(tc_lib_dir_irt_arm) ^(link_flags) >(_link_fl ags)', 737 '--link_flags=-B>(tc_lib_dir_irt_arm) ^(link_flags) >(_link_fl ags)',
721 '--source-list=^(source_list_newlib_arm)', 738 '--source-list=^(source_list_newlib_arm)',
722 ], 739 ],
723 }, 740 },
724 ], 741 ],
725 }], 742 }],
726 # pnacl ARM library build using biased bitcode. This is currently 743 # pnacl ARM library build using biased bitcode. This is currently
727 # used to build the IRT shim. TODO(dschuff): see if this can be 744 # used to build the IRT shim. TODO(dschuff): see if this can be
728 # further simplified, perhaps using re-using the plib build below 745 # further simplified, perhaps using re-using the plib build below
(...skipping 24 matching lines...) Expand all
753 '<(DEPTH)/native_client/build/build_nexe.py', 770 '<(DEPTH)/native_client/build/build_nexe.py',
754 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 771 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
755 '>@(extra_args)', 772 '>@(extra_args)',
756 '--arch', 'arm', 773 '--arch', 'arm',
757 '--build', 'newlib_nlib_pnacl', 774 '--build', 'newlib_nlib_pnacl',
758 '--root', '<(DEPTH)', 775 '--root', '<(DEPTH)',
759 '--name', '>(out_newlib_arm)', 776 '--name', '>(out_newlib_arm)',
760 '--objdir', '>(objdir_newlib_arm)', 777 '--objdir', '>(objdir_newlib_arm)',
761 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 778 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
762 '--compile_flags=--target=armv7-unknown-nacl-gnueabi -mfloat-a bi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compi le_flags)', 779 '--compile_flags=--target=armv7-unknown-nacl-gnueabi -mfloat-a bi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compi le_flags)',
780 '--gomadir', '<(gomadir)',
763 '--defines=^(defines) >(_defines)', 781 '--defines=^(defines) >(_defines)',
764 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 782 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
765 '--source-list=^(source_list_newlib_arm)', 783 '--source-list=^(source_list_newlib_arm)',
766 ], 784 ],
767 }, 785 },
768 ], 786 ],
769 }], 787 }],
770 ], # end target_conditions for arm newlib (nexe/nlib, force_arm_pnacl) 788 ], # end target_conditions for arm newlib (nexe/nlib, force_arm_pnacl)
771 }, 789 },
772 }], # end target_arch = arm 790 }], # end target_arch = arm
(...skipping 28 matching lines...) Expand all
801 '<(DEPTH)/native_client/build/build_nexe.py', 819 '<(DEPTH)/native_client/build/build_nexe.py',
802 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 820 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
803 '>@(extra_args)', 821 '>@(extra_args)',
804 '--arch', 'mips', 822 '--arch', 'mips',
805 '--build', 'newlib_nexe', 823 '--build', 'newlib_nexe',
806 '--root', '<(DEPTH)', 824 '--root', '<(DEPTH)',
807 '--name', '>(out_newlib_mips)', 825 '--name', '>(out_newlib_mips)',
808 '--objdir', '>(objdir_newlib_mips)', 826 '--objdir', '>(objdir_newlib_mips)',
809 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 827 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
810 '--compile_flags= ^(pnacl_compile_flags) >(_pnacl_compile_flag s) ^(compile_flags) >(_compile_flags)', 828 '--compile_flags= ^(pnacl_compile_flags) >(_pnacl_compile_flag s) ^(compile_flags) >(_compile_flags)',
829 '--gomadir', '<(gomadir)',
811 '--defines=^(defines) >(_defines)', 830 '--defines=^(defines) >(_defines)',
812 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)', 831 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)',
813 '--source-list=^(source_list_newlib_mips)', 832 '--source-list=^(source_list_newlib_mips)',
814 ], 833 ],
815 }, 834 },
816 ], 835 ],
817 }], 836 }],
818 # mips newlib library action 837 # mips newlib library action
819 ['nlib_target!="" and build_newlib!=0', { 838 ['nlib_target!="" and build_newlib!=0', {
820 'variables': { 839 'variables': {
(...skipping 22 matching lines...) Expand all
843 '<(DEPTH)/native_client/build/build_nexe.py', 862 '<(DEPTH)/native_client/build/build_nexe.py',
844 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 863 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
845 '>@(extra_args)', 864 '>@(extra_args)',
846 '--arch', 'mips', 865 '--arch', 'mips',
847 '--build', 'newlib_nlib', 866 '--build', 'newlib_nlib',
848 '--root', '<(DEPTH)', 867 '--root', '<(DEPTH)',
849 '--name', '>(out_newlib_mips)', 868 '--name', '>(out_newlib_mips)',
850 '--objdir', '>(objdir_newlib_mips)', 869 '--objdir', '>(objdir_newlib_mips)',
851 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 870 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
852 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 871 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
872 '--gomadir', '<(gomadir)',
853 '--defines=^(defines) >(_defines)', 873 '--defines=^(defines) >(_defines)',
854 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)', 874 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)',
855 '--source-list=^(source_list_newlib_mips)', 875 '--source-list=^(source_list_newlib_mips)',
856 ], 876 ],
857 }, 877 },
858 ], 878 ],
859 }], 879 }],
860 # mips irt nexe action 880 # mips irt nexe action
861 ['nexe_target!="" and build_irt!=0', { 881 ['nexe_target!="" and build_irt!=0', {
862 'variables': { 882 'variables': {
(...skipping 22 matching lines...) Expand all
885 '<(DEPTH)/native_client/build/build_nexe.py', 905 '<(DEPTH)/native_client/build/build_nexe.py',
886 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 906 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
887 '>@(extra_args)', 907 '>@(extra_args)',
888 '--arch', 'mips', 908 '--arch', 'mips',
889 '--build', 'newlib_nexe', 909 '--build', 'newlib_nexe',
890 '--root', '<(DEPTH)', 910 '--root', '<(DEPTH)',
891 '--name', '>(out_newlib_mips)', 911 '--name', '>(out_newlib_mips)',
892 '--objdir', '>(objdir_newlib_mips)', 912 '--objdir', '>(objdir_newlib_mips)',
893 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 913 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
894 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 914 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
915 '--gomadir', '<(gomadir)',
895 '--defines=^(defines) >(_defines)', 916 '--defines=^(defines) >(_defines)',
896 '--link_flags= -arch mips --pnacl-allow-translate --pnacl-allo w-native -Wt,-mtls-use-call --pnacl-disable-abi-check -Wl,-Trodata-segment=<(NAC L_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(tc_lib_dir_irt_m ips) ^(link_flags) >(_link_flags)', 917 '--link_flags= -arch mips --pnacl-allow-translate --pnacl-allo w-native -Wt,-mtls-use-call --pnacl-disable-abi-check -Wl,-Trodata-segment=<(NAC L_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(tc_lib_dir_irt_m ips) ^(link_flags) >(_link_flags)',
897 '--source-list=^(source_list_newlib_mips)', 918 '--source-list=^(source_list_newlib_mips)',
898 ], 919 ],
899 }, 920 },
900 ], 921 ],
901 }], 922 }],
902 # mips IRT library action 923 # mips IRT library action
903 ['nlib_target!="" and build_irt!=0', { 924 ['nlib_target!="" and build_irt!=0', {
904 'variables': { 925 'variables': {
(...skipping 22 matching lines...) Expand all
927 '<(DEPTH)/native_client/build/build_nexe.py', 948 '<(DEPTH)/native_client/build/build_nexe.py',
928 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 949 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
929 '>@(extra_args)', 950 '>@(extra_args)',
930 '--arch', 'mips', 951 '--arch', 'mips',
931 '--build', 'newlib_nlib', 952 '--build', 'newlib_nlib',
932 '--root', '<(DEPTH)', 953 '--root', '<(DEPTH)',
933 '--name', '>(out_newlib_mips)', 954 '--name', '>(out_newlib_mips)',
934 '--objdir', '>(objdir_newlib_mips)', 955 '--objdir', '>(objdir_newlib_mips)',
935 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 956 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
936 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 957 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
958 '--gomadir', '<(gomadir)',
937 '--defines=^(defines) >(_defines)', 959 '--defines=^(defines) >(_defines)',
938 '--link_flags=-B>(tc_lib_dir_irt_mips) ^(link_flags) >(_link_f lags)', 960 '--link_flags=-B>(tc_lib_dir_irt_mips) ^(link_flags) >(_link_f lags)',
939 '--source-list=^(source_list_newlib_mips)', 961 '--source-list=^(source_list_newlib_mips)',
940 ], 962 ],
941 }, 963 },
942 ], 964 ],
943 }], 965 }],
944 ], # end target_conditions for mips newlib 966 ], # end target_conditions for mips newlib
945 }, 967 },
946 }], # end target_arch = mips 968 }], # end target_arch = mips
(...skipping 28 matching lines...) Expand all
975 '<(DEPTH)/native_client/build/build_nexe.py', 997 '<(DEPTH)/native_client/build/build_nexe.py',
976 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 998 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
977 '>@(extra_args)', 999 '>@(extra_args)',
978 '--arch', 'x86-64', 1000 '--arch', 'x86-64',
979 '--build', 'glibc_nexe', 1001 '--build', 'glibc_nexe',
980 '--root', '<(DEPTH)', 1002 '--root', '<(DEPTH)',
981 '--name', '>(out_glibc64)', 1003 '--name', '>(out_glibc64)',
982 '--objdir', '>(objdir_glibc64)', 1004 '--objdir', '>(objdir_glibc64)',
983 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1005 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
984 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1006 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1007 '--gomadir', '<(gomadir)',
985 '--defines=^(defines) >(_defines)', 1008 '--defines=^(defines) >(_defines)',
986 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1009 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
987 '--source-list=^(source_list_glibc64)', 1010 '--source-list=^(source_list_glibc64)',
988 ], 1011 ],
989 }, 1012 },
990 ], 1013 ],
991 }], 1014 }],
992 # x86-32 glibc nexe action 1015 # x86-32 glibc nexe action
993 ['nexe_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', { 1016 ['nexe_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', {
994 'variables': { 1017 'variables': {
(...skipping 22 matching lines...) Expand all
1017 '<(DEPTH)/native_client/build/build_nexe.py', 1040 '<(DEPTH)/native_client/build/build_nexe.py',
1018 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1041 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1019 '>@(extra_args)', 1042 '>@(extra_args)',
1020 '--arch', 'x86-32', 1043 '--arch', 'x86-32',
1021 '--build', 'glibc_nexe', 1044 '--build', 'glibc_nexe',
1022 '--root', '<(DEPTH)', 1045 '--root', '<(DEPTH)',
1023 '--name', '>(out_glibc32)', 1046 '--name', '>(out_glibc32)',
1024 '--objdir', '>(objdir_glibc32)', 1047 '--objdir', '>(objdir_glibc32)',
1025 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1048 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1026 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1049 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1050 '--gomadir', '<(gomadir)',
1027 '--defines=^(defines) >(_defines)', 1051 '--defines=^(defines) >(_defines)',
1028 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1052 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1029 '--source-list=^(source_list_glibc32)', 1053 '--source-list=^(source_list_glibc32)',
1030 ], 1054 ],
1031 }, 1055 },
1032 ], 1056 ],
1033 }], 1057 }],
1034 # x86-64 glibc static library action 1058 # x86-64 glibc static library action
1035 ['nlib_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable _glibc==0', { 1059 ['nlib_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable _glibc==0', {
1036 'variables': { 1060 'variables': {
(...skipping 22 matching lines...) Expand all
1059 '<(DEPTH)/native_client/build/build_nexe.py', 1083 '<(DEPTH)/native_client/build/build_nexe.py',
1060 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1084 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1061 '>@(extra_args)', 1085 '>@(extra_args)',
1062 '--arch', 'x86-64', 1086 '--arch', 'x86-64',
1063 '--build', 'glibc_nlib', 1087 '--build', 'glibc_nlib',
1064 '--root', '<(DEPTH)', 1088 '--root', '<(DEPTH)',
1065 '--name', '>(out_glibc64)', 1089 '--name', '>(out_glibc64)',
1066 '--objdir', '>(objdir_glibc64)', 1090 '--objdir', '>(objdir_glibc64)',
1067 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1091 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1068 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1092 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1093 '--gomadir', '<(gomadir)',
1069 '--defines=^(defines) >(_defines)', 1094 '--defines=^(defines) >(_defines)',
1070 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1095 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
1071 '--source-list=^(source_list_glibc64)', 1096 '--source-list=^(source_list_glibc64)',
1072 ], 1097 ],
1073 }, 1098 },
1074 ], 1099 ],
1075 }], 1100 }],
1076 # x86-32 glibc static library action 1101 # x86-32 glibc static library action
1077 ['nlib_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', { 1102 ['nlib_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', {
1078 'variables': { 1103 'variables': {
(...skipping 22 matching lines...) Expand all
1101 '<(DEPTH)/native_client/build/build_nexe.py', 1126 '<(DEPTH)/native_client/build/build_nexe.py',
1102 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1127 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1103 '>@(extra_args)', 1128 '>@(extra_args)',
1104 '--arch', 'x86-32', 1129 '--arch', 'x86-32',
1105 '--build', 'glibc_nlib', 1130 '--build', 'glibc_nlib',
1106 '--root', '<(DEPTH)', 1131 '--root', '<(DEPTH)',
1107 '--name', '>(out_glibc32)', 1132 '--name', '>(out_glibc32)',
1108 '--objdir', '>(objdir_glibc32)', 1133 '--objdir', '>(objdir_glibc32)',
1109 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1134 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1110 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1135 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1136 '--gomadir', '<(gomadir)',
1111 '--defines=^(defines) >(_defines)', 1137 '--defines=^(defines) >(_defines)',
1112 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1138 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1113 '--source-list=^(source_list_glibc32)', 1139 '--source-list=^(source_list_glibc32)',
1114 ], 1140 ],
1115 }, 1141 },
1116 ], 1142 ],
1117 }], 1143 }],
1118 # x86-64 glibc shared library action 1144 # x86-64 glibc shared library action
1119 ['nso_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable_ glibc==0', { 1145 ['nso_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable_ glibc==0', {
1120 'variables': { 1146 'variables': {
(...skipping 22 matching lines...) Expand all
1143 '<(DEPTH)/native_client/build/build_nexe.py', 1169 '<(DEPTH)/native_client/build/build_nexe.py',
1144 '>@(extra_args)', 1170 '>@(extra_args)',
1145 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1171 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1146 '--arch', 'x86-64', 1172 '--arch', 'x86-64',
1147 '--build', 'glibc_nso', 1173 '--build', 'glibc_nso',
1148 '--root', '<(DEPTH)', 1174 '--root', '<(DEPTH)',
1149 '--name', '>(out_glibc64)', 1175 '--name', '>(out_glibc64)',
1150 '--objdir', '>(objdir_glibc64)', 1176 '--objdir', '>(objdir_glibc64)',
1151 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1177 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1152 '--compile_flags=-m64 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)', 1178 '--compile_flags=-m64 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)',
1179 '--gomadir', '<(gomadir)',
1153 '--defines=^(defines) >(_defines)', 1180 '--defines=^(defines) >(_defines)',
1154 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1181 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
1155 '--source-list=^(source_list_glibc64)', 1182 '--source-list=^(source_list_glibc64)',
1156 ], 1183 ],
1157 }, 1184 },
1158 ], 1185 ],
1159 }], 1186 }],
1160 # x86-32 glibc shared library action 1187 # x86-32 glibc shared library action
1161 ['nso_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable_ glibc==0', { 1188 ['nso_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable_ glibc==0', {
1162 'variables': { 1189 'variables': {
(...skipping 22 matching lines...) Expand all
1185 '<(DEPTH)/native_client/build/build_nexe.py', 1212 '<(DEPTH)/native_client/build/build_nexe.py',
1186 '>@(extra_args)', 1213 '>@(extra_args)',
1187 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1214 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1188 '--arch', 'x86-32', 1215 '--arch', 'x86-32',
1189 '--build', 'glibc_nso', 1216 '--build', 'glibc_nso',
1190 '--root', '<(DEPTH)', 1217 '--root', '<(DEPTH)',
1191 '--name', '>(out_glibc32)', 1218 '--name', '>(out_glibc32)',
1192 '--objdir', '>(objdir_glibc32)', 1219 '--objdir', '>(objdir_glibc32)',
1193 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1220 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1194 '--compile_flags=-m32 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)', 1221 '--compile_flags=-m32 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)',
1222 '--gomadir', '<(gomadir)',
1195 '--defines=^(defines) >(_defines)', 1223 '--defines=^(defines) >(_defines)',
1196 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1224 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1197 '--source-list=^(source_list_glibc32)', 1225 '--source-list=^(source_list_glibc32)',
1198 ], 1226 ],
1199 }, 1227 },
1200 ], 1228 ],
1201 }], 1229 }],
1202 ], # end target_conditions for glibc (nexe/nlib/nso, x86-32/64) 1230 ], # end target_conditions for glibc (nexe/nlib/nso, x86-32/64)
1203 }, 1231 },
1204 }], # end target_arch == ia32 or x64 1232 }], # end target_arch == ia32 or x64
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 '<(DEPTH)/native_client/build/build_nexe.py', 1302 '<(DEPTH)/native_client/build/build_nexe.py',
1275 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1303 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1276 '>@(extra_args)', 1304 '>@(extra_args)',
1277 '--arch', 'pnacl', 1305 '--arch', 'pnacl',
1278 '--build', 'newlib_pexe', 1306 '--build', 'newlib_pexe',
1279 '--root', '<(DEPTH)', 1307 '--root', '<(DEPTH)',
1280 '--name', '>(out_pnacl_newlib)', 1308 '--name', '>(out_pnacl_newlib)',
1281 '--objdir', '>(objdir_pnacl_newlib)', 1309 '--objdir', '>(objdir_pnacl_newlib)',
1282 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)', 1310 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)',
1283 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)', 1311 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
1312 '--gomadir', '<(gomadir)',
1284 '--defines=^(defines) >(_defines)', 1313 '--defines=^(defines) >(_defines)',
1285 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)', 1314 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)',
1286 '--source-list=^(source_list_pnacl_newlib)', 1315 '--source-list=^(source_list_pnacl_newlib)',
1287 ], 1316 ],
1288 }], 1317 }],
1289 'target_conditions': [ 1318 'target_conditions': [
1290 [ 'enable_x86_32!=0', { 1319 [ 'enable_x86_32!=0', {
1291 'actions': [{ 1320 'actions': [{
1292 'action_name': 'translate newlib pexe to x86-32 nexe', 1321 'action_name': 'translate newlib pexe to x86-32 nexe',
1293 'msvs_cygwin_shell': 0, 1322 'msvs_cygwin_shell': 0,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 '<(DEPTH)/native_client/build/build_nexe.py', 1421 '<(DEPTH)/native_client/build/build_nexe.py',
1393 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1422 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1394 '>@(extra_args)', 1423 '>@(extra_args)',
1395 '--arch', 'pnacl', 1424 '--arch', 'pnacl',
1396 '--build', 'newlib_plib', 1425 '--build', 'newlib_plib',
1397 '--root', '<(DEPTH)', 1426 '--root', '<(DEPTH)',
1398 '--name', '>(out_pnacl_newlib)', 1427 '--name', '>(out_pnacl_newlib)',
1399 '--objdir', '>(objdir_pnacl_newlib)', 1428 '--objdir', '>(objdir_pnacl_newlib)',
1400 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)', 1429 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)',
1401 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)', 1430 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
1431 '--gomadir', '<(gomadir)',
1402 '--defines=^(defines) >(_defines)', 1432 '--defines=^(defines) >(_defines)',
1403 '--link_flags=-B>(tc_lib_dir_pnacl_newlib) ^(link_flags) >(_link_f lags)', 1433 '--link_flags=-B>(tc_lib_dir_pnacl_newlib) ^(link_flags) >(_link_f lags)',
1404 '--source-list=^(source_list_pnacl_newlib)', 1434 '--source-list=^(source_list_pnacl_newlib)',
1405 ], 1435 ],
1406 }, 1436 },
1407 ], 1437 ],
1408 }], 1438 }],
1409 ], # end target_conditions for pnacl pexe/plib 1439 ], # end target_conditions for pnacl pexe/plib
1410 }, 1440 },
1411 } 1441 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698