Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: components/autofill/core/browser/BUILD.gn

Issue 974323002: Componentize autofill dialog common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/BUILD.gn
diff --git a/components/autofill/core/browser/BUILD.gn b/components/autofill/core/browser/BUILD.gn
index 5c937b0ec2d21030e85939e2297ee4e956023120..2acee3043dd71b058cee101b39b9db263625a2fe 100644
--- a/components/autofill/core/browser/BUILD.gn
+++ b/components/autofill/core/browser/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
+
if (is_android) {
import("//build/config/android/config.gni")
autofill_enable_sync = !is_android_webview_build
@@ -119,6 +121,8 @@ static_library("browser") {
"state_names.h",
"suggestion.cc",
"suggestion.h",
+ "ui/autofill_dialog_types.cc",
+ "ui/autofill_dialog_types.h",
"validation.cc",
"validation.h",
"wallet/real_pan_wallet_client.cc",
@@ -190,6 +194,13 @@ static_library("browser") {
"webdata/autofill_wallet_syncable_service.h",
]
}
+
+ if (enable_autofill_dialog) {
+ sources += [
+ "ui/autofill_dialog_common.cc",
+ "ui/autofill_dialog_common.h",
+ ]
+ }
}
static_library("test_support") {

Powered by Google App Engine
This is Rietveld 408576698