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

Unified Diff: extensions/common/api/BUILD.gn

Issue 513633002: Reland 596ff54335b2a1b393af10657bc4945114f3beed - Split API bundle generation steps (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/api_registration.gyp ('k') | extensions/common/api/api.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « extensions/browser/api/api_registration.gyp ('k') | extensions/common/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698