OLD | NEW |
---|---|
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("//extensions/features/features.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 import("//tools/json_schema_compiler/json_features.gni") | 8 import("//tools/json_schema_compiler/json_features.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
11 | 11 |
12 json_features("extension_features_unittest") { | 12 json_features("extension_features_unittest") { |
13 feature_type = "APIFeature" | 13 feature_type = "APIFeature" |
14 provider_class = "UnittestFeatureProvider" | 14 provider_class = "UnittestFeatureProvider" |
15 sources = [ | 15 sources = [ |
16 "//chrome/test/data/extensions/extension_api_unittest/api_features.json", | 16 "//chrome/test/data/extensions/extension_api_unittest/api_features.json", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 group("test_features") { | 20 group("test_features") { |
21 public_deps = [ | 21 public_deps = [ |
22 ":extension_features_unittest", | 22 ":extension_features_unittest", |
23 ] | 23 ] |
24 } | 24 } |
25 | 25 |
26 mojom("mojo_bindings") { | 26 mojom("mojo_bindings") { |
27 sources = [ | 27 sources = [ |
28 "media_parser.mojom", | 28 "media_parser.mojom", |
29 "wifi_credentials_getter.mojom", | |
dcheng
2017/01/18 00:39:22
Should we only conditionally compile this interfac
Noel Gordon
2017/01/18 01:47:14
Yes, seems to work. Done.
| |
29 ] | 30 ] |
30 | 31 |
31 public_deps = [ | 32 public_deps = [ |
32 "//mojo/common:common_custom_types", | 33 "//mojo/common:common_custom_types", |
33 ] | 34 ] |
34 } | 35 } |
OLD | NEW |