| Index: media/gpu/ipc/service/BUILD.gn
|
| diff --git a/media/gpu/ipc/service/BUILD.gn b/media/gpu/ipc/service/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d8ffd04e9a2d2c67be61b25a902be4ce54e50336
|
| --- /dev/null
|
| +++ b/media/gpu/ipc/service/BUILD.gn
|
| @@ -0,0 +1,47 @@
|
| +# 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.
|
| +
|
| +source_set("service") {
|
| + visibility = [
|
| + "//media/*",
|
| + "//content/gpu/*",
|
| + "//content/public/gpu/*",
|
| + ]
|
| +
|
| + sources = [
|
| + "gpu_jpeg_decode_accelerator.cc",
|
| + "gpu_jpeg_decode_accelerator.h",
|
| + "gpu_video_decode_accelerator.cc",
|
| + "gpu_video_decode_accelerator.h",
|
| + "gpu_video_encode_accelerator.cc",
|
| + "gpu_video_encode_accelerator.h",
|
| + "media_channel.cc",
|
| + "media_channel.h",
|
| + "media_service.cc",
|
| + "media_service.h",
|
| + ]
|
| +
|
| + include_dirs = [ "//third_party/mesa/src/include" ]
|
| +
|
| + public_deps = [
|
| + "//base",
|
| + "//gpu/config",
|
| + "//ipc",
|
| + "//media",
|
| + "//media/gpu",
|
| + ]
|
| + deps = [
|
| + "//gpu/ipc/service",
|
| + "//media/gpu/ipc/common",
|
| + "//third_party/mesa:mesa_headers",
|
| + ]
|
| +
|
| + if (is_chromeos && current_cpu != "arm") {
|
| + configs += [ "//third_party/libva:libva_config" ]
|
| + }
|
| +
|
| + if (is_win) {
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| + }
|
| +}
|
|
|