OLD | NEW |
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 "//device/bluetooth", | 101 "//device/bluetooth", |
102 "//device/hid", | 102 "//device/hid", |
103 "//device/power_save_blocker", | 103 "//device/power_save_blocker", |
104 "//device/serial", | 104 "//device/serial", |
105 ] | 105 ] |
106 | 106 |
107 if (is_chromeos) { | 107 if (is_chromeos) { |
108 public_deps += [ | 108 public_deps += [ |
109 "//extensions/browser/api/clipboard", | 109 "//extensions/browser/api/clipboard", |
110 "//extensions/browser/api/diagnostics", | 110 "//extensions/browser/api/diagnostics", |
| 111 "//extensions/browser/api/media_perception_private", |
111 "//extensions/browser/api/networking_config", | 112 "//extensions/browser/api/networking_config", |
112 "//extensions/browser/api/virtual_keyboard", | 113 "//extensions/browser/api/virtual_keyboard", |
113 "//extensions/browser/api/vpn_provider", | 114 "//extensions/browser/api/vpn_provider", |
114 "//extensions/browser/api/webcam_private", | 115 "//extensions/browser/api/webcam_private", |
115 ] | 116 ] |
116 | 117 |
117 deps += [ "//chromeos" ] | 118 deps += [ "//chromeos" ] |
118 } | 119 } |
119 } | 120 } |
120 | 121 |
121 json_schema_api("api_registration") { | 122 json_schema_api("api_registration") { |
122 sources = extensions_api_schema_files | 123 sources = extensions_api_schema_files |
123 impl_dir = "//extensions/browser/api" | 124 impl_dir = "//extensions/browser/api" |
124 bundle_registration = true | 125 bundle_registration = true |
125 bundle_name = "" | 126 bundle_name = "" |
126 root_namespace = extensions_api_root_namespace | 127 root_namespace = extensions_api_root_namespace |
127 uncompiled_sources = extensions_api_uncompiled_sources | 128 uncompiled_sources = extensions_api_uncompiled_sources |
128 | 129 |
129 deps = [ | 130 deps = [ |
130 ":api", | 131 ":api", |
131 "//device/serial", | 132 "//device/serial", |
132 "//extensions/common/api", | 133 "//extensions/common/api", |
133 "//extensions/common/api/cast_channel:cast_channel_proto", | 134 "//extensions/common/api/cast_channel:cast_channel_proto", |
134 "//skia", | 135 "//skia", |
135 ] | 136 ] |
136 } | 137 } |
OLD | NEW |