OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # When including this gypi, the following variables must be set: | 7 # When including this gypi, the following variables must be set: |
8 # schema_files: an array of json or idl files that comprise the api model. | 8 # schema_files: an array of json or idl files that comprise the api model. |
9 # cc_dir: path to generated files | 9 # cc_dir: path to generated files |
10 # root_namespace: the C++ namespace that all generated files go under | 10 # root_namespace: the C++ namespace that all generated files go under |
(...skipping 10 matching lines...) Expand all Loading... |
21 '<(api_gen_dir)/compiler.py', | 21 '<(api_gen_dir)/compiler.py', |
22 '<(api_gen_dir)/cpp_bundle_generator.py', | 22 '<(api_gen_dir)/cpp_bundle_generator.py', |
23 '<(api_gen_dir)/cpp_type_generator.py', | 23 '<(api_gen_dir)/cpp_type_generator.py', |
24 '<(api_gen_dir)/cpp_util.py', | 24 '<(api_gen_dir)/cpp_util.py', |
25 '<(api_gen_dir)/h_generator.py', | 25 '<(api_gen_dir)/h_generator.py', |
26 '<(api_gen_dir)/idl_schema.py', | 26 '<(api_gen_dir)/idl_schema.py', |
27 '<(api_gen_dir)/json_schema.py', | 27 '<(api_gen_dir)/json_schema.py', |
28 '<(api_gen_dir)/model.py', | 28 '<(api_gen_dir)/model.py', |
29 '<(api_gen_dir)/util_cc_helper.py', | 29 '<(api_gen_dir)/util_cc_helper.py', |
30 '<@(schema_files)', | 30 '<@(schema_files)', |
| 31 '<@(non_compiled_schema_files)', |
31 ], | 32 ], |
32 'outputs': [ | 33 'outputs': [ |
33 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_api.h', | 34 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_api.h', |
34 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_api.cc', | 35 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_api.cc', |
35 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_schemas.h', | 36 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_schemas.h', |
36 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_schemas.cc', | 37 '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_schemas.cc', |
37 ], | 38 ], |
38 'action': [ | 39 'action': [ |
39 'python', | 40 'python', |
40 '<(api_gen)', | 41 '<(api_gen)', |
(...skipping 14 matching lines...) Expand all Loading... |
55 ], | 56 ], |
56 'direct_dependent_settings': { | 57 'direct_dependent_settings': { |
57 'include_dirs': [ | 58 'include_dirs': [ |
58 '<(SHARED_INTERMEDIATE_DIR)', | 59 '<(SHARED_INTERMEDIATE_DIR)', |
59 ] | 60 ] |
60 }, | 61 }, |
61 # This target exports a hard dependency because it generates header | 62 # This target exports a hard dependency because it generates header |
62 # files. | 63 # files. |
63 'hard_dependency': 1, | 64 'hard_dependency': 1, |
64 } | 65 } |
OLD | NEW |