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

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

Issue 2590943002: Removes two unnecessary cells + adds missing unit test for an existing cell (Closed)
Patch Set: Created 4 years 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 source_set("cells") { 5 source_set("cells") {
6 sources = [ 6 sources = [
7 "order_summary_line_item.h",
8 "order_summary_line_item.mm",
9 "order_summary_total_item.h",
10 "order_summary_total_item.mm",
11 "page_info_item.h", 7 "page_info_item.h",
12 "page_info_item.mm", 8 "page_info_item.mm",
13 "payment_method_item.h", 9 "payment_method_item.h",
14 "payment_method_item.mm", 10 "payment_method_item.mm",
15 "shipping_address_item.h", 11 "shipping_address_item.h",
16 "shipping_address_item.mm", 12 "shipping_address_item.mm",
17 ] 13 ]
18 14
19 deps = [ 15 deps = [
20 "//ios/chrome/browser/ui/collection_view/cells", 16 "//ios/chrome/browser/ui/collection_view/cells",
21 "//ios/third_party/material_components_ios", 17 "//ios/third_party/material_components_ios",
22 "//ios/third_party/material_roboto_font_loader_ios", 18 "//ios/third_party/material_roboto_font_loader_ios",
23 ] 19 ]
24 20
25 configs += [ "//build/config/compiler:enable_arc" ] 21 configs += [ "//build/config/compiler:enable_arc" ]
26 } 22 }
27 23
28 source_set("unit_tests") { 24 source_set("unit_tests") {
29 testonly = true 25 testonly = true
30 sources = [ 26 sources = [
31 "page_info_item_unittest.mm", 27 "page_info_item_unittest.mm",
32 "payment_method_item_unittest.mm", 28 "payment_method_item_unittest.mm",
29 "shipping_address_item_unittest.mm",
33 ] 30 ]
34 31
35 deps = [ 32 deps = [
36 ":cells", 33 ":cells",
37 "//ios/chrome/browser/ui/collection_view/cells:test_support", 34 "//ios/chrome/browser/ui/collection_view/cells:test_support",
38 "//ios/third_party/material_components_ios", 35 "//ios/third_party/material_components_ios",
39 "//testing/gtest", 36 "//testing/gtest",
40 ] 37 ]
41 38
42 configs += [ "//build/config/compiler:enable_arc" ] 39 configs += [ "//build/config/compiler:enable_arc" ]
43 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698