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

Side by Side Diff: build/common.gypi

Issue 7973003: Making TOOLKIT_USES_GTK orthogonal to USE_AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 | « no previous file | chrome/browser/chrome_browser_main_posix.cc » ('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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 'use_skia%': 1, 225 'use_skia%': 1,
226 }], 226 }],
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 # Flag to use X11 on non-Mac POSIX platforms
236 ['OS=="win" or OS=="mac"', { 236 ['OS=="win" or OS=="mac"', {
237 'toolkit_uses_gtk%': 0,
238 'use_x11%': 0, 237 'use_x11%': 0,
239 }, { 238 }, {
240 # TODO(dnicoara) Wayland build should have these disabled, but 239 'use_x11%': 1,
241 # currently GTK and X is too spread and it's hard to completely 240 }],
242 # remove every dependency. 241
242 # Flag to use Gtk on non-Aura and non-Mac POSIX platforms
243 ['OS=="win" or OS=="mac" or use_aura==1', {
244 'toolkit_uses_gtk%': 0,
245 }, {
sadrul 2011/09/20 18:35:57 I think this needs to have some more change (http:
243 'toolkit_uses_gtk%': 1, 246 'toolkit_uses_gtk%': 1,
244 'use_x11%': 1,
245 }], 247 }],
246 248
247 # A flag to enable or disable our compile-time dependency 249 # A flag to enable or disable our compile-time dependency
248 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 250 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
249 # support will be available. This option is useful 251 # support will be available. This option is useful
250 # for Linux distributions. 252 # for Linux distributions.
251 ['chromeos==1', { 253 ['chromeos==1', {
252 'use_gnome_keyring%': 0, 254 'use_gnome_keyring%': 0,
253 }, { 255 }, {
254 'use_gnome_keyring%': 1, 256 'use_gnome_keyring%': 1,
(...skipping 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 # settings in target dicts. SYMROOT is a special case, because many other 2057 # settings in target dicts. SYMROOT is a special case, because many other
2056 # Xcode variables depend on it, including variables such as 2058 # Xcode variables depend on it, including variables such as
2057 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2059 # 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 2060 # 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 2061 # 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, 2062 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2061 # and therefore SYMROOT, needs to be set at the project level. 2063 # and therefore SYMROOT, needs to be set at the project level.
2062 'SYMROOT': '<(DEPTH)/xcodebuild', 2064 'SYMROOT': '<(DEPTH)/xcodebuild',
2063 }, 2065 },
2064 } 2066 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698