naiveproxy/ios/chrome/browser/ui/bubble/BUILD.gn

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
# Copyright 2017 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("bubble") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"bubble_util.h",
"bubble_util.mm",
"bubble_view.h",
"bubble_view.mm",
"bubble_view_anchor_point_provider.h",
"bubble_view_controller.h",
"bubble_view_controller.mm",
"bubble_view_controller_presenter.h",
"bubble_view_controller_presenter.mm",
]
deps = [
"//base",
"//base:i18n",
"//ios/chrome/browser/ui",
"//ios/chrome/browser/ui/colors",
"//ios/chrome/common",
"//ios/third_party/material_components_ios",
]
libs = [ "UIKit.framework" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"bubble_util_unittest.mm",
"bubble_view_controller_presenter_unittest.mm",
"bubble_view_unittest.mm",
]
deps = [
":bubble",
"//base",
"//base:i18n",
"//testing/gtest",
]
libs = [ "CoreGraphics.framework" ]
}