OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/json_schema_api.gni") | 7 import("//build/json_schema_api.gni") |
8 import("//tools/json_schema_compiler/json_features.gni") | 8 import("//tools/json_schema_compiler/json_features.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 if (is_chromeos) { | 155 if (is_chromeos) { |
156 extensions_api_uncompiled_sources += [ | 156 extensions_api_uncompiled_sources += [ |
157 "chromeos_info_private.json", | 157 "chromeos_info_private.json", |
158 "media_player_private.json", | 158 "media_player_private.json", |
159 ] | 159 ] |
160 } | 160 } |
161 | 161 |
162 extensions_api_schema_include_rules = | 162 extensions_api_schema_include_rules = |
163 "extensions/common/api:extensions::api::%(namespace)s" | 163 "extensions/common/api:extensions::api::%(namespace)s" |
164 | 164 |
165 # GYP version: chrome/common/extensions/api/api.gyp:chrome_api | |
166 json_schema_api("api") { | 165 json_schema_api("api") { |
167 sources = schema_sources | 166 sources = schema_sources |
168 schemas = true | 167 schemas = true |
169 bundle = true | 168 bundle = true |
170 configs = [ "//build/config:precompiled_headers" ] | 169 configs = [ "//build/config:precompiled_headers" ] |
171 bundle_name = "Chrome" | 170 bundle_name = "Chrome" |
172 schema_include_rules = extensions_api_schema_include_rules | 171 schema_include_rules = extensions_api_schema_include_rules |
173 | 172 |
174 uncompiled_bundle_schema_sources = [ | 173 uncompiled_bundle_schema_sources = [ |
175 "app.json", | 174 "app.json", |
(...skipping 18 matching lines...) Expand all Loading... |
194 } | 193 } |
195 | 194 |
196 uncompiled_sources = extensions_api_uncompiled_sources | 195 uncompiled_sources = extensions_api_uncompiled_sources |
197 | 196 |
198 root_namespace = extensions_api_root_namespace | 197 root_namespace = extensions_api_root_namespace |
199 deps = [ | 198 deps = [ |
200 "//extensions/common/api", | 199 "//extensions/common/api", |
201 ] | 200 ] |
202 } | 201 } |
203 | 202 |
204 # GYP version: chrome/browser/extensions/api/api.gyp:chrome_api_registration | |
205 json_schema_api("api_registration") { | 203 json_schema_api("api_registration") { |
206 sources = schema_sources | 204 sources = schema_sources |
207 impl_dir = "//chrome/browser/extensions/api" | 205 impl_dir = "//chrome/browser/extensions/api" |
208 bundle_registration = true | 206 bundle_registration = true |
209 configs = [ "//build/config:precompiled_headers" ] | 207 configs = [ "//build/config:precompiled_headers" ] |
210 bundle_name = "Chrome" | 208 bundle_name = "Chrome" |
211 root_namespace = extensions_api_root_namespace | 209 root_namespace = extensions_api_root_namespace |
212 schema_include_rules = extensions_api_schema_include_rules | 210 schema_include_rules = extensions_api_schema_include_rules |
213 | 211 |
214 uncompiled_sources = extensions_api_uncompiled_sources | 212 uncompiled_sources = extensions_api_uncompiled_sources |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 } | 267 } |
270 | 268 |
271 group("extensions_features") { | 269 group("extensions_features") { |
272 public_deps = [ | 270 public_deps = [ |
273 ":api_features", | 271 ":api_features", |
274 ":behavior_features", | 272 ":behavior_features", |
275 ":manifest_features", | 273 ":manifest_features", |
276 ":permission_features", | 274 ":permission_features", |
277 ] | 275 ] |
278 } | 276 } |
OLD | NEW |