OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("system") { |
| 6 sources = [ |
| 7 "../../platform/native/system_thunks.cc", |
| 8 "../../platform/native/system_thunks.h", |
| 9 "buffer.h", |
| 10 "core.h", |
| 11 "data_pipe.h", |
| 12 "functions.h", |
| 13 "macros.h", |
| 14 "message_pipe.h", |
| 15 "system_export.h", |
| 16 "types.h", |
| 17 ] |
| 18 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] |
| 19 |
| 20 # The GYP target analogous to this one builds this code into a |
| 21 # static library. When building for Android, both the GYP and GN |
| 22 # builds add --exclude-libs=ALL globally, which means that all |
| 23 # symbols in static libraries are excluded from export. That's a |
| 24 # problem, as code outside this target needs to be able to call |
| 25 # MojoSetSystemThunks(). Therefore, the GYP target needs to specifiy |
| 26 # that all dependent targets remove that link flag. Since GN uses a |
| 27 # source_set here, this flag change is not needed. |
| 28 } |
OLD | NEW |