OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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: | 8 # schema_files: |
9 # An array of json or idl files that comprise the api model. | 9 # An array of json or idl files that comprise the api model. |
10 # impl_dir_: | 10 # impl_dir_: |
(...skipping 17 matching lines...) Expand all Loading... |
28 '<(api_gen_dir)/cpp_util.py', | 28 '<(api_gen_dir)/cpp_util.py', |
29 '<(api_gen_dir)/h_generator.py', | 29 '<(api_gen_dir)/h_generator.py', |
30 '<(api_gen_dir)/idl_schema.py', | 30 '<(api_gen_dir)/idl_schema.py', |
31 '<(api_gen_dir)/json_schema.py', | 31 '<(api_gen_dir)/json_schema.py', |
32 '<(api_gen_dir)/model.py', | 32 '<(api_gen_dir)/model.py', |
33 '<(api_gen_dir)/util_cc_helper.py', | 33 '<(api_gen_dir)/util_cc_helper.py', |
34 ], | 34 ], |
35 }, | 35 }, |
36 'actions': [ | 36 'actions': [ |
37 { | 37 { |
38 # GN version: //extensions/generated_extensions_api.gni | 38 # GN version: json_schema_compile.gni |
39 'action_name': 'genapi_bundle_registration', | 39 'action_name': 'genapi_bundle_registration', |
40 'inputs': [ | 40 'inputs': [ |
41 '<@(generator_files)', | 41 '<@(generator_files)', |
42 '<@(schema_files)', | 42 '<@(schema_files)', |
43 '<@(non_compiled_schema_files)', | 43 '<@(non_compiled_schema_files)', |
44 ], | 44 ], |
45 'outputs': [ | 45 'outputs': [ |
46 '<(SHARED_INTERMEDIATE_DIR)/<(impl_dir_)/generated_api_registration.h', | 46 '<(SHARED_INTERMEDIATE_DIR)/<(impl_dir_)/generated_api_registration.h', |
47 '<(SHARED_INTERMEDIATE_DIR)/<(impl_dir_)/generated_api_registration.cc', | 47 '<(SHARED_INTERMEDIATE_DIR)/<(impl_dir_)/generated_api_registration.cc', |
48 ], | 48 ], |
(...skipping 20 matching lines...) Expand all Loading... |
69 ], | 69 ], |
70 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
71 'include_dirs': [ | 71 'include_dirs': [ |
72 '<(SHARED_INTERMEDIATE_DIR)', | 72 '<(SHARED_INTERMEDIATE_DIR)', |
73 ] | 73 ] |
74 }, | 74 }, |
75 # This target exports a hard dependency because it generates header | 75 # This target exports a hard dependency because it generates header |
76 # files. | 76 # files. |
77 'hard_dependency': 1, | 77 'hard_dependency': 1, |
78 } | 78 } |
OLD | NEW |