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

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2009983002: Guard dbus component and config with assert(use_dbus) (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove unnecessary //dbus when //dbus:test_support exists Created 4 years, 6 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
« no previous file with comments | « build/config/linux/dbus/BUILD.gn ('k') | chrome/browser/extensions/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//chrome/common/features.gni") 9 import("//chrome/common/features.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 if (toolkit_views) { 860 if (toolkit_views) {
861 deps += [ 861 deps += [
862 "//ui/views", 862 "//ui/views",
863 "//ui/views/controls/webview", 863 "//ui/views/controls/webview",
864 ] 864 ]
865 } 865 }
866 } 866 }
867 867
868 if (is_linux) { 868 if (is_linux) {
869 if (use_aura) { 869 if (use_aura) {
870 configs += [ "//build/config/linux/dbus" ] 870 deps += [ "//build/linux:fontconfig" ]
871 deps += [ 871 if (use_dbus) {
872 "//build/linux:fontconfig", 872 deps += [ "//dbus" ]
873 "//dbus", 873 }
874 ]
875 } 874 }
876 if (use_x11) { 875 if (use_x11) {
877 configs += [ "//build/config/linux:x11" ] 876 configs += [ "//build/config/linux:x11" ]
878 deps += [ "//ui/gfx/x" ] 877 deps += [ "//ui/gfx/x" ]
879 } 878 }
880 } 879 }
881 880
882 if (is_linux || is_win) { 881 if (is_linux || is_win) {
883 sources += rebase_path(gypi_values.chrome_browser_non_mac_desktop_sources, 882 sources += rebase_path(gypi_values.chrome_browser_non_mac_desktop_sources,
884 ".", 883 ".",
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1339 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1341 deps = [ 1340 deps = [
1342 "//components/google/core/browser", 1341 "//components/google/core/browser",
1343 "//components/omnibox/browser", 1342 "//components/omnibox/browser",
1344 "//components/rlz", 1343 "//components/rlz",
1345 "//components/search_engines", 1344 "//components/search_engines",
1346 "//rlz:rlz_lib", 1345 "//rlz:rlz_lib",
1347 ] 1346 ]
1348 } 1347 }
1349 } 1348 }
OLDNEW
« no previous file with comments | « build/config/linux/dbus/BUILD.gn ('k') | chrome/browser/extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698