mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-04 19:26:09 +03:00
58 lines
1.3 KiB
Plaintext
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",
|
|
]
|
|
}
|