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

Unified Diff: base/memory/BUILD.gn

Issue 1328963002: Build shared_memory_mac.cc and shared_memory_handle_mac.cc for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « base/base.gypi ('k') | base/memory/shared_memory_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/BUILD.gn
diff --git a/base/memory/BUILD.gn b/base/memory/BUILD.gn
index 51dedba610270b7ee69d9d1ecf8d3d7749dd7666..9c5d0a052a8a2b798a7ab200a448bba9b630ee3a 100644
--- a/base/memory/BUILD.gn
+++ b/base/memory/BUILD.gn
@@ -73,6 +73,15 @@ source_set("memory") {
sources -= [ "shared_memory_posix.cc" ]
}
+ if (is_ios) {
+ set_sources_assignment_filter([])
+ sources += [
+ "shared_memory_handle_mac.cc",
+ "shared_memory_mac.cc",
+ ]
+ set_sources_assignment_filter(sources_assignment_filter)
+ }
+
if (is_android) {
deps = [
"//third_party/ashmem",
« no previous file with comments | « base/base.gypi ('k') | base/memory/shared_memory_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698