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

Side by Side Diff: third_party/instrumented_libraries/BUILD.gn

Issue 2851493005: Add libgnutls26 to instrumented libraries (Closed)
Patch Set: gn format Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/instrumented_libraries/scripts/install-build-deps.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//build/config/sanitizers/sanitizers.gni") 5 import("//build/config/sanitizers/sanitizers.gni")
6 import("//build/toolchain/goma.gni") 6 import("//build/toolchain/goma.gni")
7 7
8 declare_args() { 8 declare_args() {
9 # The platform on which the instrumented libraries are being built. 9 # The platform on which the instrumented libraries are being built.
10 instrumented_libraries_platform = "trusty" 10 instrumented_libraries_platform = "trusty"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ":libxrender1", 145 ":libxrender1",
146 ":libxss1", 146 ":libxss1",
147 ":libxtst6", 147 ":libxtst6",
148 ":nss", 148 ":nss",
149 ":pango1.0", 149 ":pango1.0",
150 ":pulseaudio", 150 ":pulseaudio",
151 ":udev", 151 ":udev",
152 ":zlib1g", 152 ":zlib1g",
153 ] 153 ]
154 if (is_msan) { 154 if (is_msan) {
155 deps += [ ":libcups2" ] 155 deps += [
156 ":libcups2",
157 ":libgnutls26",
158 ]
156 } 159 }
157 if (!is_tsan) { 160 if (!is_tsan) {
158 deps += [ ":libpng12-0" ] 161 deps += [ ":libpng12-0" ]
159 } 162 }
160 data = [ 163 data = [
161 "${root_out_dir}/instrumented_libraries/${sanitizer_type}/lib", 164 "${root_out_dir}/instrumented_libraries/${sanitizer_type}/lib",
162 ] 165 ]
163 } 166 }
164 167
165 config("locally_built_ldflags") { 168 config("locally_built_ldflags") {
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 extra_configure_flags = [ 541 extra_configure_flags = [
539 "--disable-static", 542 "--disable-static",
540 "--enable-tests=no", 543 "--enable-tests=no",
541 544
542 # Make the build less problematic. 545 # Make the build less problematic.
543 "--disable-introspection", 546 "--disable-introspection",
544 ] 547 ]
545 package_ldflags = [ "-Wl,--as-needed" ] 548 package_ldflags = [ "-Wl,--as-needed" ]
546 } 549 }
547 550
551 instrumented_library("libgnutls26") {
552 extra_configure_flags = [
553 # from debian/rules.
554 "--enable-ld-version-script",
555 "--enable-cxx",
556 "--without-lzo",
557 "--disable-guile",
558 "--with-libgcrypt",
559 "--with-packager=Debian",
560 ]
561 }
562
548 instrumented_library("libgpg-error0") { 563 instrumented_library("libgpg-error0") {
549 extra_configure_flags = [ "--disable-static" ] 564 extra_configure_flags = [ "--disable-static" ]
550 } 565 }
551 566
552 instrumented_library("libgtk2.0-0") { 567 instrumented_library("libgtk2.0-0") {
553 package_cflags = [ "-Wno-return-type" ] 568 package_cflags = [ "-Wno-return-type" ]
554 extra_configure_flags = [ 569 extra_configure_flags = [
555 "--disable-static", 570 "--disable-static",
556 571
557 # From debian/rules. 572 # From debian/rules.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 "--disable-gudev", 819 "--disable-gudev",
805 ] 820 ]
806 pre_build = "scripts/pre-build/udev.sh" 821 pre_build = "scripts/pre-build/udev.sh"
807 } 822 }
808 823
809 instrumented_library("zlib1g") { 824 instrumented_library("zlib1g") {
810 # --disable-static is not supported 825 # --disable-static is not supported
811 patch = "patches/zlib1g.diff" 826 patch = "patches/zlib1g.diff"
812 } 827 }
813 } 828 }
OLDNEW
« no previous file with comments | « no previous file | third_party/instrumented_libraries/scripts/install-build-deps.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698