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