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

Side by Side Diff: mojo/BUILD.gn

Issue 1418653002: Synchronize GN build configuration with Chrome (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed 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 | « gpu/command_buffer/client/BUILD.gn ('k') | mojo/gles2/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() {
9 mojo_use_go = false
10
11 # TODO(ncbray): support ASAN once NaCl's GN build is unforked.
12 mojo_use_nacl = is_linux && !is_asan
13 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan
14 }
15
8 group("mojo") { 16 group("mojo") {
9 # Meta-target, don't link into production code. 17 # Meta-target, don't link into production code.
10 testonly = true 18 testonly = true
11 declare_args() {
12 mojo_use_go = false
13
14 # TODO(ncbray): support ASAN once NaCl's GN build is unforked.
15 mojo_use_nacl = is_linux && !is_asan
16 mojo_use_nacl_nonsfi = (is_linux || is_android) && !is_asan
17 }
18 deps = [ 19 deps = [
19 ":system_thunks", 20 ":system_thunks",
20 ":tests", 21 ":tests",
21 "//mojo/common", 22 "//mojo/common",
22 "//mojo/dart", 23 "//mojo/dart",
23 "//mojo/public", 24 "//mojo/public",
24 "//mojo/services", 25 "//mojo/services",
25 ] 26 ]
26 27
27 if (is_android) { 28 if (is_android) {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 82 }
82 } 83 }
83 84
84 # This archives the system thunks implementation for exporting to SDK consumers. 85 # This archives the system thunks implementation for exporting to SDK consumers.
85 static_library("system_thunks") { 86 static_library("system_thunks") {
86 complete_static_lib = true 87 complete_static_lib = true
87 deps = [ 88 deps = [
88 "//mojo/public/platform/native:system", 89 "//mojo/public/platform/native:system",
89 ] 90 ]
90 } 91 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/BUILD.gn ('k') | mojo/gles2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698