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

Unified Diff: gpu/command_buffer/service/BUILD.gn

Issue 1053203003: Work on Windows GN component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: gpu/command_buffer/service/BUILD.gn
diff --git a/gpu/command_buffer/service/BUILD.gn b/gpu/command_buffer/service/BUILD.gn
index 44b090907fe82366e4a5240e256d27ce634d2278..8045a03cb9a2ed6c139865069a2804c1c23e86cd 100644
--- a/gpu/command_buffer/service/BUILD.gn
+++ b/gpu/command_buffer/service/BUILD.gn
@@ -5,7 +5,21 @@
import("//build/config/ui.gni")
import("//third_party/protobuf/proto_library.gni")
-source_set("service") {
+group("service") {
+ if (is_component_build) {
+ public_deps = [
+ "//gpu",
+ ]
+ } else {
+ public_deps = [
+ ":service_sources",
+ ]
+ }
+}
+
+source_set("service_sources") {
+ visibility = [ "//gpu/*" ]
+
sources = [
"async_pixel_transfer_delegate.cc",
"async_pixel_transfer_delegate.h",
@@ -128,7 +142,7 @@ source_set("service") {
include_dirs = [ "//third_party/mesa/src/include" ]
public_deps = [
- "//gpu/command_buffer/common",
+ "//gpu/command_buffer/common:common_sources",
]
deps = [
":disk_cache_proto",
@@ -144,10 +158,6 @@ source_set("service") {
"//ui/gl",
]
- if (ui_compositor_image_transport) {
- include_dirs += [ "//third_party/khronos" ]
- }
-
if (is_win || is_android || (is_linux && use_x11)) {
sources += [
"async_pixel_transfer_manager_egl.cc",

Powered by Google App Engine
This is Rietveld 408576698