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

Unified Diff: third_party/instrumented_libraries/BUILD.gn

Issue 2737783003: Add GTK3 and dependent instrumented libraries (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/instrumented_libraries/patches/nss.diff » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/BUILD.gn
diff --git a/third_party/instrumented_libraries/BUILD.gn b/third_party/instrumented_libraries/BUILD.gn
index 35b21a404218ad239b916809ea6580708f4f7ff0..b35a0794b4c2922e33cd4cd23712dd476afc303b 100644
--- a/third_party/instrumented_libraries/BUILD.gn
+++ b/third_party/instrumented_libraries/BUILD.gn
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/config/linux/gtk/gtk.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/toolchain/goma.gni")
@@ -111,6 +110,8 @@ if (use_locally_built_instrumented_libraries) {
":freetype",
":libappindicator1",
":libasound2",
+ ":libatk-bridge2.0-0",
+ ":libatspi2.0-0",
":libcairo2",
":libcap2",
":libcredentialkit_pkcs11",
@@ -123,9 +124,12 @@ if (use_locally_built_instrumented_libraries) {
":libfontconfig1",
":libgconf-2-4",
":libgcrypt11",
+ ":libgdk-pixbuf2.0-0",
":libglib2.0-0",
":libgnome-keyring0",
":libgpg-error0",
+ ":libgtk2.0-0",
+ ":libgtk-3-0",
":libnspr4",
":libp11-kit0",
":libpci3",
@@ -154,12 +158,6 @@ if (use_locally_built_instrumented_libraries) {
":udev",
":zlib1g",
]
- if (!use_gtk3) {
- deps += [
- ":libgdk-pixbuf2.0-0",
- ":libgtk2.0-0",
- ]
- }
if (is_precise) {
deps += [ ":libtasn1-3" ]
}
@@ -364,6 +362,17 @@ if (use_locally_built_instrumented_libraries) {
pre_build = "scripts/pre-build/libasound2.sh"
}
+ instrumented_library("libatk-bridge2.0-0") {
+ extra_configure_flags = [ "--disable-static" ]
+ }
+
+ instrumented_library("libatspi2.0-0") {
+ extra_configure_flags = [
+ "--disable-static",
+ "--disable-introspection"
+ ]
+ }
+
instrumented_library("libcairo2") {
extra_configure_flags = [
"--disable-gtk-doc",
@@ -580,6 +589,19 @@ if (use_locally_built_instrumented_libraries) {
pre_build = "scripts/pre-build/libgtk2.0-0.sh"
}
+ instrumented_library("libgtk-3-0") {
+ package_cflags = [ "-Wno-return-type" ]
+ extra_configure_flags = [
+ "--disable-static",
+ "--disable-introspection",
+
+ # From debian/rules.
+ "--enable-test-print-backend",
+ "--enable-x11-backend",
+ ]
+ pre_build = "scripts/pre-build/libgtk-3-0.sh"
+ }
+
instrumented_library("libnspr4") {
extra_configure_flags = [
"--enable-64bit",
« no previous file with comments | « no previous file | third_party/instrumented_libraries/patches/nss.diff » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698