OLD | NEW |
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 |
| 13 source_set("payments") { |
| 14 sources = [ |
| 15 "js_payment_request_manager.h", |
| 16 "js_payment_request_manager.mm", |
| 17 "payment_items_display_coordinator.h", |
| 18 "payment_items_display_coordinator.mm", |
| 19 "payment_items_display_view_controller.h", |
| 20 "payment_items_display_view_controller.mm", |
| 21 "payment_method_selection_coordinator.h", |
| 22 "payment_method_selection_coordinator.mm", |
| 23 "payment_method_selection_view_controller.h", |
| 24 "payment_method_selection_view_controller.mm", |
| 25 "payment_request_coordinator.h", |
| 26 "payment_request_coordinator.mm", |
| 27 "payment_request_manager.h", |
| 28 "payment_request_manager.mm", |
| 29 "payment_request_utils.h", |
| 30 "payment_request_utils.mm", |
| 31 "payment_request_view_controller.h", |
| 32 "payment_request_view_controller.mm", |
| 33 "payment_request_web_state_observer.h", |
| 34 "payment_request_web_state_observer.mm", |
| 35 "shipping_address_selection_coordinator.h", |
| 36 "shipping_address_selection_coordinator.mm", |
| 37 "shipping_address_selection_view_controller.h", |
| 38 "shipping_address_selection_view_controller.mm", |
| 39 ] |
| 40 deps = [ |
| 41 "//base", |
| 42 "//components/autofill/core/browser", |
| 43 "//components/strings", |
| 44 "//ios/chrome/app/strings", |
| 45 "//ios/chrome/browser", |
| 46 "//ios/chrome/browser/autofill", |
| 47 "//ios/chrome/browser/browser_state", |
| 48 "//ios/chrome/browser/payments:injected_js", |
| 49 "//ios/chrome/browser/payments/cells", |
| 50 "//ios/chrome/browser/ui", |
| 51 "//ios/chrome/browser/ui/collection_view", |
| 52 "//ios/chrome/browser/ui/collection_view/cells", |
| 53 "//ios/chrome/browser/ui/colors", |
| 54 "//ios/chrome/browser/ui/icons", |
| 55 "//ios/third_party/material_components_ios", |
| 56 "//ios/third_party/material_roboto_font_loader_ios", |
| 57 "//ios/web", |
| 58 "//ui/base", |
| 59 ] |
| 60 libs = [ "UIKit.framework" ] |
| 61 } |
| 62 |
| 63 source_set("unit_tests") { |
| 64 testonly = true |
| 65 sources = [ |
| 66 "payment_items_display_coordinator_unittest.mm", |
| 67 "payment_items_display_view_controller_unittest.mm", |
| 68 "shipping_address_selection_coordinator_unittest.mm", |
| 69 "shipping_address_selection_view_controller_unittest.mm", |
| 70 ] |
| 71 deps = [ |
| 72 ":payments", |
| 73 "//base", |
| 74 "//base/test:test_support", |
| 75 "//components/autofill/core/browser", |
| 76 "//ios/chrome/app/strings", |
| 77 "//ios/chrome/browser/ui/collection_view:test_support", |
| 78 "//ios/chrome/browser/ui/collection_view/cells", |
| 79 "//ios/chrome/browser/ui/collection_view/cells:test_support", |
| 80 "//ios/chrome/test:test_support", |
| 81 "//ios/third_party/material_components_ios", |
| 82 "//ios/web", |
| 83 "//testing/gtest", |
| 84 ] |
| 85 } |
OLD | NEW |