Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
+ },
+ '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=': [
+ ],
+ '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'],
+ },
+ ],
+ },
+ {
+ '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

Powered by Google App Engine
This is Rietveld 408576698