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("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
5 # GYP version: components/network_hints.gypi:predictor | 7 # GYP version: components/network_hints.gypi:predictor |
6 source_set("common") { | 8 source_set("common") { |
7 sources = [ | 9 sources = [ |
8 "network_hints_common.cc", | 10 "network_hints_common.cc", |
9 "network_hints_common.h", | 11 "network_hints_common.h", |
10 "network_hints_message_generator.cc", | 12 "network_hints_param_traits.cc", |
11 "network_hints_message_generator.h", | 13 "network_hints_param_traits.h", |
12 "network_hints_messages.cc", | |
13 "network_hints_messages.h", | |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//content/public/common", | 18 "//content/public/common", |
19 "//ipc", | 19 "//ipc", |
20 "//ui/accessibility", | 20 "//ui/accessibility", |
21 "//url", | 21 "//url", |
22 ] | 22 ] |
23 } | 23 } |
| 24 |
| 25 mojom("network_hints_mojom") { |
| 26 sources = [ |
| 27 "network_hints.mojom", |
| 28 ] |
| 29 |
| 30 public_deps = [ |
| 31 "//url/mojo:url_mojom_gurl", |
| 32 ] |
| 33 } |
OLD | NEW |