naiveproxy/services/media_session/BUILD.gn
2018-12-09 21:59:24 -05:00

48 lines
1.1 KiB
Plaintext

# Copyright 2018 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.
# There should be only one media session service. It is currently in the
# browser process. So, only //content/browser should link to this target.
# Others modules should only need the public targets.
import("//services/catalog/public/tools/catalog.gni")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//testing/test.gni")
source_set("lib") {
sources = [
"media_session_service.cc",
"media_session_service.h",
]
deps = [
"//mojo/public/cpp/bindings",
]
public_deps = [
"//base",
"//services/service_manager/public/cpp",
]
}
service_manifest("manifest") {
name = "media_session"
source = "manifest.json"
}
source_set("tests") {
testonly = true
sources = [
"media_session_service_unittest.cc",
]
deps = [
":lib",
"//base",
"//base/test:test_support",
"//services/service_manager/public/cpp/test:test_support",
"//testing/gtest",
]
}