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

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

Issue 2684393002: Update deps in extensions/browser/BUILD.gn to pass gn check. (Closed)
Patch Set: shorthand Created 3 years, 10 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 | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//extensions/common/api/schema.gni") 5 import("//extensions/common/api/schema.gni")
6 import("//tools/json_schema_compiler/json_schema_api.gni") 6 import("//tools/json_schema_compiler/json_schema_api.gni")
7 7
8 source_set("api") { 8 source_set("api") {
9 sources = [ 9 sources = [
10 "api_resource.cc", 10 "api_resource.cc",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "//extensions/browser/api/system_network", 69 "//extensions/browser/api/system_network",
70 "//extensions/browser/api/system_storage", 70 "//extensions/browser/api/system_storage",
71 "//extensions/browser/api/test", 71 "//extensions/browser/api/test",
72 "//extensions/browser/api/usb", 72 "//extensions/browser/api/usb",
73 "//extensions/browser/api/virtual_keyboard_private", 73 "//extensions/browser/api/virtual_keyboard_private",
74 "//extensions/browser/api/web_request", 74 "//extensions/browser/api/web_request",
75 ] 75 ]
76 76
77 deps = [ 77 deps = [
78 "//base:i18n", 78 "//base:i18n",
79 "//components/keyed_service/content:content",
79 "//content/public/browser", 80 "//content/public/browser",
81 "//content/public/common",
82 "//extensions/browser:browser_sources",
83 "//extensions/browser/guest_view",
84 "//extensions/common",
85 "//extensions/common/api",
80 "//extensions/strings", 86 "//extensions/strings",
81 ] 87 ]
82 88
89 # TODO(michaelpg): Move these deps to the individual APIs that require them.
90 deps += [
91 "//components/onc",
92 "//components/storage_monitor",
93 "//device/base",
94 "//device/bluetooth",
95 "//device/hid",
96 "//device/power_save_blocker",
97 "//device/serial",
98 "//device/usb",
99 ]
100
83 if (is_chromeos) { 101 if (is_chromeos) {
84 public_deps += [ 102 public_deps += [
85 "//extensions/browser/api/clipboard", 103 "//extensions/browser/api/clipboard",
86 "//extensions/browser/api/diagnostics", 104 "//extensions/browser/api/diagnostics",
87 "//extensions/browser/api/networking_config", 105 "//extensions/browser/api/networking_config",
88 "//extensions/browser/api/vpn_provider", 106 "//extensions/browser/api/vpn_provider",
89 "//extensions/browser/api/webcam_private", 107 "//extensions/browser/api/webcam_private",
90 ] 108 ]
109
110 deps += [ "//chromeos" ]
91 } 111 }
92 } 112 }
93 113
94 json_schema_api("api_registration") { 114 json_schema_api("api_registration") {
95 sources = extensions_api_schema_files 115 sources = extensions_api_schema_files
96 impl_dir = "//extensions/browser/api" 116 impl_dir = "//extensions/browser/api"
97 bundle_registration = true 117 bundle_registration = true
98 bundle_name = "" 118 bundle_name = ""
99 root_namespace = extensions_api_root_namespace 119 root_namespace = extensions_api_root_namespace
100 uncompiled_sources = extensions_api_uncompiled_sources 120 uncompiled_sources = extensions_api_uncompiled_sources
101 121
102 deps = [ 122 deps = [
103 ":api", 123 ":api",
104 "//device/serial", 124 "//device/serial",
105 "//extensions/common/api", 125 "//extensions/common/api",
106 "//extensions/common/api/cast_channel:cast_channel_proto", 126 "//extensions/common/api/cast_channel:cast_channel_proto",
107 "//skia", 127 "//skia",
108 ] 128 ]
109 } 129 }
OLDNEW
« no previous file with comments | « extensions/browser/BUILD.gn ('k') | extensions/browser/guest_view/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698