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

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

Issue 506253003: Revert "Split bundle generation steps so that API registration is generated in browser, not common." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@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 10a69fa80f8f71c480efe914222796de9c3bd41a..1c924bdc7f34e35c76c6fb7d1c38e476aff7469b 100644
--- a/extensions/common/api/BUILD.gn
+++ b/extensions/common/api/BUILD.gn
@@ -3,19 +3,31 @@
# 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") {
- schemas = true
- bundle = true
-}
-
-# GYP version: extensions/browser/api/api_registration.gyp:extensions_api_registration
-generated_extensions_api("api_registration") {
+ 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"
- bundle_registration = true
-
+ bundle = 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