diff options
author | yoz <yoz@chromium.org> | 2014-08-26 17:51:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-27 00:52:34 +0000 |
commit | 3b70ef14be986a3252428cc6d9553bf2c69deb70 (patch) | |
tree | 18167a3e08272d016043fd8972049c6b6c90ee1a /extensions/common/api/BUILD.gn | |
parent | 54b4f85af7b2ced969435cc04d2b743cfd5f29e2 (diff) | |
download | chromium_src-3b70ef14be986a3252428cc6d9553bf2c69deb70.zip chromium_src-3b70ef14be986a3252428cc6d9553bf2c69deb70.tar.gz chromium_src-3b70ef14be986a3252428cc6d9553bf2c69deb70.tar.bz2 |
Split bundle generation steps so that API registration is generated in browser, not common.
We now have schema generation, schema bundle generation, and schema bundle registration generation; the last of these is generated in a separate build target and output to browser rather than common.
Fix a couple of dangling gyp issues also.
BUG=405226
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/489153003
Cr-Commit-Position: refs/heads/master@{#292057}
Diffstat (limited to 'extensions/common/api/BUILD.gn')
-rw-r--r-- | extensions/common/api/BUILD.gn | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/extensions/common/api/BUILD.gn b/extensions/common/api/BUILD.gn index 1c924bd..10a69fa 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", |