mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
48 lines
1.1 KiB
Plaintext
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",
|
|
]
|
|
}
|