naiveproxy/ios/chrome/browser/ui/payments/cells/BUILD.gn

63 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("cells") {
sources = [
"accepted_payment_methods_item.h",
"accepted_payment_methods_item.mm",
"accessibility_util.h",
"accessibility_util.mm",
"autofill_profile_item.h",
"autofill_profile_item.mm",
"page_info_item.h",
"page_info_item.mm",
"payment_method_item.h",
"payment_method_item.mm",
"payments_is_selectable.h",
"payments_selector_edit_item.h",
"payments_selector_edit_item.mm",
"payments_text_item.h",
"payments_text_item.mm",
"price_item.h",
"price_item.mm",
]
deps = [
"//ios/chrome/app/theme",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/autofill:autofill_ui",
"//ios/chrome/browser/ui/collection_view/cells",
"//ios/chrome/browser/ui/colors",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//url/",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"accepted_payment_methods_item_unittest.mm",
"accessibility_util_unittest.mm",
"autofill_profile_item_unittest.mm",
"page_info_item_unittest.mm",
"payment_method_item_unittest.mm",
"payments_selector_edit_item_unittests.mm",
"payments_text_item_unittest.mm",
"price_item_unittest.mm",
]
deps = [
":cells",
"//ios/chrome/browser/ui/collection_view/cells",
"//ios/chrome/browser/ui/collection_view/cells:test_support",
"//ios/third_party/material_components_ios",
"//testing/gtest",
]
configs += [ "//build/config/compiler:enable_arc" ]
}