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