blob: 873441185d0b778b9b40efaa227f1b9e95c7d983 [file] [log] [blame]
# 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",
"//ios/chrome/app/startup",
"//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" ]
}