Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1430)

Unified Diff: media/gpu/ipc/service/BUILD.gn

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix prefix to content references in content_gpu.gypi Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/gpu/ipc/service/BUILD.gn
diff --git a/media/gpu/ipc/client/BUILD.gn b/media/gpu/ipc/service/BUILD.gn
similarity index 26%
copy from media/gpu/ipc/client/BUILD.gn
copy to media/gpu/ipc/service/BUILD.gn
index c55b1acb954344e879aa152a0bf144a00676033f..6791bc53eeefac75937a8ba9fec1f5e4230f3975 100644
--- a/media/gpu/ipc/client/BUILD.gn
+++ b/media/gpu/ipc/service/BUILD.gn
@@ -2,25 +2,37 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("client") {
- sources = [
- "gpu_jpeg_decode_accelerator_host.cc",
- "gpu_jpeg_decode_accelerator_host.h",
- "gpu_video_decode_accelerator_host.cc",
- "gpu_video_decode_accelerator_host.h",
- "gpu_video_encode_accelerator_host.cc",
- "gpu_video_encode_accelerator_host.h",
+source_set("service") {
+ visibility = [
+ "//media/*",
+ "//content/gpu/*",
+ "//content/public/gpu/*",
]
- configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+ sources = [
+ "gpu_jpeg_decode_accelerator.cc",
+ "gpu_jpeg_decode_accelerator.h",
+ "gpu_video_decode_accelerator.cc",
+ "gpu_video_decode_accelerator.h",
+ "gpu_video_decode_accelerator_factory_impl.cc",
+ "gpu_video_decode_accelerator_factory_impl.h",
+ "gpu_video_encode_accelerator.cc",
+ "gpu_video_encode_accelerator.h",
+ "media_channel.cc",
+ "media_channel.h",
+ "media_service.cc",
+ "media_service.h",
+ ]
- deps = [
+ public_deps = [
"//base",
- "//gpu/ipc/common",
+ "//gpu/config",
"//ipc",
"//media",
- "//ui/gfx:memory_buffer",
- "//ui/gfx/geometry",
- "//ui/gfx/ipc",
+ "//media/gpu",
+ ]
+ deps = [
+ "//gpu/ipc/service",
+ "//media/gpu/ipc/common",
]
}

Powered by Google App Engine
This is Rietveld 408576698