| 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 'type': 'none', | 9 'type': 'none', |
| 10 'actions': [ | 10 'actions': [ |
| 11 { | 11 { |
| 12 'action_name': '<(_target_name)', | 12 'action_name': '<(_target_name)', |
| 13 'inputs': [ | 13 'inputs': [ |
| 14 'download_build_install.py', | 14 'download_build_install.py', |
| 15 ], | 15 ], |
| 16 'outputs': [ | 16 'outputs': [ |
| 17 '<(PRODUCT_DIR)/instrumented_libraries/asan/<(_target_name).txt', | 17 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_target_name
).txt', |
| 18 ], | 18 ], |
| 19 'action': ['./download_build_install.py', '-i', '<(PRODUCT_DIR)', '-l', '<
(_target_name)', '-m', '<(INTERMEDIATE_DIR)', '-s', 'asan'], | 19 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins
tall.py', |
| 20 '--product-directory=<(PRODUCT_DIR)', |
| 21 '--library=<(_target_name)', |
| 22 '--intermediate-directory=<(INTERMEDIATE_DIR)', |
| 23 '--sanitizer-type=<(_sanitizer_type)', |
| 24 ], |
| 20 }, | 25 }, |
| 21 ], | 26 ], |
| 22 } | 27 } |
| OLD | NEW |