Make gpu:raster component and move RasterImplementationGLES into it
Bug: 795884
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I768935020eaac55ac615338204679960e3dec915
Reviewed-on: https://chromium-review.googlesource.com/879176
Reviewed-by: Victor Miura <[email protected]>
Reviewed-by: Sadrul Chowdhury <[email protected]>
Commit-Queue: Antoine Labour <[email protected]>
Cr-Commit-Position: refs/heads/master@{#531089}
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index 4b51ca8..a0de859 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -19,6 +19,10 @@
defines = [ "GPU_UTIL_IMPLEMENTATION" ]
}
+config("raster_implementation") {
+ defines = [ "RASTER_IMPLEMENTATION" ]
+}
+
component("gpu") {
public_deps = [
"//gpu/command_buffer/client:client_sources",
@@ -38,6 +42,12 @@
]
}
+component("raster") {
+ public_deps = [
+ "//gpu/command_buffer/client:raster_sources",
+ ]
+}
+
component("gpu_util") {
public_deps = [
"//gpu/ipc/common:gpu_preferences_util_sources",
@@ -408,6 +418,7 @@
"//components/viz/common:resource_format",
"//gpu/command_buffer/client:gles2_c_lib",
"//gpu/command_buffer/client:gles2_implementation",
+ "//gpu/command_buffer/client:raster",
"//gpu/command_buffer/common:gles2_utils",
"//gpu/ipc:gl_in_process_context",
"//gpu/ipc/common:gpu_preferences_util",