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

Side by Side Diff: chrome/chrome_browser_ui.gypi

Issue 148643002: Hide X11 dependencies when use_x11=0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'browser_ui', 8 'target_name': 'browser_ui',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 10 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 3284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3295 ] 3295 ]
3296 }], 3296 }],
3297 ], 3297 ],
3298 }], 3298 }],
3299 ['OS=="linux"', { 3299 ['OS=="linux"', {
3300 'conditions': [ 3300 'conditions': [
3301 ['use_aura==1', { 3301 ['use_aura==1', {
3302 'dependencies': [ 3302 'dependencies': [
3303 '../build/linux/system.gyp:dbus', 3303 '../build/linux/system.gyp:dbus',
3304 '../build/linux/system.gyp:fontconfig', 3304 '../build/linux/system.gyp:fontconfig',
3305 '../build/linux/system.gyp:x11',
3306 '../dbus/dbus.gyp:dbus', 3305 '../dbus/dbus.gyp:dbus',
3307 ], 3306 ],
3308 }], 3307 }],
3309 # GTK build only 3308 # GTK build only
3310 ['toolkit_uses_gtk==1', { 3309 ['toolkit_uses_gtk==1', {
3311 'sources/': [ 3310 'sources/': [
3312 ['exclude', '^browser/ui/toolbar/bookmark_sub_menu_model.cc'], 3311 ['exclude', '^browser/ui/toolbar/bookmark_sub_menu_model.cc'],
3313 ['exclude', '^browser/ui/views/notifications/balloon_collection_ views.cc'], 3312 ['exclude', '^browser/ui/views/notifications/balloon_collection_ views.cc'],
3314 ], 3313 ],
3315 }], 3314 }],
3315 # x11 build
3316 ['use_x11==1', {
3317 'dependencies': [
3318 '../build/linux/system.gyp:x11',
sky 2014/01/28 00:43:07 nit: indent.
kalyank 2014/01/28 01:18:47 Done.
3319 ],
3320 }],
3316 ], 3321 ],
3317 }], 3322 }],
3318 # On chromeos, file manager extension handles the file open/save dialog. 3323 # On chromeos, file manager extension handles the file open/save dialog.
3319 ['chromeos==1', { 3324 ['chromeos==1', {
3320 'sources/': [ 3325 'sources/': [
3321 ['include', '^browser/ui/views/select_file_dialog_extension.cc'], 3326 ['include', '^browser/ui/views/select_file_dialog_extension.cc'],
3322 ['include', '^browser/ui/views/select_file_dialog_extension.h'], 3327 ['include', '^browser/ui/views/select_file_dialog_extension.h'],
3323 ['include', '^browser/ui/views/select_file_dialog_extension_factory. cc'], 3328 ['include', '^browser/ui/views/select_file_dialog_extension_factory. cc'],
3324 ['include', '^browser/ui/views/select_file_dialog_extension_factory. h'], 3329 ['include', '^browser/ui/views/select_file_dialog_extension_factory. h'],
3325 ]}, { 3330 ]}, {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
3388 'browser/ui/webui/local_discovery/local_discovery_ui.cc', 3393 'browser/ui/webui/local_discovery/local_discovery_ui.cc',
3389 'browser/ui/webui/local_discovery/local_discovery_ui.h', 3394 'browser/ui/webui/local_discovery/local_discovery_ui.h',
3390 'browser/ui/webui/local_discovery/local_discovery_ui_handler.cc', 3395 'browser/ui/webui/local_discovery/local_discovery_ui_handler.cc',
3391 'browser/ui/webui/local_discovery/local_discovery_ui_handler.h', 3396 'browser/ui/webui/local_discovery/local_discovery_ui_handler.h',
3392 ], 3397 ],
3393 }], 3398 }],
3394 ], 3399 ],
3395 }, 3400 },
3396 ], 3401 ],
3397 } 3402 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698