Index: third_party/instrumented_libraries/instrumented_libraries.gyp |
=================================================================== |
--- third_party/instrumented_libraries/instrumented_libraries.gyp (revision 0) |
+++ third_party/instrumented_libraries/instrumented_libraries.gyp (revision 0) |
@@ -0,0 +1,67 @@ |
+# Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'instrumented_libraries', |
+ 'type': 'none', |
+ 'variables': { |
+ '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.
|
+ }, |
+ 'dependencies': [ |
+ 'libpng12-0', |
+ 'libxau6', |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': 'fix_rpaths', |
+ 'inputs': [ |
+ 'fix_rpaths', |
+ ], |
+ 'outputs': [ |
+ '<(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
|
+ ], |
+ 'action': ['./fix_rpaths', '<(PRODUCT_DIR)/instrumented_libraries/asan'], |
+ }, |
+ ], |
+ }, |
+ { |
+ '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
|
+ 'type': 'none', |
+ 'dependencies=': [ |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': '<(_target_name)', |
+ 'inputs': [ |
+ 'download_build_install', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/instrumented_libraries/asan/<(_target_name).txt', |
+ ], |
+ '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
|
+ }, |
+ ], |
+ }, |
+ { |
+ 'target_name': 'libxau6', |
+ 'type': 'none', |
+ 'dependencies=': [ |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': '<(_target_name)', |
+ 'inputs': [ |
+ 'download_build_install', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/instrumented_libraries/asan/<(_target_name).txt', |
+ ], |
+ 'action': ['./download_build_install', '-i', '<(PRODUCT_DIR)', '-l', '<(_target_name)', '-m', '<(INTERMEDIATE_DIR)', '-s', 'asan'], |
+ }, |
+ ], |
+ }, |
+ ], |
+} |
Property changes on: third_party/instrumented_libraries/instrumented_libraries.gyp |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |