OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is meant to be included into a target for instrumented dynamic | 5 # This file is meant to be included into a target for instrumented dynamic |
6 # libraries and describes standard build action for most of the libraries. | 6 # libraries and describes standard build action for most of the libraries. |
7 | 7 |
8 { | 8 { |
9 'target_name': '<(_sanitizer_type)-<(_library_name)', | 9 'target_name': '<(_sanitizer_type)-<(_library_name)', |
10 'type': 'none', | 10 'type': 'none', |
11 'actions': [ | 11 'actions': [ |
12 { | 12 { |
13 'action_name': '<(_library_name)', | 13 'action_name': '<(_library_name)', |
14 'inputs': [ | 14 'inputs': [ |
15 'download_build_install.py', | 15 # TODO(earthdok): reintroduce some sort of dependency |
| 16 # See http://crbug.com/343515 |
| 17 #'download_build_install.py', |
16 ], | 18 ], |
17 'outputs': [ | 19 'outputs': [ |
18 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_library_nam
e).txt', | 20 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_library_nam
e).txt', |
19 ], | 21 ], |
20 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins
tall.py', | 22 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins
tall.py', |
21 '--product-directory=<(PRODUCT_DIR)', | 23 '--product-directory=<(PRODUCT_DIR)', |
22 '--library=<(_library_name)', | 24 '--library=<(_library_name)', |
23 '--intermediate-directory=<(INTERMEDIATE_DIR)', | 25 '--intermediate-directory=<(INTERMEDIATE_DIR)', |
24 '--sanitizer-type=<(_sanitizer_type)', | 26 '--sanitizer-type=<(_sanitizer_type)', |
25 '--custom-configure-flags=<(_custom_configure_flags)', | 27 '--custom-configure-flags=<(_custom_configure_flags)', |
26 '--custom-c-compiler-flags=<(_custom_c_compiler_flags)', | 28 '--custom-c-compiler-flags=<(_custom_c_compiler_flags)', |
27 '--custom-cxx-compiler-flags=<(_custom_cxx_compiler_flags)', | 29 '--custom-cxx-compiler-flags=<(_custom_cxx_compiler_flags)', |
28 '--custom-linker-flags=<(_custom_linker_flags)', | 30 '--custom-linker-flags=<(_custom_linker_flags)', |
29 '--run-before-build=<(_run_before_build)', | 31 '--run-before-build=<(_run_before_build)', |
30 '<(_verbose_libraries_build_flag)', | 32 '<(_verbose_libraries_build_flag)', |
31 '--c-compiler=<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', | 33 '--c-compiler=<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', |
32 '--cxx-compiler=<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++'
, | 34 '--cxx-compiler=<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++'
, |
33 ], | 35 ], |
34 }, | 36 }, |
35 ], | 37 ], |
36 } | 38 } |
OLD | NEW |