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

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

Issue 395333003: Extensions: Move cast_channel and hid APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/api/cast_channel/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 8
9 gypi_values = exec_script( 9 gypi_values = exec_script(
10 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
(...skipping 15 matching lines...) Expand all
26 # Since browser and browser_extensions actually depend on each other, 26 # Since browser and browser_extensions actually depend on each other,
27 # we must omit the dependency from browser_extensions to browser. 27 # we must omit the dependency from browser_extensions to browser.
28 # However, this means browser_extensions and browser should more or less 28 # However, this means browser_extensions and browser should more or less
29 # have the same dependencies. Once browser_extensions is untangled from 29 # have the same dependencies. Once browser_extensions is untangled from
30 # browser, then we can clean up these dependencies. 30 # browser, then we can clean up these dependencies.
31 deps = [ 31 deps = [
32 "//chrome:extra_resources", 32 "//chrome:extra_resources",
33 "//chrome:resources", 33 "//chrome:resources",
34 "//chrome:strings", 34 "//chrome:strings",
35 "//chrome/app/resources:platform_locale_settings", 35 "//chrome/app/resources:platform_locale_settings",
36 "//chrome/browser/extensions/api/cast_channel:cast_channel_proto",
37 "//chrome/app/theme:theme_resources", 36 "//chrome/app/theme:theme_resources",
38 "//chrome/browser/history:in_memory_url_index_cache_proto", 37 "//chrome/browser/history:in_memory_url_index_cache_proto",
39 "//chrome/browser/sync_file_system:sync_file_system_proto", 38 "//chrome/browser/sync_file_system:sync_file_system_proto",
40 "//chrome/common", 39 "//chrome/common",
41 "//chrome/common/extensions/api", 40 "//chrome/common/extensions/api",
42 "//chrome/common/net", 41 "//chrome/common/net",
43 "//chrome/common/safe_browsing:proto", 42 "//chrome/common/safe_browsing:proto",
44 "//components/onc", 43 "//components/onc",
45 "//components/strings", 44 "//components/strings",
46 "//components/url_matcher", 45 "//components/url_matcher",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 if (is_win) { 195 if (is_win) {
197 deps += [ 196 deps += [
198 "//third_party/iaccessible2", 197 "//third_party/iaccessible2",
199 "//third_party/isimpledom", 198 "//third_party/isimpledom",
200 #'launcher_support', TODO(GYP) 199 #'launcher_support', TODO(GYP)
201 ] 200 ]
202 } else if (!is_chromeos) { 201 } else if (!is_chromeos) {
203 sources += [ "api/system_display/display_info_provider_aura.cc" ] 202 sources += [ "api/system_display/display_info_provider_aura.cc" ]
204 } 203 }
205 204
206 if (use_openssl) {
207 sources += [ "api/cast_channel/cast_auth_util_openssl.cc" ]
208 } else {
209 # cast_auth_util_nss.cc uses NSS functions.
210 sources += [ "api/cast_channel/cast_auth_util_nss.cc" ]
211 }
212
213 if (is_android) { 205 if (is_android) {
214 sources += rebase_path( 206 sources += rebase_path(
215 gypi_values.chrome_browser_extensions_android_sources, 207 gypi_values.chrome_browser_extensions_android_sources,
216 ".", "//chrome") 208 ".", "//chrome")
217 } 209 }
218 210
219 if (enable_app_list) { 211 if (enable_app_list) {
220 sources += rebase_path( 212 sources += rebase_path(
221 gypi_values.chrome_browser_extensions_app_list_sources, 213 gypi_values.chrome_browser_extensions_app_list_sources,
222 ".", "//chrome") 214 ".", "//chrome")
223 } 215 }
224 216
225 if (!use_ozone) { 217 if (!use_ozone) {
226 sources -= [ 218 sources -= [
227 "global_shortcut_listener_ozone.cc", 219 "global_shortcut_listener_ozone.cc",
228 ] 220 ]
229 } 221 }
230 } 222 }
231 } 223 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/cast_channel/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698