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

Unified Diff: base/memory/BUILD.gn

Issue 1163943004: Make SharedMemoryHandle a class on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shared_memory_make_class3_base
Patch Set: Remove more unused headers that magically appeared from rebase. Created 5 years, 6 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.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 c3442794d8c778dde20ff0636754d2a8660df0a4..79d99ebba70efa27e8cb60aa989e5a39e8e9dfd1 100644
--- a/base/memory/BUILD.gn
+++ b/base/memory/BUILD.gn
@@ -35,6 +35,9 @@ source_set("memory") {
"scoped_vector.h",
"shared_memory.h",
"shared_memory_android.cc",
+ "shared_memory_handle.h",
+ "shared_memory_handle_mac.cc",
+ "shared_memory_mac.cc",
"shared_memory_nacl.cc",
"shared_memory_posix.cc",
"shared_memory_win.cc",
@@ -58,6 +61,10 @@ source_set("memory") {
sources -= [ "shared_memory_nacl.cc" ]
}
+ if (is_mac) {
+ sources -= [ "shared_memory_posix.cc" ]
+ }
+
if (is_android) {
deps = [
"//third_party/ashmem",
« no previous file with comments | « base/base.gypi ('k') | base/memory/shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698