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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', | 502 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', |
503 '>@(extra_args)', | 503 '>@(extra_args)', |
504 '--arch', 'x86-32', | 504 '--arch', 'x86-32', |
505 '--build', 'newlib_nexe', | 505 '--build', 'newlib_nexe', |
506 '--root', '<(DEPTH)', | 506 '--root', '<(DEPTH)', |
507 '--name', '>(out_newlib32)', | 507 '--name', '>(out_newlib32)', |
508 '--objdir', '>(objdir_newlib32)', | 508 '--objdir', '>(objdir_newlib32)', |
509 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', | 509 '--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)', | 510 '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags
) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)', |
511 '--defines=^(defines) >(_defines)', | 511 '--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)', | 512 '--link_flags=-m32 -B>(tc_lib_dir_irt32) -Wl,-Trodata-segment
=<(NACL_IRT_DATA_START) -Wl,-Ttext-segment=<(NACL_IRT_TEXT_START) ^(link_flags)
>(_link_flags)', |
513 '--source-list=^(source_list_newlib32)', | 513 '--source-list=^(source_list_newlib32)', |
514 ], | 514 ], |
515 }, | 515 }, |
516 ], | 516 ], |
517 }], | 517 }], |
518 # x86-32 IRT library build | 518 # x86-32 IRT library build |
519 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', { | 519 ['nlib_target!="" and build_irt!=0 and enable_x86_32!=0', { |
520 'variables': { | 520 'variables': { |
521 'tool_name': 'irt', | 521 'tool_name': 'irt', |
522 'out_newlib32%': '<(SHARED_INTERMEDIATE_DIR)/tc_<(tool_name)/lib
32/>(nlib_target)', | 522 'out_newlib32%': '<(SHARED_INTERMEDIATE_DIR)/tc_<(tool_name)/lib
32/>(nlib_target)', |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1410 '--defines=^(defines) >(_defines)', | 1410 '--defines=^(defines) >(_defines)', |
1411 '--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)', |
1412 '--source-list=^(source_list_pnacl_newlib)', | 1412 '--source-list=^(source_list_pnacl_newlib)', |
1413 ], | 1413 ], |
1414 }, | 1414 }, |
1415 ], | 1415 ], |
1416 }], | 1416 }], |
1417 ], # end target_conditions for pnacl pexe/plib | 1417 ], # end target_conditions for pnacl pexe/plib |
1418 }, | 1418 }, |
1419 } | 1419 } |
OLD | NEW |