| 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 "removable_storage_writer.mojom", |
| 29 ] | 30 ] |
| 30 | 31 |
| 31 if (is_win) { | 32 if (is_win) { |
| 32 sources += [ "wifi_credentials_getter.mojom" ] | 33 sources += [ "wifi_credentials_getter.mojom" ] |
| 33 } | 34 } |
| 34 | 35 |
| 35 public_deps = [ | 36 public_deps = [ |
| 36 "//mojo/common:common_custom_types", | 37 "//mojo/common:common_custom_types", |
| 37 ] | 38 ] |
| 38 } | 39 } |
| OLD | NEW |