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

Unified Diff: extensions/test/test_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/test/BUILD.gn ('k') | extensions/test/test_extensions_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/test_api.gyp
diff --git a/extensions/test/test_api.gyp b/extensions/test/test_api.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..3abcfbc93f597b3482be2fd559db3031dca83109
--- /dev/null
+++ b/extensions/test/test_api.gyp
@@ -0,0 +1,87 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ # GN version: //extensions/test:extensions_features:test_api_features
+ 'target_name': 'test_api_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'APIFeature',
+ 'provider_class': 'TestAPIFeatureProvider',
+ 'out_dir': 'extensions/test',
+ 'out_base_filename': 'test_api_features',
+ 'in_files': [
+ 'extensions/common/api/_api_features.json',
+ ],
+ },
+ 'inputs': ['<@(in_files)'],
+ 'sources': ['<@(in_files)'],
+ 'includes': ['../../tools/json_schema_compiler/json_features.gypi'],
+ },
+ {
+ # GN version: //extensions/test:extensions_features:test_behavior_features
+ 'target_name': 'test_behavior_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'BehaviorFeature',
+ 'provider_class': 'TestBehaviorFeatureProvider',
+ 'out_dir': 'extensions/test',
+ 'out_base_filename': 'test_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/test:extensions_features:test_manifest_features
+ 'target_name': 'test_manifest_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'ManifestFeature',
+ 'provider_class': 'TestManifestFeatureProvider',
+ 'out_dir': 'extensions/test',
+ 'out_base_filename': 'test_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/test:extensions_features:test_permission_features
+ 'target_name': 'test_permission_features',
+ 'type': 'static_library',
+ 'variables': {
+ 'feature_class': 'PermissionFeature',
+ 'provider_class': 'TestPermissionFeatureProvider',
+ 'out_dir': 'extensions/test',
+ 'out_base_filename': 'test_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/test:extensions_features
+ 'target_name': 'extensions_features',
+ 'type': 'none',
+ 'dependencies': [
+ 'test_api_features',
+ 'test_behavior_features',
+ 'test_manifest_features',
+ 'test_permission_features',
+ ],
+ },
+ ],
+}
« no previous file with comments | « extensions/test/BUILD.gn ('k') | extensions/test/test_extensions_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698