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 | |
36 } | 33 } |
37 | 34 |
38 mojom("mojo_types") { | 35 mojom("mojo_types") { |
39 sources = [ | 36 sources = [ |
40 "autofill_types.mojom", | 37 "autofill_types.mojom", |
41 ] | 38 ] |
42 | 39 |
43 public_deps = [ | 40 public_deps = [ |
44 "//mojo/common:common_custom_types", | 41 "//mojo/common:common_custom_types", |
45 "//url/mojo:url_mojom_gurl", | 42 "//url/mojo:url_mojom_gurl", |
46 "//url/mojo:url_mojom_origin", | 43 "//url/mojo:url_mojom_origin", |
47 ] | 44 ] |
48 } | 45 } |
49 | 46 |
50 mojom("mojo_test_types") { | 47 mojom("mojo_test_types") { |
51 sources = [ | 48 sources = [ |
52 "test_autofill_types.mojom", | 49 "test_autofill_types.mojom", |
53 ] | 50 ] |
54 | 51 |
55 public_deps = [ | 52 public_deps = [ |
56 ":mojo_types", | 53 ":mojo_types", |
57 ] | 54 ] |
58 | |
59 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
60 use_once_callback = false | |
61 } | 55 } |
62 | 56 |
63 source_set("unit_tests") { | 57 source_set("unit_tests") { |
64 testonly = true | 58 testonly = true |
65 sources = [ | 59 sources = [ |
66 "autofill_types_struct_traits_unittest.cc", | 60 "autofill_types_struct_traits_unittest.cc", |
67 ] | 61 ] |
68 | 62 |
69 public_deps = [ | 63 public_deps = [ |
70 ":mojo_test_types", | 64 ":mojo_test_types", |
71 ] | 65 ] |
72 | 66 |
73 deps = [ | 67 deps = [ |
74 "//base", | 68 "//base", |
75 "//components/autofill/core/browser:test_support", | 69 "//components/autofill/core/browser:test_support", |
76 "//components/password_manager/core/common", | 70 "//components/password_manager/core/common", |
77 "//mojo/public/cpp/bindings", | 71 "//mojo/public/cpp/bindings", |
78 "//testing/gtest", | 72 "//testing/gtest", |
79 ] | 73 ] |
80 } | 74 } |
OLD | NEW |