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

Side by Side Diff: chrome/common/extensions/BUILD.gn

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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 | « chrome/common/common_message_generator.h ('k') | chrome/common/extensions/api/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//extensions/features/features.gni")
6 import("//tools/json_schema_compiler/json_features.gni") 7 import("//tools/json_schema_compiler/json_features.gni")
7 8
8 assert(enable_extensions) 9 assert(enable_extensions)
9 10
10 json_features("extension_features_unittest") { 11 json_features("extension_features_unittest") {
11 feature_class = "APIFeature" 12 feature_class = "APIFeature"
12 provider_class = "UnittestFeatureProvider" 13 provider_class = "UnittestFeatureProvider"
13 sources = [ 14 sources = [
14 "//chrome/test/data/extensions/extension_api_unittest/api_features.json", 15 "//chrome/test/data/extensions/extension_api_unittest/api_features.json",
15 ] 16 ]
16 } 17 }
17 18
18 group("test_features") { 19 group("test_features") {
19 public_deps = [ 20 public_deps = [
20 ":extension_features_unittest", 21 ":extension_features_unittest",
21 ] 22 ]
22 } 23 }
OLDNEW
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/extensions/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698