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

Side by Side Diff: third_party/instrumented_libraries/standard_instrumented_library_target.gypi

Issue 337613008: Instrumented libraries: move build-flags-related logic to the GYP file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
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.
7
8 {
9 'target_name': '<(_sanitizer_type)-<(_library_name)',
10 'type': 'none',
11 'actions': [
12 {
13 'action_name': '<(_library_name)',
14 'inputs': [
15 # TODO(earthdok): reintroduce some sort of dependency
16 # See http://crbug.com/343515
17 #'download_build_install.py',
18 ],
19 'outputs': [
20 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_library_nam e).txt',
21 ],
22 'action': ['<(DEPTH)/third_party/instrumented_libraries/download_build_ins tall.py',
23 '--product-directory=<(PRODUCT_DIR)',
24 '--library=<(_library_name)',
25 '--intermediate-directory=<(INTERMEDIATE_DIR)',
26 '--sanitizer-type=<(_sanitizer_type)',
27 '--extra-configure-flags=<(_extra_configure_flags)',
28 '--extra-cflags=<(_extra_cflags)',
29 '--extra-cxxflags=<(_extra_cxxflags)',
30 '--extra-ldflags=<(_extra_ldflags)',
31 '--run-before-build=<(_run_before_build)',
32 '--cc=<(_cc)',
33 '--cxx=<(_cxx)',
34 '--jobs=<(_jobs)',
35 '--build-method=<(_build_method)',
36 '--sanitizer-blacklist=<(_sanitizer_blacklist)',
37 ],
38 'conditions': [
39 ['verbose_libraries_build==1', {
40 'action+': [
41 '--verbose',
42 ],
43 }],
44 ]
45 },
46 ],
47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698