| 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/nacl/config.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 # 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. |
| 9 # TODO(smklein): Make all examples build as pexes. | 9 # TODO(smklein): Make all examples build as pexes. |
| 10 group("portable_examples") { | 10 group("portable_examples") { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 "//examples/trace_me", | 29 "//examples/trace_me", |
| 30 "//examples/wget", | 30 "//examples/wget", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 group("examples") { | 34 group("examples") { |
| 35 testonly = true | 35 testonly = true |
| 36 | 36 |
| 37 deps = [ | 37 deps = [ |
| 38 ":portable_examples", | 38 ":portable_examples", |
| 39 "//examples/moterm_example_app", |
| 39 "//examples/ui/noodles", | 40 "//examples/ui/noodles", |
| 40 "//examples/ui/png_viewer", | 41 "//examples/ui/png_viewer", |
| 41 "//examples/ui/shapes", | 42 "//examples/ui/shapes", |
| 42 "//examples/ui/spinning_cube", | 43 "//examples/ui/spinning_cube", |
| 43 "//examples/ui/tile", | 44 "//examples/ui/tile", |
| 44 ] | 45 ] |
| 45 | 46 |
| 46 # TODO(cstout) - javascript/v8 build support for fnl/musl | 47 # TODO(cstout) - javascript/v8 build support for fnl/musl |
| 47 if (!is_android && !is_fnl) { | 48 if (!is_android && !is_fnl) { |
| 48 deps += [ "//examples/ui/pdf_viewer" ] | 49 deps += [ "//examples/ui/pdf_viewer" ] |
| (...skipping 15 matching lines...) Expand all Loading... |
| 64 } | 65 } |
| 65 | 66 |
| 66 if (is_linux && !is_fnl) { | 67 if (is_linux && !is_fnl) { |
| 67 deps += [ "//examples/python" ] | 68 deps += [ "//examples/python" ] |
| 68 } | 69 } |
| 69 | 70 |
| 70 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { | 71 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { |
| 71 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] | 72 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] |
| 72 } | 73 } |
| 73 } | 74 } |
| OLD | NEW |