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

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

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility 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 unified diff | Download patch
« no previous file with comments | « device/battery/BUILD.gn ('k') | net/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/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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "//extensions") 76 "//extensions")
77 sources += chromeos_sources 77 sources += chromeos_sources
78 } else { 78 } else {
79 nonchromeos_sources = rebase_path( 79 nonchromeos_sources = rebase_path(
80 extensions_gypi_values.extensions_browser_sources_nonchromeos, 80 extensions_gypi_values.extensions_browser_sources_nonchromeos,
81 ".", 81 ".",
82 "//extensions") 82 "//extensions")
83 sources += nonchromeos_sources 83 sources += nonchromeos_sources
84 84
85 if (is_linux) { 85 if (is_linux) {
86 configs += [ "//build/config/linux:dbus" ] 86 configs += [ "//build/config/linux/dbus" ]
87 deps += [ "//dbus" ] 87 deps += [ "//dbus" ]
88 linux_sources = rebase_path( 88 linux_sources = rebase_path(
89 extensions_gypi_values.extensions_browser_sources_linux_nonchrom eos, 89 extensions_gypi_values.extensions_browser_sources_linux_nonchrom eos,
90 ".", 90 ".",
91 "//extensions") 91 "//extensions")
92 sources += linux_sources 92 sources += linux_sources
93 } else { 93 } else {
94 if (is_win || is_mac) { 94 if (is_win || is_mac) {
95 deps += [ "//components/wifi" ] 95 deps += [ "//components/wifi" ]
96 96
97 win_or_mac_sources = rebase_path( 97 win_or_mac_sources = rebase_path(
98 extensions_gypi_values.extensions_browser_sources_win_or_mac, 98 extensions_gypi_values.extensions_browser_sources_win_or_mac,
99 ".", 99 ".",
100 "//extensions") 100 "//extensions")
101 sources += win_or_mac_sources 101 sources += win_or_mac_sources
102 } 102 }
103 } 103 }
104 if (enable_wifi_display) { 104 if (enable_wifi_display) {
105 wifi_display_sources = rebase_path( 105 wifi_display_sources = rebase_path(
106 extensions_gypi_values.extensions_browser_sources_wifi_display, 106 extensions_gypi_values.extensions_browser_sources_wifi_display,
107 ".", 107 ".",
108 "//extensions") 108 "//extensions")
109 sources += wifi_display_sources 109 sources += wifi_display_sources
110 } 110 }
111 } 111 }
112 } 112 }
113 } 113 }
OLDNEW
« no previous file with comments | « device/battery/BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698