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

Side by Side Diff: extensions/shell/common/api/api.gyp

Issue 2165023003: [Extensions] Use compiled feature files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « extensions/shell/common/api/BUILD.gn ('k') | extensions/shell/common/api/schemas.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //extensions/shell/common/api 8 # GN version: //extensions/shell/common/api
9 'target_name': 'shell_api', 9 'target_name': 'shell_api',
10 'type': 'static_library', 10 'type': 'static_library',
11 # TODO(jschuh): http://crbug.com/167187 size_t -> int 11 # TODO(jschuh): http://crbug.com/167187 size_t -> int
12 'msvs_disabled_warnings': [ 4267 ], 12 'msvs_disabled_warnings': [ 4267 ],
13 'includes': [ 13 'includes': [
14 '../../../../build/json_schema_bundle_compile.gypi', 14 '../../../../build/json_schema_bundle_compile.gypi',
15 '../../../../build/json_schema_compile.gypi', 15 '../../../../build/json_schema_compile.gypi',
16 'schemas.gypi', 16 'schemas.gypi',
17 ], 17 ],
18 }, 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 },
19 ], 99 ],
20 } 100 }
OLDNEW
« no previous file with comments | « extensions/shell/common/api/BUILD.gn ('k') | extensions/shell/common/api/schemas.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698