1 # Copyright 2014 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.
5 # This file is meant to be included into a target for instrumented dynamic
6 # packages and describes standard build action for most of the packages.
9 'target_name': '<(_sanitizer_type)-<(_package_name)',
13 'action_name': '<(_package_name)',
15 # TODO(earthdok): reintroduce some sort of dependency
16 # See http://crbug.com/343515
17 #'download_build_install.py',
20 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_name).txt',
22 'action': ['scripts/download_build_install.py',
23 '--build-method=>(_build_method)',
25 '--cflags=>(_package_cflags)',
27 '--extra-configure-flags=>(_extra_configure_flags)',
28 '--intermediate-dir=<(INTERMEDIATE_DIR)',
30 '--ldflags=>(_package_ldflags)',
31 '--libdir=<(_libdir)',
32 '--package=<(_package_name)',
33 '--product-dir=<(PRODUCT_DIR)',
34 '--sanitizer=<(_sanitizer_type)',
37 ['verbose_libraries_build==1', {
43 'target_conditions': [
52 ['">(_pre_build)"!=""', {
54 '--pre-build=>(_pre_build)',
60 ['">(_<(_sanitizer_type)_blacklist)"!=""', {
62 '--sanitizer-blacklist=>(_<(_sanitizer_type)_blacklist)',
65 '>(_<(_sanitizer_type)_blacklist)',