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

Unified Diff: mojo/platform_handle/BUILD.gn

Issue 1113393002: Adds thunks for getting platform handles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 5 years, 8 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
Index: mojo/platform_handle/BUILD.gn
diff --git a/mojo/platform_handle/BUILD.gn b/mojo/platform_handle/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..74fa16e56889aefc20d94dbbeda436c21a22fa26
--- /dev/null
+++ b/mojo/platform_handle/BUILD.gn
@@ -0,0 +1,29 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("platform_handle") {
+ sources = [
+ "platform_handle_thunks.cc",
+ "platform_handle_thunks.h",
+ ]
+
+ deps = [
+ ":defs",
+ "//third_party/mojo/src/mojo/public/c/system",
+ ]
+
+ defines = [ "PLATFORM_HANDLE_IMPLEMENTATION" ]
+}
+
+# Only targets that are registering the thunks should depend upon this.
+source_set("defs") {
+ visibility = [
+ ":platform_handle",
+ "//mojo/runner:native_application_support",
+ ]
+ sources = [
+ "native_exports.h",
+ "platform_handle_functions.h",
+ ]
+}
« no previous file with comments | « no previous file | mojo/platform_handle/platform_handle.h » ('j') | mojo/platform_handle/platform_handle_thunks.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698