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

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, 1 month 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
« build/build_nexe.py ('K') | « 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 ['goma_status!="ok"', {
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 # NOTE: Python is invoked differently by the Native Client 62 # NOTE: Python is invoked differently by the Native Client
58 # builders than the Chromium builders. Invoking using 63 # builders than the Chromium builders. Invoking using
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 '<(DEPTH)/native_client/build/build_nexe.py', 252 '<(DEPTH)/native_client/build/build_nexe.py',
248 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 253 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
249 '>@(extra_args)', 254 '>@(extra_args)',
250 '--arch', 'x86-64', 255 '--arch', 'x86-64',
251 '--build', 'newlib_nexe', 256 '--build', 'newlib_nexe',
252 '--root', '<(DEPTH)', 257 '--root', '<(DEPTH)',
253 '--name', '>(out_newlib64)', 258 '--name', '>(out_newlib64)',
254 '--objdir', '>(objdir_newlib64)', 259 '--objdir', '>(objdir_newlib64)',
255 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 260 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
256 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 261 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
262 '--gomadir', '<(gomadir)',
257 '--defines=^(defines) >(_defines)', 263 '--defines=^(defines) >(_defines)',
258 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)', 264 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)',
259 '--source-list=^(source_list_newlib64)', 265 '--source-list=^(source_list_newlib64)',
260 ], 266 ],
261 }, 267 },
262 ], 268 ],
263 }], 269 }],
264 # x86-64 newlib library action 270 # x86-64 newlib library action
265 ['nlib_target!="" and build_newlib!=0 and enable_x86_64!=0', { 271 ['nlib_target!="" and build_newlib!=0 and enable_x86_64!=0', {
266 'variables': { 272 'variables': {
(...skipping 22 matching lines...) Expand all
289 '<(DEPTH)/native_client/build/build_nexe.py', 295 '<(DEPTH)/native_client/build/build_nexe.py',
290 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 296 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
291 '>@(extra_args)', 297 '>@(extra_args)',
292 '--arch', 'x86-64', 298 '--arch', 'x86-64',
293 '--build', 'newlib_nlib', 299 '--build', 'newlib_nlib',
294 '--root', '<(DEPTH)', 300 '--root', '<(DEPTH)',
295 '--name', '>(out_newlib64)', 301 '--name', '>(out_newlib64)',
296 '--objdir', '>(objdir_newlib64)', 302 '--objdir', '>(objdir_newlib64)',
297 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 303 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
298 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 304 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
305 '--gomadir', '<(gomadir)',
299 '--defines=^(defines) >(_defines)', 306 '--defines=^(defines) >(_defines)',
300 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)', 307 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_ flags)',
301 '--source-list=^(source_list_newlib64)', 308 '--source-list=^(source_list_newlib64)',
302 ], 309 ],
303 }, 310 },
304 ], 311 ],
305 }], 312 }],
306 # x86-64 IRT nexe action 313 # x86-64 IRT nexe action
307 ['nexe_target!="" and build_irt!=0 and enable_x86_64!=0', { 314 ['nexe_target!="" and build_irt!=0 and enable_x86_64!=0', {
308 'variables': { 315 'variables': {
(...skipping 23 matching lines...) Expand all
332 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 339 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
333 '>@(extra_args)', 340 '>@(extra_args)',
334 '--arch', 'x86-64', 341 '--arch', 'x86-64',
335 '--build', 'newlib_nexe_pnacl', 342 '--build', 'newlib_nexe_pnacl',
336 '--root', '<(DEPTH)', 343 '--root', '<(DEPTH)',
337 '--name', '>(out_newlib64)', 344 '--name', '>(out_newlib64)',
338 '--objdir', '>(objdir_newlib64)', 345 '--objdir', '>(objdir_newlib64)',
339 '--config-name', '<(CONFIGURATION_NAME)', 346 '--config-name', '<(CONFIGURATION_NAME)',
340 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 347 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
341 '--compile_flags=--target=x86_64-nacl ^(compile_flags) >(_com pile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl_compile_flags)', 348 '--compile_flags=--target=x86_64-nacl ^(compile_flags) >(_com pile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
349 '--gomadir', '<(gomadir)',
342 '--defines=^(defines) >(_defines)', 350 '--defines=^(defines) >(_defines)',
343 '--link_flags=--target=x86_64-nacl -arch x86-64 --pnacl-allow -translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodata-segment=<(NACL_I RT_DATA_START) -Wn,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(tc_lib_dir_irt64) ^ (link_flags) >(_link_flags)', 351 '--link_flags=--target=x86_64-nacl -arch x86-64 --pnacl-allow -translate --pnacl-allow-native -Wt,-mtls-use-call -Wn,-Trodata-segment=<(NACL_I RT_DATA_START) -Wn,-Ttext-segment=<(NACL_IRT_TEXT_START) -B>(tc_lib_dir_irt64) ^ (link_flags) >(_link_flags)',
344 '--source-list=^(source_list_newlib64)', 352 '--source-list=^(source_list_newlib64)',
345 ], 353 ],
346 }, 354 },
347 ], 355 ],
348 }], 356 }],
349 # x86-64 IRT library action 357 # x86-64 IRT library action
350 ['nlib_target!="" and build_irt!=0 and enable_x86_64!=0', { 358 ['nlib_target!="" and build_irt!=0 and enable_x86_64!=0', {
351 'variables': { 359 'variables': {
(...skipping 23 matching lines...) Expand all
375 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 383 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
376 '>@(extra_args)', 384 '>@(extra_args)',
377 '--arch', 'x86-64', 385 '--arch', 'x86-64',
378 '--build', 'newlib_nlib_pnacl', 386 '--build', 'newlib_nlib_pnacl',
379 '--root', '<(DEPTH)', 387 '--root', '<(DEPTH)',
380 '--name', '>(out_newlib64)', 388 '--name', '>(out_newlib64)',
381 '--objdir', '>(objdir_newlib64)', 389 '--objdir', '>(objdir_newlib64)',
382 '--config-name', '<(CONFIGURATION_NAME)', 390 '--config-name', '<(CONFIGURATION_NAME)',
383 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 391 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
384 '--compile_flags=--target=x86_64-nacl ^(compile_flags) >(_com pile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl_compile_flags)', 392 '--compile_flags=--target=x86_64-nacl ^(compile_flags) >(_com pile_flags) -gline-tables-only ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
393 '--gomadir', '<(gomadir)',
385 '--defines=^(defines) >(_defines)', 394 '--defines=^(defines) >(_defines)',
386 '--link_flags=--target=x86_64-nacl -B>(tc_lib_dir_irt64) ^(li nk_flags) >(_link_flags)', 395 '--link_flags=--target=x86_64-nacl -B>(tc_lib_dir_irt64) ^(li nk_flags) >(_link_flags)',
387 '--source-list=^(source_list_newlib64)', 396 '--source-list=^(source_list_newlib64)',
388 ], 397 ],
389 }, 398 },
390 ], 399 ],
391 }], 400 }],
392 # x86-32 newlib nexe action 401 # x86-32 newlib nexe action
393 ['nexe_target!="" and build_newlib!=0 and enable_x86_32!=0', { 402 ['nexe_target!="" and build_newlib!=0 and enable_x86_32!=0', {
394 'variables': { 403 'variables': {
(...skipping 22 matching lines...) Expand all
417 '<(DEPTH)/native_client/build/build_nexe.py', 426 '<(DEPTH)/native_client/build/build_nexe.py',
418 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 427 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
419 '>@(extra_args)', 428 '>@(extra_args)',
420 '--arch', 'x86-32', 429 '--arch', 'x86-32',
421 '--build', 'newlib_nexe', 430 '--build', 'newlib_nexe',
422 '--root', '<(DEPTH)', 431 '--root', '<(DEPTH)',
423 '--name', '>(out_newlib32)', 432 '--name', '>(out_newlib32)',
424 '--objdir', '>(objdir_newlib32)', 433 '--objdir', '>(objdir_newlib32)',
425 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 434 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
426 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 435 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
436 '--gomadir', '<(gomadir)',
427 '--defines=^(defines) >(_defines)', 437 '--defines=^(defines) >(_defines)',
428 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)', 438 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)',
429 '--source-list=^(source_list_newlib32)', 439 '--source-list=^(source_list_newlib32)',
430 ], 440 ],
431 }, 441 },
432 ], 442 ],
433 }], 443 }],
434 # x86-32 newlib library action 444 # x86-32 newlib library action
435 ['nlib_target!="" and build_newlib!=0 and enable_x86_32!=0', { 445 ['nlib_target!="" and build_newlib!=0 and enable_x86_32!=0', {
436 'variables': { 446 'variables': {
(...skipping 22 matching lines...) Expand all
459 '<(DEPTH)/native_client/build/build_nexe.py', 469 '<(DEPTH)/native_client/build/build_nexe.py',
460 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 470 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
461 '>@(extra_args)', 471 '>@(extra_args)',
462 '--arch', 'x86-32', 472 '--arch', 'x86-32',
463 '--build', 'newlib_nlib', 473 '--build', 'newlib_nlib',
464 '--root', '<(DEPTH)', 474 '--root', '<(DEPTH)',
465 '--name', '>(out_newlib32)', 475 '--name', '>(out_newlib32)',
466 '--objdir', '>(objdir_newlib32)', 476 '--objdir', '>(objdir_newlib32)',
467 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 477 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
468 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 478 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
479 '--gomadir', '<(gomadir)',
469 '--defines=^(defines) >(_defines)', 480 '--defines=^(defines) >(_defines)',
470 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)', 481 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_ link_flags)',
471 '--source-list=^(source_list_newlib32)', 482 '--source-list=^(source_list_newlib32)',
472 ], 483 ],
473 }, 484 },
474 ], 485 ],
475 }], 486 }],
476 # x86-32 IRT nexe build 487 # x86-32 IRT nexe build
477 ['nexe_target!="" and build_irt!=0 and enable_x86_32!=0', { 488 ['nexe_target!="" and build_irt!=0 and enable_x86_32!=0', {
478 'variables': { 489 'variables': {
(...skipping 22 matching lines...) Expand all
501 '<(DEPTH)/native_client/build/build_nexe.py', 512 '<(DEPTH)/native_client/build/build_nexe.py',
502 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 513 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
503 '>@(extra_args)', 514 '>@(extra_args)',
504 '--arch', 'x86-32', 515 '--arch', 'x86-32',
505 '--build', 'newlib_nexe', 516 '--build', 'newlib_nexe',
506 '--root', '<(DEPTH)', 517 '--root', '<(DEPTH)',
507 '--name', '>(out_newlib32)', 518 '--name', '>(out_newlib32)',
508 '--objdir', '>(objdir_newlib32)', 519 '--objdir', '>(objdir_newlib32)',
509 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 520 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
510 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 521 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
522 '--gomadir', '<(gomadir)',
511 '--defines=^(defines) >(_defines)', 523 '--defines=^(defines) >(_defines)',
512 '--link_flags=-m32 -B>(tc_lib_dir_irt32) -Wl,--build-id,--sec tion-start,.note.gnu.build-id=<(NACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_I RT_TEXT_START) ^(link_flags) >(_link_flags)', 524 '--link_flags=-m32 -B>(tc_lib_dir_irt32) -Wl,--build-id,--sec tion-start,.note.gnu.build-id=<(NACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_I RT_TEXT_START) ^(link_flags) >(_link_flags)',
513 '--source-list=^(source_list_newlib32)', 525 '--source-list=^(source_list_newlib32)',
514 ], 526 ],
515 }, 527 },
516 ], 528 ],
517 }], 529 }],
518 # x86-32 IRT library build 530 # x86-32 IRT library build
519 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', { 531 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', {
520 'variables': { 532 'variables': {
(...skipping 22 matching lines...) Expand all
543 '<(DEPTH)/native_client/build/build_nexe.py', 555 '<(DEPTH)/native_client/build/build_nexe.py',
544 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 556 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
545 '>@(extra_args)', 557 '>@(extra_args)',
546 '--arch', 'x86-32', 558 '--arch', 'x86-32',
547 '--build', 'newlib_nlib', 559 '--build', 'newlib_nlib',
548 '--root', '<(DEPTH)', 560 '--root', '<(DEPTH)',
549 '--name', '>(out_newlib32)', 561 '--name', '>(out_newlib32)',
550 '--objdir', '>(objdir_newlib32)', 562 '--objdir', '>(objdir_newlib32)',
551 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)', 563 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i nclude_dirs)',
552 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 564 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags ) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
565 '--gomadir', '<(gomadir)',
553 '--defines=^(defines) >(_defines)', 566 '--defines=^(defines) >(_defines)',
554 '--link_flags=-m32 -B>(tc_lib_dir_irt32) ^(link_flags) >(_lin k_flags)', 567 '--link_flags=-m32 -B>(tc_lib_dir_irt32) ^(link_flags) >(_lin k_flags)',
555 '--source-list=^(source_list_newlib32)', 568 '--source-list=^(source_list_newlib32)',
556 ], 569 ],
557 }, 570 },
558 ], 571 ],
559 }], 572 }],
560 ], 573 ],
561 }, 574 },
562 }], # end x86 gcc nexe/nlib actions 575 }], # end x86 gcc nexe/nlib actions
(...skipping 28 matching lines...) Expand all
591 '<(DEPTH)/native_client/build/build_nexe.py', 604 '<(DEPTH)/native_client/build/build_nexe.py',
592 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 605 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
593 '>@(extra_args)', 606 '>@(extra_args)',
594 '--arch', 'arm', 607 '--arch', 'arm',
595 '--build', 'newlib_nexe', 608 '--build', 'newlib_nexe',
596 '--root', '<(DEPTH)', 609 '--root', '<(DEPTH)',
597 '--name', '>(out_newlib_arm)', 610 '--name', '>(out_newlib_arm)',
598 '--objdir', '>(objdir_newlib_arm)', 611 '--objdir', '>(objdir_newlib_arm)',
599 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 612 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
600 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 613 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
614 '--gomadir', '<(gomadir)',
601 '--defines=^(defines) >(_defines)', 615 '--defines=^(defines) >(_defines)',
602 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 616 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
603 '--source-list=^(source_list_newlib_arm)', 617 '--source-list=^(source_list_newlib_arm)',
604 ], 618 ],
605 }, 619 },
606 ], 620 ],
607 }], 621 }],
608 # arm newlib library action 622 # arm newlib library action
609 ['force_arm_pnacl==0 and nlib_target!="" and build_newlib!=0', { 623 ['force_arm_pnacl==0 and nlib_target!="" and build_newlib!=0', {
610 'variables': { 624 'variables': {
(...skipping 22 matching lines...) Expand all
633 '<(DEPTH)/native_client/build/build_nexe.py', 647 '<(DEPTH)/native_client/build/build_nexe.py',
634 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 648 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
635 '>@(extra_args)', 649 '>@(extra_args)',
636 '--arch', 'arm', 650 '--arch', 'arm',
637 '--build', 'newlib_nlib', 651 '--build', 'newlib_nlib',
638 '--root', '<(DEPTH)', 652 '--root', '<(DEPTH)',
639 '--name', '>(out_newlib_arm)', 653 '--name', '>(out_newlib_arm)',
640 '--objdir', '>(objdir_newlib_arm)', 654 '--objdir', '>(objdir_newlib_arm)',
641 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 655 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
642 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', 656 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(gcc_c ompile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
657 '--gomadir', '<(gomadir)',
643 '--defines=^(defines) >(_defines)', 658 '--defines=^(defines) >(_defines)',
644 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 659 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
645 '--source-list=^(source_list_newlib_arm)', 660 '--source-list=^(source_list_newlib_arm)',
646 ], 661 ],
647 }, 662 },
648 ], 663 ],
649 }], 664 }],
650 # arm irt nexe action 665 # arm irt nexe action
651 ['force_arm_pnacl==0 and nexe_target!="" and build_irt!=0', { 666 ['force_arm_pnacl==0 and nexe_target!="" and build_irt!=0', {
652 'variables': { 667 'variables': {
(...skipping 22 matching lines...) Expand all
675 '<(DEPTH)/native_client/build/build_nexe.py', 690 '<(DEPTH)/native_client/build/build_nexe.py',
676 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 691 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
677 '>@(extra_args)', 692 '>@(extra_args)',
678 '--arch', 'arm', 693 '--arch', 'arm',
679 '--build', 'newlib_nexe', 694 '--build', 'newlib_nexe',
680 '--root', '<(DEPTH)', 695 '--root', '<(DEPTH)',
681 '--name', '>(out_newlib_arm)', 696 '--name', '>(out_newlib_arm)',
682 '--objdir', '>(objdir_newlib_arm)', 697 '--objdir', '>(objdir_newlib_arm)',
683 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 698 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
684 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)', 699 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)',
700 '--gomadir', '<(gomadir)',
685 '--defines=^(defines) >(_defines)', 701 '--defines=^(defines) >(_defines)',
686 '--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)', 702 '--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)',
687 '--source-list=^(source_list_newlib_arm)', 703 '--source-list=^(source_list_newlib_arm)',
688 ], 704 ],
689 }, 705 },
690 ], 706 ],
691 }], 707 }],
692 # arm IRT library action 708 # arm IRT library action
693 ['force_arm_pnacl==0 and nlib_target!="" and build_irt!=0', { 709 ['force_arm_pnacl==0 and nlib_target!="" and build_irt!=0', {
694 'variables': { 710 'variables': {
(...skipping 22 matching lines...) Expand all
717 '<(DEPTH)/native_client/build/build_nexe.py', 733 '<(DEPTH)/native_client/build/build_nexe.py',
718 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 734 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
719 '>@(extra_args)', 735 '>@(extra_args)',
720 '--arch', 'arm', 736 '--arch', 'arm',
721 '--build', 'newlib_nlib', 737 '--build', 'newlib_nlib',
722 '--root', '<(DEPTH)', 738 '--root', '<(DEPTH)',
723 '--name', '>(out_newlib_arm)', 739 '--name', '>(out_newlib_arm)',
724 '--objdir', '>(objdir_newlib_arm)', 740 '--objdir', '>(objdir_newlib_arm)',
725 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 741 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
726 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)', 742 '--compile_flags=-Wno-unused-local-typedefs -Wno-psabi ^(newli b_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_comp ile_flags)',
743 '--gomadir', '<(gomadir)',
727 '--defines=^(defines) >(_defines)', 744 '--defines=^(defines) >(_defines)',
728 '--link_flags=-B>(tc_lib_dir_irt_arm) ^(link_flags) >(_link_fl ags)', 745 '--link_flags=-B>(tc_lib_dir_irt_arm) ^(link_flags) >(_link_fl ags)',
729 '--source-list=^(source_list_newlib_arm)', 746 '--source-list=^(source_list_newlib_arm)',
730 ], 747 ],
731 }, 748 },
732 ], 749 ],
733 }], 750 }],
734 # pnacl ARM library build using biased bitcode. This is currently 751 # pnacl ARM library build using biased bitcode. This is currently
735 # used to build the IRT shim. TODO(dschuff): see if this can be 752 # used to build the IRT shim. TODO(dschuff): see if this can be
736 # further simplified, perhaps using re-using the plib build below 753 # further simplified, perhaps using re-using the plib build below
(...skipping 24 matching lines...) Expand all
761 '<(DEPTH)/native_client/build/build_nexe.py', 778 '<(DEPTH)/native_client/build/build_nexe.py',
762 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 779 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
763 '>@(extra_args)', 780 '>@(extra_args)',
764 '--arch', 'arm', 781 '--arch', 'arm',
765 '--build', 'newlib_nlib_pnacl', 782 '--build', 'newlib_nlib_pnacl',
766 '--root', '<(DEPTH)', 783 '--root', '<(DEPTH)',
767 '--name', '>(out_newlib_arm)', 784 '--name', '>(out_newlib_arm)',
768 '--objdir', '>(objdir_newlib_arm)', 785 '--objdir', '>(objdir_newlib_arm)',
769 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 786 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
770 '--compile_flags=--target=armv7-unknown-nacl-gnueabi -mfloat-a bi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compi le_flags)', 787 '--compile_flags=--target=armv7-unknown-nacl-gnueabi -mfloat-a bi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compi le_flags)',
788 '--gomadir', '<(gomadir)',
771 '--defines=^(defines) >(_defines)', 789 '--defines=^(defines) >(_defines)',
772 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)', 790 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link _flags)',
773 '--source-list=^(source_list_newlib_arm)', 791 '--source-list=^(source_list_newlib_arm)',
774 ], 792 ],
775 }, 793 },
776 ], 794 ],
777 }], 795 }],
778 ], # end target_conditions for arm newlib (nexe/nlib, force_arm_pnacl) 796 ], # end target_conditions for arm newlib (nexe/nlib, force_arm_pnacl)
779 }, 797 },
780 }], # end target_arch = arm 798 }], # end target_arch = arm
(...skipping 28 matching lines...) Expand all
809 '<(DEPTH)/native_client/build/build_nexe.py', 827 '<(DEPTH)/native_client/build/build_nexe.py',
810 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 828 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
811 '>@(extra_args)', 829 '>@(extra_args)',
812 '--arch', 'mips', 830 '--arch', 'mips',
813 '--build', 'newlib_nexe', 831 '--build', 'newlib_nexe',
814 '--root', '<(DEPTH)', 832 '--root', '<(DEPTH)',
815 '--name', '>(out_newlib_mips)', 833 '--name', '>(out_newlib_mips)',
816 '--objdir', '>(objdir_newlib_mips)', 834 '--objdir', '>(objdir_newlib_mips)',
817 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 835 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
818 '--compile_flags= ^(pnacl_compile_flags) >(_pnacl_compile_flag s) ^(compile_flags) >(_compile_flags)', 836 '--compile_flags= ^(pnacl_compile_flags) >(_pnacl_compile_flag s) ^(compile_flags) >(_compile_flags)',
837 '--gomadir', '<(gomadir)',
819 '--defines=^(defines) >(_defines)', 838 '--defines=^(defines) >(_defines)',
820 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)', 839 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)',
821 '--source-list=^(source_list_newlib_mips)', 840 '--source-list=^(source_list_newlib_mips)',
822 ], 841 ],
823 }, 842 },
824 ], 843 ],
825 }], 844 }],
826 # mips newlib library action 845 # mips newlib library action
827 ['nlib_target!="" and build_newlib!=0', { 846 ['nlib_target!="" and build_newlib!=0', {
828 'variables': { 847 'variables': {
(...skipping 22 matching lines...) Expand all
851 '<(DEPTH)/native_client/build/build_nexe.py', 870 '<(DEPTH)/native_client/build/build_nexe.py',
852 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 871 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
853 '>@(extra_args)', 872 '>@(extra_args)',
854 '--arch', 'mips', 873 '--arch', 'mips',
855 '--build', 'newlib_nlib', 874 '--build', 'newlib_nlib',
856 '--root', '<(DEPTH)', 875 '--root', '<(DEPTH)',
857 '--name', '>(out_newlib_mips)', 876 '--name', '>(out_newlib_mips)',
858 '--objdir', '>(objdir_newlib_mips)', 877 '--objdir', '>(objdir_newlib_mips)',
859 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 878 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
860 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 879 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
880 '--gomadir', '<(gomadir)',
861 '--defines=^(defines) >(_defines)', 881 '--defines=^(defines) >(_defines)',
862 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)', 882 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin k_flags)',
863 '--source-list=^(source_list_newlib_mips)', 883 '--source-list=^(source_list_newlib_mips)',
864 ], 884 ],
865 }, 885 },
866 ], 886 ],
867 }], 887 }],
868 # mips irt nexe action 888 # mips irt nexe action
869 ['nexe_target!="" and build_irt!=0', { 889 ['nexe_target!="" and build_irt!=0', {
870 'variables': { 890 'variables': {
(...skipping 22 matching lines...) Expand all
893 '<(DEPTH)/native_client/build/build_nexe.py', 913 '<(DEPTH)/native_client/build/build_nexe.py',
894 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 914 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
895 '>@(extra_args)', 915 '>@(extra_args)',
896 '--arch', 'mips', 916 '--arch', 'mips',
897 '--build', 'newlib_nexe', 917 '--build', 'newlib_nexe',
898 '--root', '<(DEPTH)', 918 '--root', '<(DEPTH)',
899 '--name', '>(out_newlib_mips)', 919 '--name', '>(out_newlib_mips)',
900 '--objdir', '>(objdir_newlib_mips)', 920 '--objdir', '>(objdir_newlib_mips)',
901 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 921 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
902 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 922 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
923 '--gomadir', '<(gomadir)',
903 '--defines=^(defines) >(_defines)', 924 '--defines=^(defines) >(_defines)',
904 '--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)', 925 '--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)',
905 '--source-list=^(source_list_newlib_mips)', 926 '--source-list=^(source_list_newlib_mips)',
906 ], 927 ],
907 }, 928 },
908 ], 929 ],
909 }], 930 }],
910 # mips IRT library action 931 # mips IRT library action
911 ['nlib_target!="" and build_irt!=0', { 932 ['nlib_target!="" and build_irt!=0', {
912 'variables': { 933 'variables': {
(...skipping 22 matching lines...) Expand all
935 '<(DEPTH)/native_client/build/build_nexe.py', 956 '<(DEPTH)/native_client/build/build_nexe.py',
936 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 957 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
937 '>@(extra_args)', 958 '>@(extra_args)',
938 '--arch', 'mips', 959 '--arch', 'mips',
939 '--build', 'newlib_nlib', 960 '--build', 'newlib_nlib',
940 '--root', '<(DEPTH)', 961 '--root', '<(DEPTH)',
941 '--name', '>(out_newlib_mips)', 962 '--name', '>(out_newlib_mips)',
942 '--objdir', '>(objdir_newlib_mips)', 963 '--objdir', '>(objdir_newlib_mips)',
943 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)', 964 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in clude_dirs)',
944 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)', 965 '--compile_flags= ^(compile_flags) >(_compile_flags) ^(pnacl_c ompile_flags) >(_pnacl_compile_flags)',
966 '--gomadir', '<(gomadir)',
945 '--defines=^(defines) >(_defines)', 967 '--defines=^(defines) >(_defines)',
946 '--link_flags=-B>(tc_lib_dir_irt_mips) ^(link_flags) >(_link_f lags)', 968 '--link_flags=-B>(tc_lib_dir_irt_mips) ^(link_flags) >(_link_f lags)',
947 '--source-list=^(source_list_newlib_mips)', 969 '--source-list=^(source_list_newlib_mips)',
948 ], 970 ],
949 }, 971 },
950 ], 972 ],
951 }], 973 }],
952 ], # end target_conditions for mips newlib 974 ], # end target_conditions for mips newlib
953 }, 975 },
954 }], # end target_arch = mips 976 }], # end target_arch = mips
(...skipping 28 matching lines...) Expand all
983 '<(DEPTH)/native_client/build/build_nexe.py', 1005 '<(DEPTH)/native_client/build/build_nexe.py',
984 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1006 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
985 '>@(extra_args)', 1007 '>@(extra_args)',
986 '--arch', 'x86-64', 1008 '--arch', 'x86-64',
987 '--build', 'glibc_nexe', 1009 '--build', 'glibc_nexe',
988 '--root', '<(DEPTH)', 1010 '--root', '<(DEPTH)',
989 '--name', '>(out_glibc64)', 1011 '--name', '>(out_glibc64)',
990 '--objdir', '>(objdir_glibc64)', 1012 '--objdir', '>(objdir_glibc64)',
991 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1013 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
992 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1014 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1015 '--gomadir', '<(gomadir)',
993 '--defines=^(defines) >(_defines)', 1016 '--defines=^(defines) >(_defines)',
994 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1017 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
995 '--source-list=^(source_list_glibc64)', 1018 '--source-list=^(source_list_glibc64)',
996 ], 1019 ],
997 }, 1020 },
998 ], 1021 ],
999 }], 1022 }],
1000 # x86-32 glibc nexe action 1023 # x86-32 glibc nexe action
1001 ['nexe_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', { 1024 ['nexe_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', {
1002 'variables': { 1025 'variables': {
(...skipping 22 matching lines...) Expand all
1025 '<(DEPTH)/native_client/build/build_nexe.py', 1048 '<(DEPTH)/native_client/build/build_nexe.py',
1026 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1049 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1027 '>@(extra_args)', 1050 '>@(extra_args)',
1028 '--arch', 'x86-32', 1051 '--arch', 'x86-32',
1029 '--build', 'glibc_nexe', 1052 '--build', 'glibc_nexe',
1030 '--root', '<(DEPTH)', 1053 '--root', '<(DEPTH)',
1031 '--name', '>(out_glibc32)', 1054 '--name', '>(out_glibc32)',
1032 '--objdir', '>(objdir_glibc32)', 1055 '--objdir', '>(objdir_glibc32)',
1033 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1056 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1034 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1057 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1058 '--gomadir', '<(gomadir)',
1035 '--defines=^(defines) >(_defines)', 1059 '--defines=^(defines) >(_defines)',
1036 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1060 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1037 '--source-list=^(source_list_glibc32)', 1061 '--source-list=^(source_list_glibc32)',
1038 ], 1062 ],
1039 }, 1063 },
1040 ], 1064 ],
1041 }], 1065 }],
1042 # x86-64 glibc static library action 1066 # x86-64 glibc static library action
1043 ['nlib_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable _glibc==0', { 1067 ['nlib_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable _glibc==0', {
1044 'variables': { 1068 'variables': {
(...skipping 22 matching lines...) Expand all
1067 '<(DEPTH)/native_client/build/build_nexe.py', 1091 '<(DEPTH)/native_client/build/build_nexe.py',
1068 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1092 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1069 '>@(extra_args)', 1093 '>@(extra_args)',
1070 '--arch', 'x86-64', 1094 '--arch', 'x86-64',
1071 '--build', 'glibc_nlib', 1095 '--build', 'glibc_nlib',
1072 '--root', '<(DEPTH)', 1096 '--root', '<(DEPTH)',
1073 '--name', '>(out_glibc64)', 1097 '--name', '>(out_glibc64)',
1074 '--objdir', '>(objdir_glibc64)', 1098 '--objdir', '>(objdir_glibc64)',
1075 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1099 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1076 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1100 '--compile_flags=-m64 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1101 '--gomadir', '<(gomadir)',
1077 '--defines=^(defines) >(_defines)', 1102 '--defines=^(defines) >(_defines)',
1078 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1103 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
1079 '--source-list=^(source_list_glibc64)', 1104 '--source-list=^(source_list_glibc64)',
1080 ], 1105 ],
1081 }, 1106 },
1082 ], 1107 ],
1083 }], 1108 }],
1084 # x86-32 glibc static library action 1109 # x86-32 glibc static library action
1085 ['nlib_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', { 1110 ['nlib_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable _glibc==0', {
1086 'variables': { 1111 'variables': {
(...skipping 22 matching lines...) Expand all
1109 '<(DEPTH)/native_client/build/build_nexe.py', 1134 '<(DEPTH)/native_client/build/build_nexe.py',
1110 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1135 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1111 '>@(extra_args)', 1136 '>@(extra_args)',
1112 '--arch', 'x86-32', 1137 '--arch', 'x86-32',
1113 '--build', 'glibc_nlib', 1138 '--build', 'glibc_nlib',
1114 '--root', '<(DEPTH)', 1139 '--root', '<(DEPTH)',
1115 '--name', '>(out_glibc32)', 1140 '--name', '>(out_glibc32)',
1116 '--objdir', '>(objdir_glibc32)', 1141 '--objdir', '>(objdir_glibc32)',
1117 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1142 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1118 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)', 1143 '--compile_flags=-m32 ^(gcc_compile_flags) >(_gcc_compile_fla gs) ^(compile_flags) >(_compile_flags)',
1144 '--gomadir', '<(gomadir)',
1119 '--defines=^(defines) >(_defines)', 1145 '--defines=^(defines) >(_defines)',
1120 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1146 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1121 '--source-list=^(source_list_glibc32)', 1147 '--source-list=^(source_list_glibc32)',
1122 ], 1148 ],
1123 }, 1149 },
1124 ], 1150 ],
1125 }], 1151 }],
1126 # x86-64 glibc shared library action 1152 # x86-64 glibc shared library action
1127 ['nso_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable_ glibc==0', { 1153 ['nso_target!="" and build_glibc!=0 and enable_x86_64!=0 and disable_ glibc==0', {
1128 'variables': { 1154 'variables': {
(...skipping 22 matching lines...) Expand all
1151 '<(DEPTH)/native_client/build/build_nexe.py', 1177 '<(DEPTH)/native_client/build/build_nexe.py',
1152 '>@(extra_args)', 1178 '>@(extra_args)',
1153 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1179 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1154 '--arch', 'x86-64', 1180 '--arch', 'x86-64',
1155 '--build', 'glibc_nso', 1181 '--build', 'glibc_nso',
1156 '--root', '<(DEPTH)', 1182 '--root', '<(DEPTH)',
1157 '--name', '>(out_glibc64)', 1183 '--name', '>(out_glibc64)',
1158 '--objdir', '>(objdir_glibc64)', 1184 '--objdir', '>(objdir_glibc64)',
1159 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1185 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1160 '--compile_flags=-m64 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)', 1186 '--compile_flags=-m64 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)',
1187 '--gomadir', '<(gomadir)',
1161 '--defines=^(defines) >(_defines)', 1188 '--defines=^(defines) >(_defines)',
1162 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)', 1189 '--link_flags=-B>(tc_lib_dir_glibc64) ^(link_flags) >(_link_f lags)',
1163 '--source-list=^(source_list_glibc64)', 1190 '--source-list=^(source_list_glibc64)',
1164 ], 1191 ],
1165 }, 1192 },
1166 ], 1193 ],
1167 }], 1194 }],
1168 # x86-32 glibc shared library action 1195 # x86-32 glibc shared library action
1169 ['nso_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable_ glibc==0', { 1196 ['nso_target!="" and build_glibc!=0 and enable_x86_32!=0 and disable_ glibc==0', {
1170 'variables': { 1197 'variables': {
(...skipping 22 matching lines...) Expand all
1193 '<(DEPTH)/native_client/build/build_nexe.py', 1220 '<(DEPTH)/native_client/build/build_nexe.py',
1194 '>@(extra_args)', 1221 '>@(extra_args)',
1195 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1222 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1196 '--arch', 'x86-32', 1223 '--arch', 'x86-32',
1197 '--build', 'glibc_nso', 1224 '--build', 'glibc_nso',
1198 '--root', '<(DEPTH)', 1225 '--root', '<(DEPTH)',
1199 '--name', '>(out_glibc32)', 1226 '--name', '>(out_glibc32)',
1200 '--objdir', '>(objdir_glibc32)', 1227 '--objdir', '>(objdir_glibc32)',
1201 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)', 1228 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in clude_dirs)',
1202 '--compile_flags=-m32 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)', 1229 '--compile_flags=-m32 -fPIC ^(gcc_compile_flags) >(_gcc_compi le_flags) ^(compile_flags) >(_compile_flags)',
1230 '--gomadir', '<(gomadir)',
1203 '--defines=^(defines) >(_defines)', 1231 '--defines=^(defines) >(_defines)',
1204 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)', 1232 '--link_flags=-m32 -B>(tc_lib_dir_glibc32) ^(link_flags) >(_l ink_flags)',
1205 '--source-list=^(source_list_glibc32)', 1233 '--source-list=^(source_list_glibc32)',
1206 ], 1234 ],
1207 }, 1235 },
1208 ], 1236 ],
1209 }], 1237 }],
1210 ], # end target_conditions for glibc (nexe/nlib/nso, x86-32/64) 1238 ], # end target_conditions for glibc (nexe/nlib/nso, x86-32/64)
1211 }, 1239 },
1212 }], # end target_arch == ia32 or x64 1240 }], # end target_arch == ia32 or x64
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 '<(DEPTH)/native_client/build/build_nexe.py', 1310 '<(DEPTH)/native_client/build/build_nexe.py',
1283 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1311 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1284 '>@(extra_args)', 1312 '>@(extra_args)',
1285 '--arch', 'pnacl', 1313 '--arch', 'pnacl',
1286 '--build', 'newlib_pexe', 1314 '--build', 'newlib_pexe',
1287 '--root', '<(DEPTH)', 1315 '--root', '<(DEPTH)',
1288 '--name', '>(out_pnacl_newlib)', 1316 '--name', '>(out_pnacl_newlib)',
1289 '--objdir', '>(objdir_pnacl_newlib)', 1317 '--objdir', '>(objdir_pnacl_newlib)',
1290 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)', 1318 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)',
1291 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)', 1319 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
1320 '--gomadir', '<(gomadir)',
1292 '--defines=^(defines) >(_defines)', 1321 '--defines=^(defines) >(_defines)',
1293 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)', 1322 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)',
1294 '--source-list=^(source_list_pnacl_newlib)', 1323 '--source-list=^(source_list_pnacl_newlib)',
1295 ], 1324 ],
1296 }], 1325 }],
1297 'target_conditions': [ 1326 'target_conditions': [
1298 [ 'enable_x86_32!=0', { 1327 [ 'enable_x86_32!=0', {
1299 'actions': [{ 1328 'actions': [{
1300 'action_name': 'translate newlib pexe to x86-32 nexe', 1329 'action_name': 'translate newlib pexe to x86-32 nexe',
1301 'msvs_cygwin_shell': 0, 1330 'msvs_cygwin_shell': 0,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 '<(DEPTH)/native_client/build/build_nexe.py', 1429 '<(DEPTH)/native_client/build/build_nexe.py',
1401 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 1430 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
1402 '>@(extra_args)', 1431 '>@(extra_args)',
1403 '--arch', 'pnacl', 1432 '--arch', 'pnacl',
1404 '--build', 'newlib_plib', 1433 '--build', 'newlib_plib',
1405 '--root', '<(DEPTH)', 1434 '--root', '<(DEPTH)',
1406 '--name', '>(out_pnacl_newlib)', 1435 '--name', '>(out_pnacl_newlib)',
1407 '--objdir', '>(objdir_pnacl_newlib)', 1436 '--objdir', '>(objdir_pnacl_newlib)',
1408 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)', 1437 '--include-dirs=>(tc_include_dir_pnacl_newlib) ^(include_dirs) >(_ include_dirs)',
1409 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)', 1438 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
1439 '--gomadir', '<(gomadir)',
1410 '--defines=^(defines) >(_defines)', 1440 '--defines=^(defines) >(_defines)',
1411 '--link_flags=-B>(tc_lib_dir_pnacl_newlib) ^(link_flags) >(_link_f lags)', 1441 '--link_flags=-B>(tc_lib_dir_pnacl_newlib) ^(link_flags) >(_link_f lags)',
1412 '--source-list=^(source_list_pnacl_newlib)', 1442 '--source-list=^(source_list_pnacl_newlib)',
1413 ], 1443 ],
1414 }, 1444 },
1415 ], 1445 ],
1416 }], 1446 }],
1417 ], # end target_conditions for pnacl pexe/plib 1447 ], # end target_conditions for pnacl pexe/plib
1418 }, 1448 },
1419 } 1449 }
OLDNEW
« build/build_nexe.py ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698