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

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: restrict visibility of new targets 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
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 "//device/base",
Devlin 2017/02/13 16:07:21 multiple entries for //device/base, //device/hid,
michaelpg 2017/02/13 21:08:42 oops, removed
83 "//device/hid",
84 "//device/usb",
85 "//extensions/browser:browser_sources",
86 "//extensions/browser/guest_view",
87 "//extensions/common",
88 "//extensions/common/api",
80 "//extensions/strings", 89 "//extensions/strings",
81 ] 90 ]
82 91
92 # TODO(michaelpg): Move these deps to the individual APIs that require them.
93 deps += [
94 "//components/onc",
95 "//components/storage_monitor",
96 "//device/base",
97 "//device/bluetooth",
98 "//device/hid",
99 "//device/power_save_blocker",
100 "//device/serial",
101 "//device/usb",
102 ]
103
83 if (is_chromeos) { 104 if (is_chromeos) {
84 public_deps += [ 105 public_deps += [
85 "//extensions/browser/api/clipboard", 106 "//extensions/browser/api/clipboard",
86 "//extensions/browser/api/diagnostics", 107 "//extensions/browser/api/diagnostics",
87 "//extensions/browser/api/networking_config", 108 "//extensions/browser/api/networking_config",
88 "//extensions/browser/api/vpn_provider", 109 "//extensions/browser/api/vpn_provider",
89 "//extensions/browser/api/webcam_private", 110 "//extensions/browser/api/webcam_private",
90 ] 111 ]
112
113 deps += [ "//chromeos" ]
Devlin 2017/02/13 16:07:21 Do we need to depend on chromeos in non-chromeos b
michaelpg 2017/02/13 21:08:42 I don't think so, am I missing something? (This is
Devlin 2017/02/13 22:15:12 Whoops; my block-vision was off. Nvm.
91 } 114 }
92 } 115 }
93 116
94 json_schema_api("api_registration") { 117 json_schema_api("api_registration") {
95 sources = extensions_api_schema_files 118 sources = extensions_api_schema_files
96 impl_dir = "//extensions/browser/api" 119 impl_dir = "//extensions/browser/api"
97 bundle_registration = true 120 bundle_registration = true
98 bundle_name = "" 121 bundle_name = ""
99 root_namespace = extensions_api_root_namespace 122 root_namespace = extensions_api_root_namespace
100 uncompiled_sources = extensions_api_uncompiled_sources 123 uncompiled_sources = extensions_api_uncompiled_sources
101 124
102 deps = [ 125 deps = [
103 ":api", 126 ":api",
104 "//device/serial", 127 "//device/serial",
105 "//extensions/common/api", 128 "//extensions/common/api",
106 "//extensions/common/api/cast_channel:cast_channel_proto", 129 "//extensions/common/api/cast_channel:cast_channel_proto",
107 "//skia", 130 "//skia",
108 ] 131 ]
109 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698