naiveproxy/ios/showcase/core/BUILD.gn

56 lines
1.3 KiB
Plaintext
Raw Permalink 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("core") {
sources = [
"app_delegate.h",
"app_delegate.mm",
"showcase_model.h",
"showcase_model.mm",
"showcase_view_controller.h",
"showcase_view_controller.mm",
]
deps = [
"//base",
"//base:i18n",
"//ios/showcase/common",
"//ios/third_party/material_components_ios",
"//ios/third_party/material_roboto_font_loader_ios",
"//ui/base",
]
libs = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("main") {
sources = [
"main.mm",
]
deps = [
":core",
"//base",
# Needed to disable the tests hooks.
"//ios/chrome/app:tests_fake_hook",
# Needed for including ios/chrome/browser/ui.
"//ios/chrome/browser/tabs:tabs_internal",
"//ios/chrome/browser/ui:ui_internal",
]
libs = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("eg_tests") {
testonly = true
sources = [
"showcase_egtest.mm",
]
deps = [
"//ios/showcase/test",
"//ios/third_party/earl_grey",
]
configs += [ "//build/config/compiler:enable_arc" ]
}