summaryrefslogtreecommitdiffstats
path: root/apps/common
diff options
context:
space:
mode:
authorrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 09:56:09 +0000
committerrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 09:56:09 +0000
commit30c409f3564ecf2900f63d3fed28c386f039fe6a (patch)
treec123764c29b1ead4c77d2cc136b90a0104213aa3 /apps/common
parente03dab6cdce4af876d1562944c29bc193832ad8c (diff)
downloadchromium_src-30c409f3564ecf2900f63d3fed28c386f039fe6a.zip
chromium_src-30c409f3564ecf2900f63d3fed28c386f039fe6a.tar.gz
chromium_src-30c409f3564ecf2900f63d3fed28c386f039fe6a.tar.bz2
Add GN template for generated extensions API targets.
This adds a new GN template for generating static extensions API library bundles from sets of schemas. It also adds invocations of the template for core extensions and apps API targets. BUG=None TBR=kalman Review URL: https://codereview.chromium.org/256453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/common')
-rw-r--r--apps/common/api/BUILD.gn13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/common/api/BUILD.gn b/apps/common/api/BUILD.gn
new file mode 100644
index 0000000..5aa6dadc
--- /dev/null
+++ b/apps/common/api/BUILD.gn
@@ -0,0 +1,13 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//extensions/generated_extensions_api.gni")
+
+generated_extensions_api("apps_api") {
+ sources = [
+ "app_runtime.idl",
+ ]
+ root_namespace = "extensions::apps_api"
+ impl_dir = "//apps/browser/api"
+}