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

Side by Side Diff: mojo/BUILD.gn

Issue 1422623002: Build fixes for fnl/musl (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update README.chromium in //third_party Created 5 years, 2 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 | « examples/BUILD.gn ('k') | services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 7
8 declare_args() { 8 declare_args() {
9 mojo_use_go = false 9 mojo_use_go = false
10 10
11 # TODO(ncbray): support ASAN once NaCl's GN build is unforked. 11 # TODO(ncbray): support ASAN once NaCl's GN build is unforked.
12 mojo_use_nacl = is_linux && !is_asan 12 # TODO(cstout): support fnl/musl build in nacl
13 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan 13 mojo_use_nacl = is_linux && !is_asan && !is_fnl
14 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan && !is_fnl
14 } 15 }
15 16
16 group("mojo") { 17 group("mojo") {
17 # Meta-target, don't link into production code. 18 # Meta-target, don't link into production code.
18 testonly = true 19 testonly = true
19 deps = [ 20 deps = [
20 ":system_thunks", 21 ":system_thunks",
21 ":tests", 22 ":tests",
22 "//mojo/common", 23 "//mojo/common",
23 "//mojo/dart", 24 "//mojo/dart",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 83 }
83 } 84 }
84 85
85 # This archives the system thunks implementation for exporting to SDK consumers. 86 # This archives the system thunks implementation for exporting to SDK consumers.
86 static_library("system_thunks") { 87 static_library("system_thunks") {
87 complete_static_lib = true 88 complete_static_lib = true
88 deps = [ 89 deps = [
89 "//mojo/public/platform/native:system", 90 "//mojo/public/platform/native:system",
90 ] 91 ]
91 } 92 }
OLDNEW
« no previous file with comments | « examples/BUILD.gn ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698