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

Unified Diff: build/json_schema_bundle_compile.gypi

Issue 487533005: Add support for references in different paths in apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renaming core_api::types->core_api::extension_types. 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 | « no previous file | build/json_schema_compile.gypi » ('j') | chrome/common/extensions/api/api.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/json_schema_bundle_compile.gypi
diff --git a/build/json_schema_bundle_compile.gypi b/build/json_schema_bundle_compile.gypi
index 7e712d7df49e45931305256e7342f98b02d3780e..b46a2bfdc4a78609a70c75641a96e515918dd75b 100644
--- a/build/json_schema_bundle_compile.gypi
+++ b/build/json_schema_bundle_compile.gypi
@@ -7,6 +7,8 @@
# When including this gypi, the following variables must be set:
# schema_files:
# An array of json or idl files that comprise the api model.
+ # schema_includes (optional):
+ # An array of paths to include when searching for referenced objects.
# cc_dir:
# The directory to put the generated code in.
# root_namespace:
@@ -20,6 +22,7 @@
'api_gen_dir': '<(DEPTH)/tools/json_schema_compiler',
'api_gen': '<(api_gen_dir)/compiler.py',
'impl_dir%': 'chrome/browser/extensions/api',
+ 'schema_includes' : [],
not at google - send to devlin 2014/08/25 22:22:46 No space before the :
lfg 2014/08/26 16:15:21 Done.
},
'actions': [
{
@@ -54,6 +57,7 @@
'--namespace=<(root_namespace)',
'--generator=cpp-bundle',
'--impl-dir=<(impl_dir)',
+ '--include=<(schema_includes)',
not at google - send to devlin 2014/08/25 22:22:46 For every time this parameter is passed around, or
lfg 2014/08/26 16:15:21 include-rules sounds good, I went with it.
'<@(schema_files)',
'<@(non_compiled_schema_files)',
],
« no previous file with comments | « no previous file | build/json_schema_compile.gypi » ('j') | chrome/common/extensions/api/api.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698