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

Side by Side Diff: build/common.gypi

Issue 7981030: aura: Have aura and aura_demo build and run without gtk on linux. (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
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 'use_x11%': 0, 230 'use_x11%': 0,
231 }, { 231 }, {
232 # TODO(dnicoara) Wayland build should have these disabled, but 232 # TODO(dnicoara) Wayland build should have these disabled, but
233 # currently GTK and X is too spread and it's hard to completely 233 # currently GTK and X is too spread and it's hard to completely
234 # remove every dependency. 234 # remove every dependency.
235 'use_glib%': 1, 235 'use_glib%': 1,
236 'toolkit_uses_gtk%': 1, 236 'toolkit_uses_gtk%': 1,
237 'use_x11%': 1, 237 'use_x11%': 1,
238 }], 238 }],
239 ['use_aura==1 and OS!="win"', { 239 ['use_aura==1 and OS!="win"', {
240 'toolkit_uses_gtk%': 1, 240 'toolkit_uses_gtk%': 0,
241 }], 241 }],
242 242
243 # A flag to enable or disable our compile-time dependency 243 # A flag to enable or disable our compile-time dependency
244 # on gnome-keyring. If that dependency is disabled, no gnome-keyring 244 # on gnome-keyring. If that dependency is disabled, no gnome-keyring
245 # support will be available. This option is useful 245 # support will be available. This option is useful
246 # for Linux distributions. 246 # for Linux distributions.
247 ['chromeos==1', { 247 ['chromeos==1', {
248 'use_gnome_keyring%': 0, 248 'use_gnome_keyring%': 0,
249 }, { 249 }, {
250 'use_gnome_keyring%': 1, 250 'use_gnome_keyring%': 1,
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 ['OS!="win"', { 1090 ['OS!="win"', {
1091 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'], 1091 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'],
1092 ['exclude', '(^|/)win/'], 1092 ['exclude', '(^|/)win/'],
1093 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ], 1093 ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
1094 }], 1094 }],
1095 ['OS!="mac"', { 1095 ['OS!="mac"', {
1096 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'], 1096 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'],
1097 ['exclude', '(^|/)(cocoa|mac)/'], 1097 ['exclude', '(^|/)(cocoa|mac)/'],
1098 ['exclude', '\\.mm?$' ] ], 1098 ['exclude', '\\.mm?$' ] ],
1099 }], 1099 }],
1100 ['use_x11!=1', {
1101 'sources/': [
1102 ['exclude', '_(chromeos|x|x11)(_unittest)?\\.(h|cc)$'],
1103 ['exclude', '(^|/)x11_[^/]*\\.(h|cc)$'],
1104 ],
1105 }],
1100 ['toolkit_uses_gtk!=1', { 1106 ['toolkit_uses_gtk!=1', {
1101 'sources/': [ 1107 'sources/': [
1102 ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'], 1108 ['exclude', '_(gtk|xdg)(_unittest)?\\.(h|cc)$'],
1103 ['exclude', '(^|/)gtk/'], 1109 ['exclude', '(^|/)gtk/'],
1104 ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'], 1110 ['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
1105 ], 1111 ],
1106 }], 1112 }],
1107 ['use_wayland!=1', { 1113 ['use_wayland!=1', {
1108 'sources/': [ 1114 'sources/': [
1109 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'], 1115 ['exclude', '_(wayland)(_unittest)?\\.(h|cc)$'],
1110 ['exclude', '(^|/)wayland/'], 1116 ['exclude', '(^|/)wayland/'],
1111 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'], 1117 ['exclude', '(^|/)(wayland)_[^/]*\\.(h|cc)$'],
1112 ], 1118 ],
1113 }], 1119 }],
1114 ['OS!="linux"', { 1120 ['OS!="linux"', {
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 # settings in target dicts. SYMROOT is a special case, because many other 2396 # settings in target dicts. SYMROOT is a special case, because many other
2391 # Xcode variables depend on it, including variables such as 2397 # Xcode variables depend on it, including variables such as
2392 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2398 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2393 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2399 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2394 # files to appear (when present) in the UI as actual files and not red 2400 # files to appear (when present) in the UI as actual files and not red
2395 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2401 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2396 # and therefore SYMROOT, needs to be set at the project level. 2402 # and therefore SYMROOT, needs to be set at the project level.
2397 'SYMROOT': '<(DEPTH)/xcodebuild', 2403 'SYMROOT': '<(DEPTH)/xcodebuild',
2398 }, 2404 },
2399 } 2405 }
OLDNEW
« build/build_config.h ('K') | « build/build_config.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698