Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'instrumented_libraries', | |
| 9 'type': 'none', | |
| 10 'variables': { | |
| 11 'prune_self_dependency': 1, | |
|
Nico
2013/10/30 14:47:02
Do you need this?
alextaran1
2013/10/30 16:08:54
cyclic dependency otherwise.
| |
| 12 }, | |
| 13 'dependencies': [ | |
| 14 'libpng12-0', | |
| 15 'libxau6', | |
| 16 ], | |
| 17 'actions': [ | |
| 18 { | |
| 19 'action_name': 'fix_rpaths', | |
| 20 'inputs': [ | |
| 21 'fix_rpaths', | |
| 22 ], | |
| 23 'outputs': [ | |
| 24 '<(PRODUCT_DIR)/instrumented_libraries/asan/rpaths.fixed.txt', | |
|
Nico
2013/10/30 14:47:02
build outputs generally shouldn't be written into
alextaran1
2013/10/30 16:08:54
Build outputs are actually "*.so" files and many o
Nico
2013/11/02 00:05:02
Sorry, <(PRODUCT_DIR) evaluates to a build directo
| |
| 25 ], | |
| 26 'action': ['./fix_rpaths', '<(PRODUCT_DIR)/instrumented_libraries/asan '], | |
| 27 }, | |
| 28 ], | |
| 29 }, | |
| 30 { | |
| 31 'target_name': 'libpng12-0', | |
|
Nico
2013/10/30 14:47:02
Is the idea to have one target like this for every
alextaran1
2013/10/30 16:08:54
Yes.
Nico
2013/11/02 00:05:02
Hm. What's the advantage of downloading binaries o
| |
| 32 'type': 'none', | |
| 33 'dependencies=': [ | |
| 34 ], | |
| 35 'actions': [ | |
| 36 { | |
| 37 'action_name': '<(_target_name)', | |
| 38 'inputs': [ | |
| 39 'download_build_install', | |
| 40 ], | |
| 41 'outputs': [ | |
| 42 '<(PRODUCT_DIR)/instrumented_libraries/asan/<(_target_name).txt', | |
| 43 ], | |
| 44 'action': ['./download_build_install', '-i', '<(PRODUCT_DIR)', '-l', ' <(_target_name)', '-m', '<(INTERMEDIATE_DIR)', '-s', 'asan'], | |
|
Nico
2013/11/02 00:05:02
If you want to keep the download action, please mo
| |
| 45 }, | |
| 46 ], | |
| 47 }, | |
| 48 { | |
| 49 'target_name': 'libxau6', | |
| 50 'type': 'none', | |
| 51 'dependencies=': [ | |
| 52 ], | |
| 53 'actions': [ | |
| 54 { | |
| 55 'action_name': '<(_target_name)', | |
| 56 'inputs': [ | |
| 57 'download_build_install', | |
| 58 ], | |
| 59 'outputs': [ | |
| 60 '<(PRODUCT_DIR)/instrumented_libraries/asan/<(_target_name).txt', | |
| 61 ], | |
| 62 'action': ['./download_build_install', '-i', '<(PRODUCT_DIR)', '-l', ' <(_target_name)', '-m', '<(INTERMEDIATE_DIR)', '-s', 'asan'], | |
| 63 }, | |
| 64 ], | |
| 65 }, | |
| 66 ], | |
| 67 } | |
| OLD | NEW |