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

Unified 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, 5 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/common/api/api.gyp
diff --git a/extensions/shell/common/api/api.gyp b/extensions/shell/common/api/api.gyp
index 9445dbb2a9db846ed2c1de13396e74986edd4022..4a3f9eec829a3d5357d46c67b8fd54b2ae1e7ee7 100644
--- a/extensions/shell/common/api/api.gyp
+++ b/extensions/shell/common/api/api.gyp
@@ -16,5 +16,85 @@
'schemas.gypi',
],
},
+ {
+ # GN version: //extensions/shell/common/api:extensions_features:shell_api_features
+ 'target_name': 'shell_api_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'APIFeature',
+ 'provider_class': 'ShellAPIFeatureProvider',
+ 'out_dir': 'extensions/shell/common/api',
+ 'out_base_filename': 'shell_api_features',
+ 'in_files': [
+ 'extensions/common/api/_api_features.json',
+ 'extensions/shell/common/api/_api_features.json',
+ ],
+ },
+ 'inputs': ['<@(in_files)'],
+ 'sources': ['<@(in_files)'],
+ 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
+ },
+ {
+ # GN version: //extensions/shell/common/api:extensions_features:shell_behavior_features
+ 'target_name': 'shell_behavior_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'BehaviorFeature',
+ 'provider_class': 'ShellBehaviorFeatureProvider',
+ 'out_dir': 'extensions/shell/common/api',
+ 'out_base_filename': 'shell_behavior_features',
+ 'in_files': [
+ 'extensions/common/api/_behavior_features.json',
+ ],
+ },
+ 'inputs': ['<@(in_files)'],
+ 'sources': ['<@(in_files)'],
+ 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
+ },
+ {
+ # GN version: //extensions/shell/common/api:extensions_features:shell_manifest_features
+ 'target_name': 'shell_manifest_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'ManifestFeature',
+ 'provider_class': 'ShellManifestFeatureProvider',
+ 'out_dir': 'extensions/shell/common/api',
+ 'out_base_filename': 'shell_manifest_features',
+ 'in_files': [
+ 'extensions/common/api/_manifest_features.json',
+ ],
+ },
+ 'inputs': ['<@(in_files)'],
+ 'sources': ['<@(in_files)'],
+ 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
+ },
+ {
+ # GN version: //extensions/shell/common/api:extensions_features:shell_permission_features
+ 'target_name': 'shell_permission_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'PermissionFeature',
+ 'provider_class': 'ShellPermissionFeatureProvider',
+ 'out_dir': 'extensions/shell/common/api',
+ 'out_base_filename': 'shell_permission_features',
+ 'in_files': [
+ 'extensions/common/api/_permission_features.json',
+ ],
+ },
+ 'inputs': ['<@(in_files)'],
+ 'sources': ['<@(in_files)'],
+ 'includes': ['../../../../tools/json_schema_compiler/json_features.gypi'],
+ },
+ {
+ # GN version: //extensions/shell/common/api:extensions_features
+ 'target_name': 'extensions_features',
+ 'type': 'none',
+ 'dependencies': [
+ 'shell_api_features',
+ 'shell_behavior_features',
+ 'shell_manifest_features',
+ 'shell_permission_features',
+ ],
+ },
],
}
« 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