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

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

Issue 2472563002: Fix for a DCHECK in GpuSurfaceLookup (Closed)
Patch Set: Created 4 years, 1 month 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 | « content/browser/BUILD.gn ('k') | no next file » | 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 842bfb83dfcfb9d7fa2b4893bb8ff8f667137e35..73136d7258c6614dcb1d96edfe2378976f924bfa 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -74,8 +74,6 @@ source_set("ipc_common_sources") {
"gpu_param_traits.h",
"gpu_param_traits_macros.h",
"gpu_stream_constants.h",
- "gpu_surface_lookup.cc",
- "gpu_surface_lookup.h",
"memory_stats.cc",
"memory_stats.h",
]
@@ -115,6 +113,15 @@ source_set("ipc_common_sources") {
]
}
+ if (is_mac || is_android) {
+ sources += [
+ "gpu_surface_lookup.cc",
+ "gpu_surface_lookup.h",
+ "gpu_surface_tracker.cc",
+ "gpu_surface_tracker.h",
+ ]
+ }
+
if (use_ozone) {
deps += [ "//ui/ozone" ]
}
@@ -173,21 +180,3 @@ source_set("struct_traits") {
"//mojo/public/cpp/bindings:bindings",
]
}
-
-if (is_mac || is_android) {
- source_set("gpu_surface_tracker") {
- sources = [
- "gpu_surface_tracker.cc",
- "gpu_surface_tracker.h",
- ]
-
- deps = [
- "//gpu/ipc/common",
- "//ui/gl",
- ]
-
- if (is_android) {
- libs = [ "android" ]
- }
- }
-}
« no previous file with comments | « content/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698