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

Side by Side Diff: ios/chrome/browser/payments/BUILD.gn

Issue 2744823003: [Payment Request] Generic edit form (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//ios/web/js_compile.gni") 5 import("//ios/web/js_compile.gni")
6 6
7 js_compile_checked("injected_js") { 7 js_compile_checked("injected_js") {
8 sources = [ 8 sources = [
9 "resources/payment_request_manager.js", 9 "resources/payment_request_manager.js",
10 ] 10 ]
11 } 11 }
12 12
13 source_set("payments") { 13 source_set("payments") {
14 configs += [ "//build/config/compiler:enable_arc" ] 14 configs += [ "//build/config/compiler:enable_arc" ]
15 sources = [ 15 sources = [
16 "credit_card_edit_coordinator.h",
17 "credit_card_edit_coordinator.mm",
18 "credit_card_edit_view_controller.h",
lpromero 2017/03/13 16:42:36 For a follow-up CL: could you move the UI pieces t
Moe 2017/03/16 01:35:32 Done.
19 "credit_card_edit_view_controller.mm",
16 "js_payment_request_manager.h", 20 "js_payment_request_manager.h",
17 "js_payment_request_manager.mm", 21 "js_payment_request_manager.mm",
18 "payment_items_display_coordinator.h", 22 "payment_items_display_coordinator.h",
19 "payment_items_display_coordinator.mm", 23 "payment_items_display_coordinator.mm",
20 "payment_items_display_view_controller.h", 24 "payment_items_display_view_controller.h",
21 "payment_items_display_view_controller.mm", 25 "payment_items_display_view_controller.mm",
22 "payment_items_display_view_controller_actions.h", 26 "payment_items_display_view_controller_actions.h",
23 "payment_method_selection_coordinator.h", 27 "payment_method_selection_coordinator.h",
24 "payment_method_selection_coordinator.mm", 28 "payment_method_selection_coordinator.mm",
25 "payment_method_selection_view_controller.h", 29 "payment_method_selection_view_controller.h",
26 "payment_method_selection_view_controller.mm", 30 "payment_method_selection_view_controller.mm",
27 "payment_method_selection_view_controller_actions.h", 31 "payment_method_selection_view_controller_actions.h",
28 "payment_request.h", 32 "payment_request.h",
29 "payment_request.mm", 33 "payment_request.mm",
30 "payment_request_coordinator.h", 34 "payment_request_coordinator.h",
31 "payment_request_coordinator.mm", 35 "payment_request_coordinator.mm",
36 "payment_request_edit_view_controller.h",
37 "payment_request_edit_view_controller.mm",
32 "payment_request_error_coordinator.h", 38 "payment_request_error_coordinator.h",
33 "payment_request_error_coordinator.mm", 39 "payment_request_error_coordinator.mm",
34 "payment_request_error_view_controller.h", 40 "payment_request_error_view_controller.h",
35 "payment_request_error_view_controller.mm", 41 "payment_request_error_view_controller.mm",
36 "payment_request_error_view_controller_actions.h", 42 "payment_request_error_view_controller_actions.h",
37 "payment_request_manager.h", 43 "payment_request_manager.h",
38 "payment_request_manager.mm", 44 "payment_request_manager.mm",
39 "payment_request_util.h", 45 "payment_request_util.h",
40 "payment_request_util.mm", 46 "payment_request_util.mm",
41 "payment_request_view_controller.h", 47 "payment_request_view_controller.h",
(...skipping 23 matching lines...) Expand all
65 "//ios/chrome/browser/autofill", 71 "//ios/chrome/browser/autofill",
66 "//ios/chrome/browser/browser_state", 72 "//ios/chrome/browser/browser_state",
67 "//ios/chrome/browser/payments/cells", 73 "//ios/chrome/browser/payments/cells",
68 "//ios/chrome/browser/ui", 74 "//ios/chrome/browser/ui",
69 "//ios/chrome/browser/ui/autofill", 75 "//ios/chrome/browser/ui/autofill",
70 "//ios/chrome/browser/ui/autofill/cells", 76 "//ios/chrome/browser/ui/autofill/cells",
71 "//ios/chrome/browser/ui/collection_view", 77 "//ios/chrome/browser/ui/collection_view",
72 "//ios/chrome/browser/ui/collection_view/cells", 78 "//ios/chrome/browser/ui/collection_view/cells",
73 "//ios/chrome/browser/ui/colors", 79 "//ios/chrome/browser/ui/colors",
74 "//ios/chrome/browser/ui/icons", 80 "//ios/chrome/browser/ui/icons",
81 "//ios/chrome/browser/ui/settings",
82 "//ios/chrome/browser/ui/settings/cells",
lpromero 2017/03/13 16:42:36 How come payments code needs this? I think we shou
Moe 2017/03/16 01:35:32 these are for the autofill_edit_accessory_view.h a
lpromero 2017/03/16 13:01:05 Would they be generic enough to be in ios/chrome/b
75 "//ios/third_party/material_components_ios", 83 "//ios/third_party/material_components_ios",
76 "//ios/third_party/material_roboto_font_loader_ios", 84 "//ios/third_party/material_roboto_font_loader_ios",
77 "//ios/web", 85 "//ios/web",
78 "//ui/base", 86 "//ui/base",
79 ] 87 ]
80 libs = [ "UIKit.framework" ] 88 libs = [ "UIKit.framework" ]
81 } 89 }
82 90
83 source_set("unit_tests") { 91 source_set("unit_tests") {
84 configs += [ "//build/config/compiler:enable_arc" ] 92 configs += [ "//build/config/compiler:enable_arc" ]
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "//ios/chrome/browser/ui/collection_view/cells:test_support", 125 "//ios/chrome/browser/ui/collection_view/cells:test_support",
118 "//ios/chrome/test:test_support", 126 "//ios/chrome/test:test_support",
119 "//ios/testing:ocmock_support", 127 "//ios/testing:ocmock_support",
120 "//ios/third_party/material_components_ios", 128 "//ios/third_party/material_components_ios",
121 "//ios/web", 129 "//ios/web",
122 "//ios/web:test_support", 130 "//ios/web:test_support",
123 "//testing/gtest", 131 "//testing/gtest",
124 "//third_party/ocmock", 132 "//third_party/ocmock",
125 ] 133 ]
126 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698