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

Side by Side Diff: chrome/browser/ui/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: 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
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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/common/features.gni") 8 import("//chrome/common/features.gni")
9 9
10 gypi_values = exec_script("//build/gypi_to_gn.py", 10 gypi_values = exec_script("//build/gypi_to_gn.py",
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 deps += [ 500 deps += [
501 "//ui/base/ime", 501 "//ui/base/ime",
502 "//ui/events:dom_keycode_converter", 502 "//ui/events:dom_keycode_converter",
503 ] 503 ]
504 } 504 }
505 if (is_linux) { # Both desktop Linux and ChromeOS. 505 if (is_linux) { # Both desktop Linux and ChromeOS.
506 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, 506 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources,
507 ".", 507 ".",
508 "//chrome") 508 "//chrome")
509 if (use_aura) { 509 if (use_aura) {
510 deps += [ 510 deps += [ "//build/linux:fontconfig" ]
511 "//build/linux:fontconfig", 511 if (use_dbus) {
512 "//dbus", 512 deps += [ "//dbus" ]
513 ] 513 }
514 } 514 }
515 if (use_x11) { 515 if (use_x11) {
516 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, 516 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources,
517 ".", 517 ".",
518 "//chrome") 518 "//chrome")
519 configs += [ "//build/config/linux:x11" ] 519 configs += [ "//build/config/linux:x11" ]
520 deps += [ "//ui/events/devices" ] 520 deps += [ "//ui/events/devices" ]
521 if (is_chromeos) { 521 if (is_chromeos) {
522 sources -= [ "views/tabs/window_finder_x11.cc" ] 522 sources -= [ "views/tabs/window_finder_x11.cc" ]
523 } 523 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 "//chrome/browser", 693 "//chrome/browser",
694 "//content/public/browser", 694 "//content/public/browser",
695 "//content/public/common", 695 "//content/public/common",
696 "//content/test:test_support", 696 "//content/test:test_support",
697 "//net:test_support", 697 "//net:test_support",
698 "//skia", 698 "//skia",
699 "//testing/gtest", 699 "//testing/gtest",
700 "//ui/base", 700 "//ui/base",
701 ] 701 ]
702 } 702 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698