| 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 'instrumented_libraries_cc%': '', |
| 10 'instrumented_libraries_cxx%': '', |
| 9 }, | 11 }, |
| 10 | 12 |
| 11 'libdir': 'lib', | 13 'libdir': 'lib', |
| 12 'ubuntu_release': '<!(lsb_release -cs)', | 14 'ubuntu_release': '<!(lsb_release -cs)', |
| 15 'clang_absolute_path': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang'
, |
| 16 'clang++_absolute_path': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clan
g++', |
| 13 | 17 |
| 14 'conditions': [ | 18 'conditions': [ |
| 15 ['asan==1', { | 19 ['asan==1', { |
| 16 'sanitizer_type': 'asan', | 20 'sanitizer_type': 'asan', |
| 17 }], | 21 }], |
| 18 ['msan==1', { | 22 ['msan==1', { |
| 19 'sanitizer_type': 'msan', | 23 'sanitizer_type': 'msan', |
| 20 }], | 24 }], |
| 21 ['tsan==1', { | 25 ['tsan==1', { |
| 22 'sanitizer_type': 'tsan', | 26 'sanitizer_type': 'tsan', |
| 23 }], | 27 }], |
| 24 ['use_goma==1', { | 28 ['use_goma==1', { |
| 25 'cc': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/c
lang', | 29 'cc': '<(gomadir)/gomacc <(_clang_absolute_path)', |
| 26 'cxx': '<(gomadir)/gomacc <!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/
clang++', | 30 'cxx': '<(gomadir)/gomacc <(_clang++_absolute_path)', |
| 27 }, { | 31 }, { |
| 28 'cc': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', | 32 'cc': '<(clang_absolute_path)', |
| 29 'cxx': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++', | 33 'cxx': '<(clang++_absolute_path)', |
| 34 }], |
| 35 # When building with a custom clang, CC/CXX must be overridden via GYP |
| 36 # variables. |
| 37 ['instrumented_libraries_cc!=""', { |
| 38 'cc': '<(instrumented_libraries_cc)', |
| 39 }], |
| 40 ['instrumented_libraries_cxx!=""', { |
| 41 'cxx': '<(instrumented_libraries_cxx)', |
| 30 }], | 42 }], |
| 31 ], | 43 ], |
| 32 | 44 |
| 33 'target_defaults': { | 45 'target_defaults': { |
| 34 'build_method': 'destdir', | 46 'build_method': 'destdir', |
| 35 # Every package must have --disable-static in configure flags to avoid | 47 # Every package must have --disable-static in configure flags to avoid |
| 36 # building unnecessary static libs. Ideally we should add it here. | 48 # building unnecessary static libs. Ideally we should add it here. |
| 37 # Unfortunately, zlib1g doesn't support that flag and for some reason it | 49 # Unfortunately, zlib1g doesn't support that flag and for some reason it |
| 38 # can't be removed with a GYP exclusion list. So instead we add that flag | 50 # can't be removed with a GYP exclusion list. So instead we add that flag |
| 39 # manually to every package but zlib1g. | 51 # manually to every package but zlib1g. |
| (...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 'extra_configure_flags': [ | 865 'extra_configure_flags': [ |
| 854 '--disable-static', | 866 '--disable-static', |
| 855 # See above. | 867 # See above. |
| 856 '--disable-introspection', | 868 '--disable-introspection', |
| 857 ], | 869 ], |
| 858 'pre_build': 'scripts/pre-build/autoreconf.sh', | 870 'pre_build': 'scripts/pre-build/autoreconf.sh', |
| 859 'includes': ['standard_instrumented_package_target.gypi'], | 871 'includes': ['standard_instrumented_package_target.gypi'], |
| 860 }, | 872 }, |
| 861 ], | 873 ], |
| 862 } | 874 } |
| OLD | NEW |