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

Side by Side Diff: build/common.gypi

Issue 7904034: aura: Explicitly disable GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « build/build_config.h ('k') | build/linux/system.gyp » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 # A flag for POSIX platforms 228 # A flag for POSIX platforms
229 ['OS=="win"', { 229 ['OS=="win"', {
230 'os_posix%': 0, 230 'os_posix%': 0,
231 }, { 231 }, {
232 'os_posix%': 1, 232 'os_posix%': 1,
233 }], 233 }],
234 234
235 # Flags to use Gtk and X11 on non-Mac POSIX platforms 235 # Flags to use Gtk and X11 on non-Mac POSIX platforms
236 ['OS=="win" or OS=="mac"', { 236 ['OS=="win" or OS=="mac"', {
237 'use_glib%': 0,
237 'toolkit_uses_gtk%': 0, 238 'toolkit_uses_gtk%': 0,
238 'use_x11%': 0, 239 'use_x11%': 0,
239 }, { 240 }, {
240 # TODO(dnicoara) Wayland build should have these disabled, but 241 # TODO(dnicoara) Wayland build should have these disabled, but
241 # currently GTK and X is too spread and it's hard to completely 242 # currently GTK and X is too spread and it's hard to completely
242 # remove every dependency. 243 # remove every dependency.
244 'use_glib%': 1,
243 'toolkit_uses_gtk%': 1, 245 'toolkit_uses_gtk%': 1,
244 'use_x11%': 1, 246 'use_x11%': 1,
245 }], 247 }],
248 ['use_aura==1', {
249 'use_glib%': 1,
250 'toolkit_uses_gtk%': 0,
251 'use_x11%': 1,
252 }],
246 253
247 # A flag to enable or disable our compile-time dependency 254 # A flag to enable or disable our compile-time dependency
248 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 255 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
249 # support will be available. This option is useful 256 # support will be available. This option is useful
250 # for Linux distributions. 257 # for Linux distributions.
251 ['chromeos==1', { 258 ['chromeos==1', {
252 'use_gnome_keyring%': 0, 259 'use_gnome_keyring%': 0,
253 }, { 260 }, {
254 'use_gnome_keyring%': 1, 261 'use_gnome_keyring%': 1,
255 }], 262 }],
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 'branding%': '<(branding)', 300 'branding%': '<(branding)',
294 'buildtype%': '<(buildtype)', 301 'buildtype%': '<(buildtype)',
295 'target_arch%': '<(target_arch)', 302 'target_arch%': '<(target_arch)',
296 'host_arch%': '<(host_arch)', 303 'host_arch%': '<(host_arch)',
297 'library%': 'static_library', 304 'library%': 'static_library',
298 'toolkit_views%': '<(toolkit_views)', 305 'toolkit_views%': '<(toolkit_views)',
299 'use_only_pure_views%': '<(use_only_pure_views)', 306 'use_only_pure_views%': '<(use_only_pure_views)',
300 'views_compositor%': '<(views_compositor)', 307 'views_compositor%': '<(views_compositor)',
301 'use_aura%': '<(use_aura)', 308 'use_aura%': '<(use_aura)',
302 'os_posix%': '<(os_posix)', 309 'os_posix%': '<(os_posix)',
310 'use_glib%': '<(use_glib)',
303 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 311 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
304 'use_skia%': '<(use_skia)', 312 'use_skia%': '<(use_skia)',
305 'use_x11%': '<(use_x11)', 313 'use_x11%': '<(use_x11)',
306 'use_gnome_keyring%': '<(use_gnome_keyring)', 314 'use_gnome_keyring%': '<(use_gnome_keyring)',
307 'linux_fpic%': '<(linux_fpic)', 315 'linux_fpic%': '<(linux_fpic)',
308 'enable_flapper_hacks%': '<(enable_flapper_hacks)', 316 'enable_flapper_hacks%': '<(enable_flapper_hacks)',
309 'chromeos%': '<(chromeos)', 317 'chromeos%': '<(chromeos)',
310 'touchui%': '<(touchui)', 318 'touchui%': '<(touchui)',
311 'webui_dialogs%': '<(webui_dialogs)', 319 'webui_dialogs%': '<(webui_dialogs)',
312 'file_manager_extension%': '<(file_manager_extension)', 320 'file_manager_extension%': '<(file_manager_extension)',
(...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 # settings in target dicts. SYMROOT is a special case, because many other 2063 # settings in target dicts. SYMROOT is a special case, because many other
2056 # Xcode variables depend on it, including variables such as 2064 # Xcode variables depend on it, including variables such as
2057 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2065 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2058 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2066 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2059 # files to appear (when present) in the UI as actual files and not red 2067 # files to appear (when present) in the UI as actual files and not red
2060 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2068 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2061 # and therefore SYMROOT, needs to be set at the project level. 2069 # and therefore SYMROOT, needs to be set at the project level.
2062 'SYMROOT': '<(DEPTH)/xcodebuild', 2070 'SYMROOT': '<(DEPTH)/xcodebuild',
2063 }, 2071 },
2064 } 2072 }
OLDNEW
« no previous file with comments | « build/build_config.h ('k') | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698