blob: 5b87139319e2db8b4110f18d3fc05dc173be3c5f [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.
import("//build/config/ui.gni")
import("//testing/test.gni")
source_set("display") {
sources = [
"platform_screen.h",
"platform_screen_delegate.h",
]
deps = [
"//base",
"//ui/display",
"//ui/gfx",
]
if (use_ozone && is_chromeos) {
sources += [
"platform_screen_ozone.cc",
"platform_screen_ozone.h",
]
deps += [
"//skia",
"//ui/ozone",
]
} else {
sources += [
"platform_screen_stub.cc",
"platform_screen_stub.h",
]
}
}
if (use_ozone) {
test("display_service_unittests") {
sources = [
"platform_screen_ozone_unittests.cc",
]
deps = [
":display",
"//base",
"//base/test:run_all_unittests",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//ui/display",
"//ui/gfx",
"//ui/gfx:test_support",
"//ui/ozone",
]
}
}