naiveproxy/ios/chrome/browser/ui/tab_grid/grid/BUILD.gn
2018-12-09 21:59:24 -05:00

58 lines
1.3 KiB
Plaintext

# Copyright 2018 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.
import("//ios/public/provider/chrome/browser/build_config.gni")
source_set("grid_ui") {
sources = [
"grid_cell.h",
"grid_cell.mm",
"grid_commands.h",
"grid_constants.h",
"grid_constants.mm",
"grid_consumer.h",
"grid_image_data_source.h",
"grid_item.h",
"grid_item.mm",
"grid_layout.h",
"grid_layout.mm",
"grid_theme.h",
"grid_view_controller.h",
"grid_view_controller.mm",
"top_aligned_image_view.h",
"top_aligned_image_view.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"resources:grid_cell_close_button",
"//base",
"//ios/chrome/app/strings",
"//ios/chrome/browser",
"//ios/chrome/browser/ui:ui_util",
"//ios/chrome/browser/ui/tab_grid/transitions",
"//ios/chrome/common/ui_util",
"//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"grid_view_controller_unittest.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
":grid_ui",
"//base",
"//base/test:test_support",
"//ios/chrome/test:test_support",
"//testing/gtest",
]
}