| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |