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

Unified Diff: gpu/ipc/common/BUILD.gn

Issue 1800343002: Enable GN check for gpu and rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « gpu/gles2_conform_support/egl/BUILD.gn ('k') | gpu/skia_bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/BUILD.gn
diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn
index 67c4d8b1b0f6a7605c432dd19e2eb666aaf5f965..a11052405687fcac640efde15d5fdf6440424455 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -25,15 +25,6 @@ source_set("ipc_common_sources") {
"memory_stats.h",
]
- if (is_android) {
- sources += [
- "android/surface_texture_manager.cc",
- "android/surface_texture_manager.h",
- "android/surface_texture_peer.cc",
- "android/surface_texture_peer.h",
- ]
- }
-
configs += [
"//gpu:gpu_implementation",
"//third_party/khronos:khronos_headers",
@@ -43,5 +34,17 @@ source_set("ipc_common_sources") {
"//base",
"//gpu/command_buffer/common:common_sources",
"//ipc",
+ "//ui/gfx:native_widget_types",
]
+
+ if (is_android) {
+ sources += [
+ "android/surface_texture_manager.cc",
+ "android/surface_texture_manager.h",
+ "android/surface_texture_peer.cc",
+ "android/surface_texture_peer.h",
+ ]
+
+ deps += [ "//ui/gl" ]
+ }
}
« no previous file with comments | « gpu/gles2_conform_support/egl/BUILD.gn ('k') | gpu/skia_bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698