OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/common/api/schema.gni") | 6 import("//extensions/common/api/schema.gni") |
7 import("//extensions/features/features.gni") | 7 import("//extensions/features/features.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/json_schema_compiler/json_schema_api.gni") | 9 import("//tools/json_schema_compiler/json_schema_api.gni") |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 deps = [ | 22 deps = [ |
23 "//base", | 23 "//base", |
24 "//extensions/features", | 24 "//extensions/features", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 mojom("mojom") { | 28 mojom("mojom") { |
29 sources = [ | 29 sources = [ |
30 "mime_handler.mojom", | 30 "mime_handler.mojom", |
31 ] | 31 ] |
| 32 |
| 33 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 34 use_once_callback = false |
32 } | 35 } |
33 | 36 |
34 group("api") { | 37 group("api") { |
35 public_deps = [ | 38 public_deps = [ |
36 ":generated_api", | 39 ":generated_api", |
37 ":mojom", | 40 ":mojom", |
38 "//extensions/features", | 41 "//extensions/features", |
39 ] | 42 ] |
40 } | 43 } |
OLD | NEW |