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") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 static_library("ipc_traits") { | 7 static_library("ipc_traits") { |
8 sources = [ | 8 sources = [ |
9 "autofill_message_generator.cc", | 9 "autofill_message_generator.cc", |
10 "autofill_param_traits_macros.h", | 10 "autofill_param_traits_macros.h", |
(...skipping 12 matching lines...) Expand all Loading... |
23 "autofill_agent.mojom", | 23 "autofill_agent.mojom", |
24 "autofill_driver.mojom", | 24 "autofill_driver.mojom", |
25 ] | 25 ] |
26 | 26 |
27 public_deps = [ | 27 public_deps = [ |
28 ":mojo_types", | 28 ":mojo_types", |
29 "//mojo/common:common_custom_types", | 29 "//mojo/common:common_custom_types", |
30 "//ui/gfx/geometry/mojo", | 30 "//ui/gfx/geometry/mojo", |
31 "//url/mojo:url_mojom_gurl", | 31 "//url/mojo:url_mojom_gurl", |
32 ] | 32 ] |
| 33 |
| 34 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 35 use_once_callback = false |
33 } | 36 } |
34 | 37 |
35 mojom("mojo_types") { | 38 mojom("mojo_types") { |
36 sources = [ | 39 sources = [ |
37 "autofill_types.mojom", | 40 "autofill_types.mojom", |
38 ] | 41 ] |
39 | 42 |
40 public_deps = [ | 43 public_deps = [ |
41 "//mojo/common:common_custom_types", | 44 "//mojo/common:common_custom_types", |
42 "//url/mojo:url_mojom_gurl", | 45 "//url/mojo:url_mojom_gurl", |
43 "//url/mojo:url_mojom_origin", | 46 "//url/mojo:url_mojom_origin", |
44 ] | 47 ] |
45 } | 48 } |
46 | 49 |
47 mojom("mojo_test_types") { | 50 mojom("mojo_test_types") { |
48 sources = [ | 51 sources = [ |
49 "test_autofill_types.mojom", | 52 "test_autofill_types.mojom", |
50 ] | 53 ] |
51 | 54 |
52 public_deps = [ | 55 public_deps = [ |
53 ":mojo_types", | 56 ":mojo_types", |
54 ] | 57 ] |
| 58 |
| 59 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 60 use_once_callback = false |
55 } | 61 } |
56 | 62 |
57 source_set("unit_tests") { | 63 source_set("unit_tests") { |
58 testonly = true | 64 testonly = true |
59 sources = [ | 65 sources = [ |
60 "autofill_types_struct_traits_unittest.cc", | 66 "autofill_types_struct_traits_unittest.cc", |
61 ] | 67 ] |
62 | 68 |
63 public_deps = [ | 69 public_deps = [ |
64 ":mojo_test_types", | 70 ":mojo_test_types", |
65 ] | 71 ] |
66 | 72 |
67 deps = [ | 73 deps = [ |
68 "//base", | 74 "//base", |
69 "//components/autofill/core/browser:test_support", | 75 "//components/autofill/core/browser:test_support", |
70 "//components/password_manager/core/common", | 76 "//components/password_manager/core/common", |
71 "//mojo/public/cpp/bindings", | 77 "//mojo/public/cpp/bindings", |
72 "//testing/gtest", | 78 "//testing/gtest", |
73 ] | 79 ] |
74 } | 80 } |
OLD | NEW |