Chromium Code Reviews

Unified Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 50423003: Adds a flag "use_instrumented_libraries" and corresponding target with 2 simple libs (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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) 2012 The Chromium Authors. All rights reserved.
Alexander Potapenko 2013/10/29 13:36:11 It's 2013 already :)
alextaran1 2013/10/30 11:16:29 Done.
+# 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,
+ },
+ 'dependencies': [
+ 'libpng12-0',
+ 'libxau6',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'fix_rpaths',
+ 'inputs': [
+ 'fix_rpaths'
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/instrumented_libraries/asan/rpaths.fixed.txt'
+ ],
+ 'action': ['./fix_rpaths', '<(PRODUCT_DIR)/instrumented_libraries/asan']
+ },
+ ],
+ },
+ {
+ 'target_name': 'libpng12-0',
+ 'type': 'none',
+ 'dependencies=': [
Alexander Potapenko 2013/10/29 13:36:11 No need to have an empty dependency list, please d
Alexander Potapenko 2013/10/29 13:57:04 Please disregard.
alextaran1 2013/10/30 11:16:29 Disregarded. It's needed to remove cyclic dependen
+ ],
+ '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)/instrumented_libraries/asan', '-l', '<(_target_name)', '-m', '<(INTERMEDIATE_DIR)']
+ },
+ ],
+ },
+ {
+ 'target_name': 'libxau6',
Alexander Potapenko 2013/10/29 13:36:11 There's too much boilerplate for each library. I w
alextaran1 2013/10/30 11:16:29 Done nothing. In future, we'll pass different buil
+ '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)/instrumented_libraries/asan', '-l', '<(_target_name)', '-m', '<(INTERMEDIATE_DIR)']
+ },
+ ],
+ },
+ ],
+}
Property changes on: third_party/instrumented_libraries/instrumented_libraries.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine