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

Side by Side Diff: mojo/public/platform/native/BUILD.gn

Issue 2048053003: Reland of Mojo: Eliminate duplicate C API symbols (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | mojo/public/platform/native/system_thunks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 assert(!defined(is_nacl) || !is_nacl)
6
7 source_set("system") {
8 sources = [
9 "system_thunks.cc",
10 "system_thunks.h",
11 ]
12 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ]
13 deps = [
14 "//mojo/public/c/system",
15 ]
16
17 # The GYP target analogous to this one builds this code into a
18 # static library. When building for Android, both the GYP and GN
19 # builds add --exclude-libs=ALL globally, which means that all
20 # symbols in static libraries are excluded from export. That's a
21 # problem, as code outside this target needs to be able to call
22 # MojoSetSystemThunks(). Therefore, the GYP target needs to specifiy
23 # that all dependent targets remove that link flag. Since GN uses a
24 # source_set here, this flag change is not needed.
25 }
26
27 source_set("gpu_thunks") {
28 sources = []
29 }
OLDNEW
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | mojo/public/platform/native/system_thunks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698