Chromium Code Reviews| 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 ] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 "shipping_address_selection_view_controller.mm", | 47 "shipping_address_selection_view_controller.mm", |
| 48 "shipping_address_selection_view_controller_actions.h", | 48 "shipping_address_selection_view_controller_actions.h", |
| 49 "shipping_option_selection_coordinator.h", | 49 "shipping_option_selection_coordinator.h", |
| 50 "shipping_option_selection_coordinator.mm", | 50 "shipping_option_selection_coordinator.mm", |
| 51 "shipping_option_selection_view_controller.h", | 51 "shipping_option_selection_view_controller.h", |
| 52 "shipping_option_selection_view_controller.mm", | 52 "shipping_option_selection_view_controller.mm", |
| 53 "shipping_option_selection_view_controller_actions.h", | 53 "shipping_option_selection_view_controller_actions.h", |
| 54 ] | 54 ] |
| 55 deps = [ | 55 deps = [ |
| 56 ":injected_js", | 56 ":injected_js", |
| 57 ":payments_ui", | |
| 57 "//base", | 58 "//base", |
| 58 "//components/autofill/core/browser", | 59 "//components/autofill/core/browser", |
| 59 "//components/autofill/ios/browser", | 60 "//components/autofill/ios/browser", |
| 60 "//components/payments/core", | 61 "//components/payments/core", |
| 61 "//components/strings", | 62 "//components/strings", |
| 62 "//ios/chrome/app/strings", | 63 "//ios/chrome/app/strings", |
| 63 "//ios/chrome/app/theme", | 64 "//ios/chrome/app/theme", |
| 64 "//ios/chrome/browser", | 65 "//ios/chrome/browser", |
| 65 "//ios/chrome/browser/autofill", | 66 "//ios/chrome/browser/autofill", |
| 66 "//ios/chrome/browser/browser_state", | 67 "//ios/chrome/browser/browser_state", |
| 67 "//ios/chrome/browser/payments/cells", | 68 "//ios/chrome/browser/payments/cells", |
| 68 "//ios/chrome/browser/ui", | 69 "//ios/chrome/browser/ui", |
| 69 "//ios/chrome/browser/ui/autofill", | 70 "//ios/chrome/browser/ui/autofill", |
| 70 "//ios/chrome/browser/ui/autofill/cells", | 71 "//ios/chrome/browser/ui/autofill/cells", |
| 71 "//ios/chrome/browser/ui/collection_view", | 72 "//ios/chrome/browser/ui/collection_view", |
| 72 "//ios/chrome/browser/ui/collection_view/cells", | 73 "//ios/chrome/browser/ui/collection_view/cells", |
| 73 "//ios/chrome/browser/ui/colors", | 74 "//ios/chrome/browser/ui/colors", |
| 74 "//ios/chrome/browser/ui/icons", | 75 "//ios/chrome/browser/ui/icons", |
| 75 "//ios/third_party/material_components_ios", | 76 "//ios/third_party/material_components_ios", |
| 76 "//ios/third_party/material_roboto_font_loader_ios", | 77 "//ios/third_party/material_roboto_font_loader_ios", |
| 77 "//ios/web", | 78 "//ios/web", |
| 78 "//ui/base", | 79 "//ui/base", |
| 79 ] | 80 ] |
| 80 libs = [ "UIKit.framework" ] | 81 libs = [ "UIKit.framework" ] |
| 81 } | 82 } |
| 82 | 83 |
| 84 source_set("payments_ui") { | |
| 85 configs += [ "//build/config/compiler:enable_arc" ] | |
| 86 sources = [ | |
| 87 "payment_request_edit_view_controller.h", | |
| 88 "payment_request_edit_view_controller.mm", | |
| 89 ] | |
| 90 deps = [ | |
| 91 "//base", | |
| 92 "//components/autofill/core/browser", | |
|
lpromero
2017/03/16 16:25:50
Is this used for anything other than autofill::Ser
Moe
2017/03/21 04:22:14
After the latest changes, this only exists because
| |
| 93 "//components/strings", | |
| 94 "//ios/chrome/app/theme", | |
| 95 "//ios/chrome/browser/payments/cells", | |
| 96 "//ios/chrome/browser/ui", | |
| 97 "//ios/chrome/browser/ui/collection_view", | |
| 98 "//ios/chrome/browser/ui/colors", | |
| 99 "//ios/chrome/browser/ui/settings", | |
| 100 "//ios/chrome/browser/ui/settings/cells", | |
| 101 "//ui/base", | |
| 102 ] | |
| 103 public_deps = [ | |
| 104 "//ios/third_party/material_components_ios", | |
| 105 ] | |
| 106 libs = [ "UIKit.framework" ] | |
| 107 } | |
| 108 | |
| 83 source_set("unit_tests") { | 109 source_set("unit_tests") { |
| 84 configs += [ "//build/config/compiler:enable_arc" ] | 110 configs += [ "//build/config/compiler:enable_arc" ] |
| 85 testonly = true | 111 testonly = true |
| 86 sources = [ | 112 sources = [ |
| 87 "payment_items_display_coordinator_unittest.mm", | 113 "payment_items_display_coordinator_unittest.mm", |
| 88 "payment_items_display_view_controller_unittest.mm", | 114 "payment_items_display_view_controller_unittest.mm", |
| 89 "payment_method_selection_coordinator_unittest.mm", | 115 "payment_method_selection_coordinator_unittest.mm", |
| 90 "payment_method_selection_view_controller_unittest.mm", | 116 "payment_method_selection_view_controller_unittest.mm", |
| 91 "payment_request_coordinator_unittest.mm", | 117 "payment_request_coordinator_unittest.mm", |
| 92 "payment_request_error_coordinator_unittest.mm", | 118 "payment_request_error_coordinator_unittest.mm", |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 117 "//ios/chrome/browser/ui/collection_view/cells:test_support", | 143 "//ios/chrome/browser/ui/collection_view/cells:test_support", |
| 118 "//ios/chrome/test:test_support", | 144 "//ios/chrome/test:test_support", |
| 119 "//ios/testing:ocmock_support", | 145 "//ios/testing:ocmock_support", |
| 120 "//ios/third_party/material_components_ios", | 146 "//ios/third_party/material_components_ios", |
| 121 "//ios/web", | 147 "//ios/web", |
| 122 "//ios/web:test_support", | 148 "//ios/web:test_support", |
| 123 "//testing/gtest", | 149 "//testing/gtest", |
| 124 "//third_party/ocmock", | 150 "//third_party/ocmock", |
| 125 ] | 151 ] |
| 126 } | 152 } |
| OLD | NEW |