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

Unified Diff: 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 308243a275da875ffe16145e2c8d80abc7d0b7fc..1bd956e34d64076953576894f487ede9a98a85d5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -401,8 +401,6 @@ group("both_gn_and_gyp") {
deps += [
"//chrome:manpage",
"//chrome:xdg_mime",
- "//dbus:dbus_test_server",
- "//dbus:dbus_unittests",
"//net:disk_cache_memory_test",
"//net:flip_in_mem_edsm_server",
"//net:flip_in_mem_edsm_server_unittests",
@@ -412,6 +410,13 @@ group("both_gn_and_gyp") {
"//sandbox/linux:sandbox_linux_unittests",
]
+ if (use_dbus) {
+ deps += [
+ "//dbus:dbus_test_server",
+ "//dbus:dbus_unittests",
+ ]
+ }
+
if (is_chromeos || use_ash) {
deps += [ "//components/session_manager/core" ]
}
« no previous file with comments | « no previous file | build/config/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698