blob: b3694580a8f8b7a7d598e37f41aaa097b8897d64 [file] [log] [blame]
Friedrich Horschig79549be2024-02-09 09:16:011# Copyright 2023 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/rules.gni")
6
7static_library("public") {
8 sources = [
Friedrich Horschigbcaf4d32024-02-15 15:07:469 "accessory_controller.h",
Friedrich Horschig79549be2024-02-09 09:16:0110 "accessory_sheet_data.cc",
11 "accessory_sheet_data.h",
12 "accessory_sheet_enums.h",
Friedrich Horschigbcaf4d32024-02-15 15:07:4613 "address_accessory_controller.h",
Timofey Chudakovd86e66f2024-08-08 13:04:5414 "affiliated_plus_profiles_provider.h",
Friedrich Horschigbcaf4d32024-02-15 15:07:4615 "manual_filling_controller.h",
16 "password_accessory_controller.h",
Qihui Zhao7880ddc2024-04-23 16:11:3717 "payment_method_accessory_controller.h",
Friedrich Horschig79549be2024-02-09 09:16:0118 ]
19
20 deps = [
21 "//base",
Friedrich Horschigbcaf4d32024-02-15 15:07:4622 "//components/autofill/core/browser",
23 "//components/password_manager/core/browser",
Timofey Chudakov8f8c17c2024-08-05 12:59:3324 "//components/plus_addresses:types",
Friedrich Horschigbcaf4d32024-02-15 15:07:4625 "//content/public/browser",
Friedrich Horschig79549be2024-02-09 09:16:0126 "//url",
27 ]
28}
29
Friedrich Horschigbcaf4d32024-02-15 15:07:4630source_set("android") {
31 sources = [
32 "manual_filling_utils.cc",
33 "manual_filling_utils.h",
34 ]
35 public_deps = [ ":public" ]
36 deps = [ "//base" ]
37}
38
39source_set("unit_test") {
40 testonly = true
41 sources = [
42 "address_accessory_controller_impl_unittest.cc",
Timofey Chudakov8f8c17c2024-08-05 12:59:3343 "affiliated_plus_profiles_cache_unittest.cc",
Friedrich Horschigbcaf4d32024-02-15 15:07:4644 "manual_filling_controller_impl_unittest.cc",
45 "password_accessory_controller_impl_unittest.cc",
Qihui Zhao7880ddc2024-04-23 16:11:3746 "payment_method_accessory_controller_impl_unittest.cc",
Friedrich Horschigbcaf4d32024-02-15 15:07:4647 ]
48 deps = [
49 ":android",
50 "../test_utils/android",
51 "//base",
52 "//chrome/app:generated_resources_grit",
53 "//chrome/browser",
54 "//chrome/browser/autofill",
Thomas Thrainer31ecdc322025-06-06 21:18:2755 "//chrome/browser/password_manager/android:unit_tests",
Ivana Žužić69b7ce42024-09-11 13:02:2556 "//chrome/browser/password_manager/android/access_loss:test_support",
Anna Tsvirchkova8ef04fce2024-11-05 16:29:5157 "//chrome/browser/password_manager/android/grouped_affiliations:test_utils",
Nick Diego Yamane49c50fa2025-04-29 17:23:1658 "//chrome/browser/plus_addresses",
Nick Diego Yamaneda45f052025-05-15 19:34:2059 "//chrome/browser/ui/plus_addresses",
Friedrich Horschigbcaf4d32024-02-15 15:07:4660 "//chrome/test:test_support",
61 "//components/autofill/content/browser:test_support",
62 "//components/autofill/core/browser",
Rouslan Solomakhinbb74a8f02024-05-31 15:08:1063 "//components/autofill/core/common:credit_card_number_validation",
Friedrich Horschigbcaf4d32024-02-15 15:07:4664 "//components/device_reauth",
65 "//components/password_manager/content/browser",
66 "//components/password_manager/core/browser",
67 "//components/password_manager/core/browser:test_support",
Timofey Chudakovb8f92802024-07-16 15:16:2168 "//components/plus_addresses:features",
Timofey Chudakov860ea4f2024-11-05 11:43:3169 "//components/plus_addresses:prefs",
Timofey Chudakov8f8c17c2024-08-05 12:59:3370 "//components/plus_addresses:test_support",
Jan Keitele549eaa2024-10-09 17:20:1371 "//components/plus_addresses/resources/strings",
Timofey Chudakov8f8c17c2024-08-05 12:59:3372 "//components/plus_addresses/settings:test_support",
Timofey Chudakov081aabd2024-08-09 18:26:1373 "//components/resources:android_resources",
Friedrich Horschigbcaf4d32024-02-15 15:07:4674 "//components/strings",
75 "//components/webauthn/android",
76 "//content/test:test_support",
77 "//testing/gmock",
78 "//testing/gtest",
79 ]
80}
81
Friedrich Horschig79549be2024-02-09 09:16:0182java_cpp_enum("java_enums") {
83 sources = [ "accessory_sheet_enums.h" ]
84}