naiveproxy/services/viz/BUILD.gn

52 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2018-02-02 13:49:39 +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.
import("//services/catalog/public/tools/catalog.gni")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
service("viz") {
sources = [
"main.cc",
]
deps = [
":lib",
"//services/service_manager/public/cpp",
"//skia",
]
}
source_set("lib") {
sources = [
"service.cc",
"service.h",
]
deps = [
"//base",
"//cc",
"//components/viz/service",
"//components/viz/service/main",
"//mojo/common:common_base",
"//services/service_manager/public/cpp",
"//services/viz/privileged/interfaces",
]
}
service_manifest("manifest") {
name = "viz"
source = "manifest.json"
}
service_manifest("unittests_manifest") {
name = "viz_service_unittests"
source = "test_manifest.json"
}
catalog("tests_catalog") {
testonly = true
embedded_services = [ ":unittests_manifest" ]
standalone_services = [ ":manifest" ]
}