naiveproxy/media/gpu/ipc/service/BUILD.gn

55 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
# 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.
if (is_component_build) {
link_target_type = "source_set"
} else {
link_target_type = "static_library"
}
target(link_target_type, "service") {
visibility = [
"//components/viz/service/*",
"//content/gpu/*",
"//content/public/gpu/*",
"//media/*",
]
sources = [
"gpu_video_decode_accelerator.cc",
"gpu_video_decode_accelerator.h",
"gpu_video_encode_accelerator.cc",
"gpu_video_encode_accelerator.h",
"media_gpu_channel.cc",
"media_gpu_channel.h",
"media_gpu_channel_manager.cc",
"media_gpu_channel_manager.h",
]
include_dirs = [ "//third_party/mesa/src/include" ]
public_deps = [
"//base",
"//gpu/config",
"//ipc",
"//media",
"//media/gpu",
]
deps = [
"//gpu/ipc/service",
"//media:media_features",
"//media/gpu:features",
"//media/gpu/ipc/common",
"//third_party/mesa:mesa_headers",
"//ui/gfx/ipc/color",
]
if (is_win) {
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
if (is_mac) {
deps += [ "//third_party/webrtc/common_video:common_video" ]
}
}