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

Unified Diff: build/common.gypi

Issue 1293073006: Make gtk2/gtk3 compile time switchable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide gkt3 targets when use_gtk3==0. Created 5 years, 4 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 | build/config/linux/gtk/BUILD.gn » ('j') | build/linux/system.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 244b1d0b3883619987979b3629e20aa5fd55623d..cecb4ee7c0e032f7aa35f110afc6e7c47fb019fe 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -708,6 +708,9 @@
# Libxkbcommon usage.
'use_xkbcommon%': 0,
+ # Whether we use GTKv3 on linux.
+ 'use_gtk3%': 0,
+
# Control Flow Integrity for virtual calls and casts.
# See http://clang.llvm.org/docs/ControlFlowIntegrity.html
'cfi_vptr%': 0,
@@ -1132,6 +1135,7 @@
'use_ozone%': '<(use_ozone)',
'use_ozone_evdev%': '<(use_ozone_evdev)',
'use_xkbcommon%': '<(use_xkbcommon)',
+ 'use_gtk3%': '<(use_gtk3)',
'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
'desktop_linux%': '<(desktop_linux)',
'use_x11%': '<(use_x11)',
« no previous file with comments | « no previous file | build/config/linux/gtk/BUILD.gn » ('j') | build/linux/system.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698