summaryrefslogtreecommitdiffstats
path: root/build/json_schema_compile.gypi
diff options
context:
space:
mode:
authoryoz <yoz@chromium.org>2014-08-26 20:32:58 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 03:33:52 +0000
commit774dcda2d369584b2e964fa4971dda71cf819677 (patch)
treef9e3058e383cb5bf00f263a03c48e44620b3bafd /build/json_schema_compile.gypi
parent3f7aec31073c730a68ee221bbd10dca9a60e9a04 (diff)
downloadchromium_src-774dcda2d369584b2e964fa4971dda71cf819677.zip
chromium_src-774dcda2d369584b2e964fa4971dda71cf819677.tar.gz
chromium_src-774dcda2d369584b2e964fa4971dda71cf819677.tar.bz2
Reland 596ff54335b2a1b393af10657bc4945114f3beed - Split API bundle generation steps
* Fixed in this version: dependencies for *_api_registration on *_api. 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=scottmg@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/513633002 Cr-Commit-Position: refs/heads/master@{#292090}
Diffstat (limited to 'build/json_schema_compile.gypi')
-rw-r--r--build/json_schema_compile.gypi5
1 files changed, 0 insertions, 5 deletions
diff --git a/build/json_schema_compile.gypi b/build/json_schema_compile.gypi
index d164748..9672f79 100644
--- a/build/json_schema_compile.gypi
+++ b/build/json_schema_compile.gypi
@@ -15,11 +15,8 @@
# namespace, like "toplevel::%(namespace)s_api".
#
# Functions and namespaces can be excluded by setting "nocompile" to true.
- # The default root path of API implementation sources is
- # chrome/browser/extensions/api and can be overridden by setting "impl_dir".
'api_gen_dir': '<(DEPTH)/tools/json_schema_compiler',
'api_gen': '<(api_gen_dir)/compiler.py',
- 'impl_dir%': 'chrome/browser/extensions/api',
},
'rules': [
{
@@ -57,7 +54,6 @@
'--destdir=<(SHARED_INTERMEDIATE_DIR)',
'--namespace=<(root_namespace)',
'--generator=cpp',
- '--impl-dir=<(impl_dir)'
],
'message': 'Generating C++ code from <(RULE_INPUT_PATH) json files',
'process_outputs_as_sources': 1,
@@ -96,7 +92,6 @@
'--destdir=<(SHARED_INTERMEDIATE_DIR)',
'--namespace=<(root_namespace)',
'--generator=cpp',
- '--impl-dir=<(impl_dir)'
],
'message': 'Generating C++ code from <(RULE_INPUT_PATH) IDL files',
'process_outputs_as_sources': 1,