| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'verbose_libraries_build%': 0, | 7 'verbose_libraries_build%': 0, |
| 8 'instrumented_libraries_jobs%': 1, | 8 'instrumented_libraries_jobs%': 1, |
| 9 }, | 9 }, |
| 10 | 10 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 'dependencies': [ | 150 'dependencies': [ |
| 151 '<(_sanitizer_type)-libcups2', | 151 '<(_sanitizer_type)-libcups2', |
| 152 ], | 152 ], |
| 153 }], | 153 }], |
| 154 ['tsan==1', { | 154 ['tsan==1', { |
| 155 'dependencies!': [ | 155 'dependencies!': [ |
| 156 '<(_sanitizer_type)-libpng12-0', | 156 '<(_sanitizer_type)-libpng12-0', |
| 157 ], | 157 ], |
| 158 }], | 158 }], |
| 159 ], | 159 ], |
| 160 'actions': [ | |
| 161 { | |
| 162 'action_name': 'fix_rpaths', | |
| 163 'inputs': [ | |
| 164 'fix_rpaths.sh', | |
| 165 ], | |
| 166 'outputs': [ | |
| 167 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fix
ed.txt', | |
| 168 ], | |
| 169 'action': [ | |
| 170 './fix_rpaths.sh', | |
| 171 '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)' | |
| 172 ], | |
| 173 }, | |
| 174 ], | |
| 175 'direct_dependent_settings': { | 160 'direct_dependent_settings': { |
| 176 'target_conditions': [ | 161 'target_conditions': [ |
| 177 ['_toolset=="target"', { | 162 ['_toolset=="target"', { |
| 178 'ldflags': [ | 163 'ldflags': [ |
| 179 # Add RPATH to result binary to make it linking instrumented libra
ries ($ORIGIN means relative RPATH) | 164 # Add RPATH to result binary to make it linking instrumented libra
ries ($ORIGIN means relative RPATH) |
| 180 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/:\
$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/usr/lib/x86_64-linux-gnu/', | 165 '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/', |
| 181 '-Wl,-z,origin', | 166 '-Wl,-z,origin', |
| 182 ], | 167 ], |
| 183 }], | 168 }], |
| 184 ], | 169 ], |
| 185 }, | 170 }, |
| 186 }, | 171 }, |
| 187 { | 172 { |
| 188 'package_name': 'freetype', | 173 'package_name': 'freetype', |
| 189 'dependencies=': [], | 174 'dependencies=': [], |
| 190 'run_before_build': 'scripts/freetype.sh', | 175 'run_before_build': 'scripts/freetype.sh', |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 '--with-graphite2=yes', | 663 '--with-graphite2=yes', |
| 679 '--with-gobject', | 664 '--with-gobject', |
| 680 # See above. | 665 # See above. |
| 681 '--disable-introspection', | 666 '--disable-introspection', |
| 682 ], | 667 ], |
| 683 'dependencies=': [], | 668 'dependencies=': [], |
| 684 'includes': ['standard_instrumented_package_target.gypi'], | 669 'includes': ['standard_instrumented_package_target.gypi'], |
| 685 }, | 670 }, |
| 686 ], | 671 ], |
| 687 } | 672 } |
| OLD | NEW |