Chromium Code Reviews| Index: ios/chrome/browser/payments/BUILD.gn |
| diff --git a/ios/chrome/browser/payments/BUILD.gn b/ios/chrome/browser/payments/BUILD.gn |
| index 07d0054f4111d73ab030a41e5c4fce33f3ce7caa..814f9dcb5742d7e0a5da9ff42b5ea11e3647e745 100644 |
| --- a/ios/chrome/browser/payments/BUILD.gn |
| +++ b/ios/chrome/browser/payments/BUILD.gn |
| @@ -54,6 +54,7 @@ source_set("payments") { |
| ] |
| deps = [ |
| ":injected_js", |
| + ":payments_ui", |
| "//base", |
| "//components/autofill/core/browser", |
| "//components/autofill/ios/browser", |
| @@ -80,6 +81,32 @@ source_set("payments") { |
| libs = [ "UIKit.framework" ] |
| } |
| +source_set("payments_ui") { |
| + configs += [ "//build/config/compiler:enable_arc" ] |
| + sources = [ |
| + "payment_request_edit_view_controller.h", |
| + "payment_request_edit_view_controller.mm", |
| + "payment_request_edit_view_controller_actions.h", |
| + ] |
| + deps = [ |
| + "//base", |
| + "//components/autofill/core/browser", |
| + "//components/strings", |
| + "//ios/chrome/app/theme", |
| + "//ios/chrome/browser/payments/cells", |
| + "//ios/chrome/browser/ui", |
| + "//ios/chrome/browser/ui/collection_view", |
| + "//ios/chrome/browser/ui/colors", |
| + "//ios/chrome/browser/ui/settings", |
| + "//ios/chrome/browser/ui/settings/cells", |
| + "//ui/base", |
| + ] |
| + public_deps = [ |
| + "//ios/third_party/material_components_ios", |
|
lpromero
2017/03/22 10:51:33
Is this necessary as public_deps? Are there includ
Moe
2017/03/22 17:54:31
I remember I had to make this a public dependency
lpromero
2017/03/23 12:58:35
I don't think you will need it. You always import
|
| + ] |
| + libs = [ "UIKit.framework" ] |
| +} |
| + |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |