Chromium Code Reviews| 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
|
| + } |
| +} |