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

Side by Side Diff: examples/BUILD.gn

Issue 1443483004: Adding --no-nacl to gn disables nonsfi and sfi nacl from building. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « build/config/nacl/config.gni ('k') | mojo/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/config/nacl/config.gni")
5 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
6 7
7 # Collection of examples which are currently capable of being built as pexes. 8 # Collection of examples which are currently capable of being built as pexes.
8 # TODO(smklein): Make all examples build as pexes. 9 # TODO(smklein): Make all examples build as pexes.
9 group("portable_examples") { 10 group("portable_examples") {
10 testonly = true 11 testonly = true
11 12
12 deps = [ 13 deps = [
13 "//examples/apptest", 14 "//examples/apptest",
14 "//examples/audio_play_test", 15 "//examples/audio_play_test",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 deps += [ "//examples/go" ] 71 deps += [ "//examples/go" ]
71 if (is_android) { 72 if (is_android) {
72 deps += [ "//examples/bank_app" ] 73 deps += [ "//examples/bank_app" ]
73 } 74 }
74 } 75 }
75 76
76 if (is_linux && !is_fnl) { 77 if (is_linux && !is_fnl) {
77 deps += [ "//examples/python" ] 78 deps += [ "//examples/python" ]
78 } 79 }
79 80
80 if ((is_linux || is_android) && !is_asan) { 81 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) {
81 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] 82 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ]
82 } 83 }
83 } 84 }
OLDNEW
« no previous file with comments | « build/config/nacl/config.gni ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698