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

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

Issue 1554983002: Build chrome.input.ime.* API in GN mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 assert(enable_extensions) 8 assert(enable_extensions)
9 9
10 gypi_values = 10 gypi_values =
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "//dbus", 143 "//dbus",
144 ] 144 ]
145 if (use_x11) { 145 if (use_x11) {
146 configs += [ "//build/config/linux:x11" ] 146 configs += [ "//build/config/linux:x11" ]
147 deps += [ 147 deps += [
148 "//ui/events:events_base", 148 "//ui/events:events_base",
149 "//ui/events/platform", 149 "//ui/events/platform",
150 "//ui/events/platform/x11", 150 "//ui/events/platform/x11",
151 ] 151 ]
152 } 152 }
153 if (!is_chromeos) {
154 sources += rebase_path(
155 gypi_values.chrome_browser_extensions_input_ime_nonchromeos_source s,
156 ".",
157 "//chrome")
158 }
153 } 159 }
154 160
155 if (enable_configuration_policy) { 161 if (enable_configuration_policy) {
156 deps += [ "//components/policy" ] 162 deps += [ "//components/policy" ]
157 sources += [ 163 sources += [
158 "policy_handlers.cc", 164 "policy_handlers.cc",
159 "policy_handlers.h", 165 "policy_handlers.h",
160 ] 166 ]
161 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources, 167 sources += rebase_path(gypi_values.chrome_browser_extensions_policy_sources,
162 ".", 168 ".",
(...skipping 30 matching lines...) Expand all
193 gypi_values.chrome_browser_extensions_networking_private_sources_win mac, 199 gypi_values.chrome_browser_extensions_networking_private_sources_win mac,
194 ".", 200 ".",
195 "//chrome") 201 "//chrome")
196 } 202 }
197 203
198 if (is_win) { 204 if (is_win) {
199 deps += [ 205 deps += [
200 "//third_party/iaccessible2", 206 "//third_party/iaccessible2",
201 "//third_party/isimpledom", 207 "//third_party/isimpledom",
202 ] 208 ]
209 source += rebase_path(
210 gypi_values.chrome_browser_extensions_input_ime_nonchromeos_sources,
211 ".",
212 "//chrome")
203 } else if (use_aura && !is_chromeos) { 213 } else if (use_aura && !is_chromeos) {
204 sources += [ 214 sources += [
205 "display_info_provider_aura.cc", 215 "display_info_provider_aura.cc",
206 "display_info_provider_aura.h", 216 "display_info_provider_aura.h",
207 ] 217 ]
208 } 218 }
209 219
210 if (enable_app_list) { 220 if (enable_app_list) {
211 sources += 221 sources +=
212 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, 222 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources,
213 ".", 223 ".",
214 "//chrome") 224 "//chrome")
215 } 225 }
216 226
217 if (is_chromeos && use_ozone) { 227 if (is_chromeos && use_ozone) {
218 sources -= [ "global_shortcut_listener_chromeos.cc" ] 228 sources -= [ "global_shortcut_listener_chromeos.cc" ]
219 } 229 }
220 if (!use_ozone) { 230 if (!use_ozone) {
221 sources -= [ "global_shortcut_listener_ozone.cc" ] 231 sources -= [ "global_shortcut_listener_ozone.cc" ]
222 } 232 }
223 } 233 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_browser_extensions.gypi » ('j') | chrome/chrome_browser_extensions.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698