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

Unified Diff: mojo/public/c/system/BUILD.gn

Issue 388333003: Add GN build targets for the rest of mojo/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « mojo/mojo_public.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/BUILD.gn
diff --git a/mojo/public/c/system/BUILD.gn b/mojo/public/c/system/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..19ef8da002d3e6a6426cc20e9cb942fe4cfa3943
--- /dev/null
+++ b/mojo/public/c/system/BUILD.gn
@@ -0,0 +1,27 @@
+# Copyright 2014 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.
+
+config("exclude_all_libs") {
+ ldflags = [ "-Wl,--exclude-libs=ALL" ]
Chris Masone 2014/07/14 19:43:42 I _think_ this is the right way to translate the c
+}
+
+source_set("system") {
+ sources = [
+ "buffer.h",
+ "core.h",
+ "data_pipe.h",
+ "functions.h",
+ "macros.h",
+ "message_pipe.h",
+ "system_export.h",
+ "types.h",
+ "../../../public/platform/native/system_thunks.cc",
+ "../../../public/platform/native/system_thunks.h",
Chris Masone 2014/07/14 19:43:41 I'm also not sure this is the right way to referen
yzshen1 2014/07/14 19:53:11 I think it should be fine because I have seen this
Chris Masone 2014/07/14 19:58:54 Acknowledged.
+ ]
+ defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ]
+
+ if (is_android) {
+ all_dependent_configs -= [ ":no_exclude_all_libs" ]
yzshen1 2014/07/14 19:53:11 Mismatch name? (I assume you want to use exclude_a
Chris Masone 2014/07/14 19:58:54 That's what I was concerned about. So I should go
+ }
+}
« no previous file with comments | « mojo/mojo_public.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698