Index: base/memory/BUILD.gn |
diff --git a/base/memory/BUILD.gn b/base/memory/BUILD.gn |
index bd864caa245b32bb57dcf4737f08c87074ea69b4..8b13c7ac9db9b9518c6d2406774504bae69b07e0 100644 |
--- a/base/memory/BUILD.gn |
+++ b/base/memory/BUILD.gn |
@@ -52,6 +52,12 @@ source_set("memory") { |
sources -= [ "shared_memory_nacl.cc" ] |
} |
+ if (is_android) { |
+ deps = [ |
+ "//third_party/ashmem", |
+ ] |
+ } |
+ |
configs += [ "//base:base_implementation" ] |
visibility = [ "//base/*" ] |