Index: components/autofill/core/browser/BUILD.gn |
diff --git a/components/autofill/core/browser/BUILD.gn b/components/autofill/core/browser/BUILD.gn |
index e9d6016c4f457087f233897ffe14db3cc42e2f7f..66433199fe1a4f66df9964546f0252999e2a4844 100644 |
--- a/components/autofill/core/browser/BUILD.gn |
+++ b/components/autofill/core/browser/BUILD.gn |
@@ -152,6 +152,15 @@ static_library("browser") { |
] |
} |
+ if (is_android) { |
+ sources += [ |
+ "autofill_assistant.cc", |
+ "autofill_assistant.h", |
+ "autofill_credit_card_filling_infobar_delegate_mobile.cc", |
+ "autofill_credit_card_filling_infobar_delegate_mobile.h", |
+ ] |
+ } |
+ |
if (is_ios || is_android) { |
sources += [ |
"autofill_save_card_infobar_delegate_mobile.cc", |
@@ -321,6 +330,10 @@ source_set("unit_tests") { |
"webdata/web_data_service_unittest.cc", |
] |
+ if (is_android) { |
+ sources += [ "autofill_assistant_unittest.cc" ] |
+ } |
+ |
deps = [ |
":browser", |
":test_support", |