blob: 02aeb14aaf5b77e6ca5ce132a5cde9592c850888 [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("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
source_set("lib") {
testonly = true
sources = [
"webtest.cc",
"webtest.h",
]
deps = [
"//base",
"//mash/public/interfaces",
"//mojo/public/cpp/bindings",
"//services/navigation/public/interfaces",
"//services/service_manager/public/cpp",
"//services/service_manager/public/interfaces",
"//services/tracing/public/cpp",
"//services/ui/public/cpp",
"//ui/gfx/geometry/mojo",
"//ui/native_theme",
"//ui/views",
"//ui/views/mus:for_mojo_application",
"//url",
]
data_deps = [
"//services/navigation",
]
}
service("webtest") {
testonly = true
sources = [
"main.cc",
]
deps = [
":lib",
"//services/service_manager/public/cpp",
"//ui/views/mus:for_mojo_application",
]
resources = [ "$root_out_dir/views_mus_resources.pak" ]
data_deps = [
":manifest",
"//services/ui",
]
}
service_manifest("manifest") {
name = "webtest"
source = "manifest.json"
}