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

Side by Side Diff: extensions/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 | « device/media_transfer_protocol/BUILD.gn ('k') | no next file » | 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/features.gni") 5 import("//build/config/features.gni")
6 import("//extensions/extensions.gni") 6 import("//extensions/extensions.gni")
7 7
8 # GYP version: extensions/extensions.gyp:extensions_browser 8 # GYP version: extensions/extensions.gyp:extensions_browser
9 source_set("browser") { 9 source_set("browser") {
10 sources = [] 10 sources = []
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "//extensions") 78 "//extensions")
79 sources += chromeos_sources 79 sources += chromeos_sources
80 } else { 80 } else {
81 nonchromeos_sources = rebase_path( 81 nonchromeos_sources = rebase_path(
82 extensions_gypi_values.extensions_browser_sources_nonchromeos, 82 extensions_gypi_values.extensions_browser_sources_nonchromeos,
83 ".", 83 ".",
84 "//extensions") 84 "//extensions")
85 sources += nonchromeos_sources 85 sources += nonchromeos_sources
86 86
87 if (is_linux) { 87 if (is_linux) {
88 configs += [ "//build/config/linux/dbus" ] 88 if (use_dbus) {
89 deps += [ "//dbus" ] 89 deps += [ "//dbus" ]
90 }
90 linux_sources = rebase_path( 91 linux_sources = rebase_path(
91 extensions_gypi_values.extensions_browser_sources_linux_nonchrom eos, 92 extensions_gypi_values.extensions_browser_sources_linux_nonchrom eos,
92 ".", 93 ".",
93 "//extensions") 94 "//extensions")
94 sources += linux_sources 95 sources += linux_sources
95 } else { 96 } else {
96 if (is_win || is_mac) { 97 if (is_win || is_mac) {
97 deps += [ "//components/wifi" ] 98 deps += [ "//components/wifi" ]
98 99
99 win_or_mac_sources = rebase_path( 100 win_or_mac_sources = rebase_path(
100 extensions_gypi_values.extensions_browser_sources_win_or_mac, 101 extensions_gypi_values.extensions_browser_sources_win_or_mac,
101 ".", 102 ".",
102 "//extensions") 103 "//extensions")
103 sources += win_or_mac_sources 104 sources += win_or_mac_sources
104 } 105 }
105 } 106 }
106 if (proprietary_codecs && enable_wifi_display) { 107 if (proprietary_codecs && enable_wifi_display) {
107 wifi_display_sources = rebase_path( 108 wifi_display_sources = rebase_path(
108 extensions_gypi_values.extensions_browser_sources_wifi_display, 109 extensions_gypi_values.extensions_browser_sources_wifi_display,
109 ".", 110 ".",
110 "//extensions") 111 "//extensions")
111 sources += wifi_display_sources 112 sources += wifi_display_sources
112 } 113 }
113 } 114 }
114 } 115 }
115 } 116 }
OLDNEW
« no previous file with comments | « device/media_transfer_protocol/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698