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

Unified Diff: extensions/test/BUILD.gn

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/shell_extensions_client.cc ('k') | extensions/test/test_api.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/BUILD.gn
diff --git a/extensions/test/BUILD.gn b/extensions/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..76924c6ccd9236a022c0e056c19b839c0b71ef9b
--- /dev/null
+++ b/extensions/test/BUILD.gn
@@ -0,0 +1,46 @@
+# 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.
+
+import("//tools/json_schema_compiler/json_features.gni")
+
+json_features("test_api_features") {
+ feature_class = "APIFeature"
+ provider_class = "TestAPIFeatureProvider"
+ sources = [
+ "../common/api/_api_features.json",
+ ]
+}
+
+json_features("test_permission_features") {
+ feature_class = "PermissionFeature"
+ provider_class = "TestPermissionFeatureProvider"
+ sources = [
+ "../common/api/_permission_features.json",
+ ]
+}
+
+json_features("test_manifest_features") {
+ feature_class = "ManifestFeature"
+ provider_class = "TestManifestFeatureProvider"
+ sources = [
+ "../common/api/_manifest_features.json",
+ ]
+}
+
+json_features("test_behavior_features") {
+ feature_class = "BehaviorFeature"
+ provider_class = "TestBehaviorFeatureProvider"
+ sources = [
+ "../common/api/_behavior_features.json",
+ ]
+}
+
+group("extensions_features") {
+ public_deps = [
+ ":test_api_features",
+ ":test_behavior_features",
+ ":test_manifest_features",
+ ":test_permission_features",
+ ]
+}
« no previous file with comments | « extensions/shell/common/shell_extensions_client.cc ('k') | extensions/test/test_api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698