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

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

Issue 1770073002: SurfaceTexture* => gpu/ipc/common (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/gpu_ipc_common.gypi ('k') | gpu/ipc/common/surface_texture_manager.h » ('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 5d4cb18d692da35a117f9ba0beccbfb370dde78c..1d5b553f9b649757ac59b3aeea7c6b94910fb427 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -3,20 +3,12 @@
# found in the LICENSE file.
group("common") {
- if (is_component_build) {
- public_deps = [
- "//gpu",
- ]
- } else {
- public_deps = [
- ":ipc_common_sources",
- ]
- }
+ public_deps = [
Fady Samuel 2016/03/08 05:38:54 Hey Mark! I don't really know what I'm doing here.
Mark Dittmer 2016/03/08 18:28:11 I think you're better off making the source_set be
+ ":ipc_common_sources",
+ ]
}
source_set("ipc_common_sources") {
- visibility = [ "//gpu/*" ]
-
sources = [
"gpu_command_buffer_traits.cc",
"gpu_command_buffer_traits.h",
@@ -25,6 +17,15 @@ source_set("ipc_common_sources") {
"memory_stats.h",
]
+ if (is_android) {
+ sources += [
+ "surface_texture_manager.cc",
+ "surface_texture_manager.h",
+ "surface_texture_peer.cc",
+ "surface_texture_peer.h",
+ ]
+ }
+
configs += [
"//gpu:gpu_implementation",
"//third_party/khronos:khronos_headers",
« no previous file with comments | « gpu/gpu_ipc_common.gypi ('k') | gpu/ipc/common/surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698