OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 # GN version: //chrome/common/extensions/api:api | |
9 'target_name': 'chrome_api', | |
10 'type': 'static_library', | |
11 'sources': [ | |
12 '<@(schema_files)', | |
13 ], | |
14 # TODO(jschuh): http://crbug.com/167187 size_t -> int | |
15 'msvs_disabled_warnings': [ 4267 ], | |
16 'includes': [ | |
17 '../../../../build/json_schema_bundle_compile.gypi', | |
18 '../../../../build/json_schema_compile.gypi', | |
19 'schemas.gypi', | |
20 ], | |
21 'dependencies': [ | |
22 '<@(schema_dependencies)', | |
23 ], | |
24 }, | |
25 { | |
26 # GN version: //chrome/common/extensions/api:extensions_features:api_featu
res | |
27 'target_name': 'api_features', | |
28 'type': 'static_library', | |
29 'variables': { | |
30 'feature_class': 'APIFeature', | |
31 'provider_class': 'APIFeatureProvider', | |
32 'out_dir': 'chrome/common/extensions/api', | |
33 'out_base_filename': 'api_features', | |
34 'in_files': [ | |
35 'chrome/common/extensions/api/_api_features.json', | |
36 'extensions/common/api/_api_features.json', | |
37 ], | |
38 }, | |
39 'inputs': ['<@(in_files)'], | |
40 'sources': ['<@(in_files)'], | |
41 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'], | |
42 }, | |
43 { | |
44 # GN version: //chrome/common/extensions/api:extensions_features:behavior_
features | |
45 'target_name': 'behavior_features', | |
46 'type': 'static_library', | |
47 'variables': { | |
48 'feature_class': 'BehaviorFeature', | |
49 'provider_class': 'BehaviorFeatureProvider', | |
50 'out_dir': 'chrome/common/extensions/api', | |
51 'out_base_filename': 'behavior_features', | |
52 'in_files': [ | |
53 'extensions/common/api/_behavior_features.json', | |
54 ], | |
55 }, | |
56 'inputs': ['<@(in_files)'], | |
57 'sources': ['<@(in_files)'], | |
58 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'], | |
59 }, | |
60 { | |
61 # GN version: //chrome/common/extensions/api:extensions_features:manifest_
features | |
62 'target_name': 'manifest_features', | |
63 'type': 'static_library', | |
64 'variables': { | |
65 'feature_class': 'ManifestFeature', | |
66 'provider_class': 'ManifestFeatureProvider', | |
67 'out_dir': 'chrome/common/extensions/api', | |
68 'out_base_filename': 'manifest_features', | |
69 'in_files': [ | |
70 'chrome/common/extensions/api/_manifest_features.json', | |
71 'extensions/common/api/_manifest_features.json', | |
72 ], | |
73 }, | |
74 'inputs': ['<@(in_files)'], | |
75 'sources': ['<@(in_files)'], | |
76 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'], | |
77 }, | |
78 { | |
79 # GN version: //chrome/common/extensions/api:extensions_features:permissio
n_features | |
80 'target_name': 'permission_features', | |
81 'type': 'static_library', | |
82 'variables': { | |
83 'feature_class': 'PermissionFeature', | |
84 'provider_class': 'PermissionFeatureProvider', | |
85 'out_dir': 'chrome/common/extensions/api', | |
86 'out_base_filename': 'permission_features', | |
87 'in_files': [ | |
88 'chrome/common/extensions/api/_permission_features.json', | |
89 'extensions/common/api/_permission_features.json', | |
90 ], | |
91 }, | |
92 'inputs': ['<@(in_files)'], | |
93 'sources': ['<@(in_files)'], | |
94 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'], | |
95 }, | |
96 { | |
97 # GN version: //chrome/common/extensions/api:extensions_features | |
98 'target_name': 'extensions_features', | |
99 'type': 'none', | |
100 'dependencies': [ | |
101 'api_features', | |
102 'behavior_features', | |
103 'manifest_features', | |
104 'permission_features', | |
105 ], | |
106 }, | |
107 ], | |
108 } | |
OLD | NEW |