Index: extensions/common/api/BUILD.gn |
diff --git a/extensions/common/api/BUILD.gn b/extensions/common/api/BUILD.gn |
index 1c924bdc7f34e35c76c6fb7d1c38e476aff7469b..10a69fa80f8f71c480efe914222796de9c3bd41a 100644 |
--- a/extensions/common/api/BUILD.gn |
+++ b/extensions/common/api/BUILD.gn |
@@ -3,31 +3,19 @@ |
# found in the LICENSE file. |
import("//extensions/generated_extensions_api.gni") |
+import("schemas.gni") |
# GYP version: extensions/common/api/api.gyp:extensions_api |
generated_extensions_api("api") { |
- sources = [ |
- "app_runtime.idl", |
- "app_view_internal.json", |
- "cast_channel.idl", |
- "dns.idl", |
- "extensions_manifest_types.json", |
- "hid.idl", |
- "power.idl", |
- "runtime.json", |
- "serial.idl", |
- "socket.idl", |
- "sockets_tcp.idl", |
- "sockets_tcp_server.idl", |
- "sockets_udp.idl", |
- "storage.json", |
- "test.json", |
- "usb.idl", |
- "usb_private.idl", |
- ] |
- root_namespace = "extensions::core_api::%(namespace)s" |
- impl_dir = "//extensions/browser/api" |
+ schemas = true |
bundle = true |
+} |
+ |
+# GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration |
+generated_extensions_api("api_registration") { |
+ impl_dir = "//extensions/browser/api" |
+ bundle_registration = true |
+ |
deps = [ |
"//device/serial", |
"//skia", |