| Index: extensions/browser/api/BUILD.gn
|
| diff --git a/extensions/browser/api/BUILD.gn b/extensions/browser/api/BUILD.gn
|
| index 93b704f606c83ef177cac5f7c56b855b0abe1d87..7a1a0617b2e951e36c06060b37bb52a7f74dcdfa 100644
|
| --- a/extensions/browser/api/BUILD.gn
|
| +++ b/extensions/browser/api/BUILD.gn
|
| @@ -2,6 +2,9 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//build/json_schema_api.gni")
|
| +import("//extensions/common/api/schema.gni")
|
| +
|
| source_set("api") {
|
| sources = [
|
| "api_resource.cc",
|
| @@ -75,6 +78,7 @@ source_set("api") {
|
| deps = [
|
| "//base:i18n",
|
| "//content/public/browser",
|
| + "//extensions/strings",
|
| ]
|
|
|
| if (is_chromeos) {
|
| @@ -86,3 +90,20 @@ source_set("api") {
|
| ]
|
| }
|
| }
|
| +
|
| +json_schema_api("api_registration") {
|
| + sources = extensions_api_schema_files
|
| + impl_dir = "//extensions/browser/api"
|
| + bundle_registration = true
|
| + bundle_name = ""
|
| + root_namespace = extensions_api_root_namespace
|
| + uncompiled_sources = extensions_api_uncompiled_sources
|
| +
|
| + deps = [
|
| + ":api",
|
| + "//device/serial",
|
| + "//extensions/common/api",
|
| + "//extensions/common/api/cast_channel:cast_channel_proto",
|
| + "//skia",
|
| + ]
|
| +}
|
|
|