mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
57 lines
1.3 KiB
Plaintext
57 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/browser/ui/util:constraints_ui",
|
|
"//ui/base",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"grid_view_controller_unittest.mm",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
|
|
deps = [
|
|
":grid_ui",
|
|
"//base/test:test_support",
|
|
"//testing/gtest",
|
|
"//third_party/ocmock",
|
|
]
|
|
}
|