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/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: 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 | « chrome/browser/extensions/BUILD.gn ('k') | chrome/test/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/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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 deps += [ 501 deps += [
502 "//ui/base/ime", 502 "//ui/base/ime",
503 "//ui/events:dom_keycode_converter", 503 "//ui/events:dom_keycode_converter",
504 ] 504 ]
505 } 505 }
506 if (is_linux) { # Both desktop Linux and ChromeOS. 506 if (is_linux) { # Both desktop Linux and ChromeOS.
507 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, 507 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources,
508 ".", 508 ".",
509 "//chrome") 509 "//chrome")
510 if (use_aura) { 510 if (use_aura) {
511 deps += [ 511 deps += [ "//build/linux:fontconfig" ]
512 "//build/linux:fontconfig", 512 if (use_dbus) {
513 "//dbus", 513 deps += [ "//dbus" ]
514 ] 514 }
515 } 515 }
516 if (use_x11) { 516 if (use_x11) {
517 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources, 517 sources += rebase_path(gypi_values.chrome_browser_ui_x11_sources,
518 ".", 518 ".",
519 "//chrome") 519 "//chrome")
520 configs += [ "//build/config/linux:x11" ] 520 configs += [ "//build/config/linux:x11" ]
521 deps += [ "//ui/events/devices" ] 521 deps += [ "//ui/events/devices" ]
522 if (is_chromeos) { 522 if (is_chromeos) {
523 sources -= [ "views/tabs/window_finder_x11.cc" ] 523 sources -= [ "views/tabs/window_finder_x11.cc" ]
524 } 524 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 "//chrome/browser", 694 "//chrome/browser",
695 "//content/public/browser", 695 "//content/public/browser",
696 "//content/public/common", 696 "//content/public/common",
697 "//content/test:test_support", 697 "//content/test:test_support",
698 "//net:test_support", 698 "//net:test_support",
699 "//skia", 699 "//skia",
700 "//testing/gtest", 700 "//testing/gtest",
701 "//ui/base", 701 "//ui/base",
702 ] 702 ]
703 } 703 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698