| 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 23 matching lines...) Expand all Loading... |
| 34 ] | 34 ] |
| 35 } | 35 } |
| 36 | 36 |
| 37 group("examples") { | 37 group("examples") { |
| 38 testonly = true | 38 testonly = true |
| 39 | 39 |
| 40 deps = [ | 40 deps = [ |
| 41 ":portable_examples", | 41 ":portable_examples", |
| 42 "//examples/moterm_example_app", | 42 "//examples/moterm_example_app", |
| 43 "//examples/shadows", | 43 "//examples/shadows", |
| 44 "//examples/ui/jank", |
| 44 "//examples/ui/noodles", | 45 "//examples/ui/noodles", |
| 45 "//examples/ui/png_viewer", | 46 "//examples/ui/png_viewer", |
| 46 "//examples/ui/shapes", | 47 "//examples/ui/shapes", |
| 47 "//examples/ui/spinning_cube", | 48 "//examples/ui/spinning_cube", |
| 48 "//examples/ui/tile", | 49 "//examples/ui/tile", |
| 49 ] | 50 ] |
| 50 | 51 |
| 51 # TODO(cstout) - javascript/v8 build support for fnl/musl | 52 # TODO(cstout) - javascript/v8 build support for fnl/musl |
| 52 if (!is_android && !is_fnl) { | 53 if (!is_android && !is_fnl) { |
| 53 deps += [ "//examples/ui/pdf_viewer" ] | 54 deps += [ "//examples/ui/pdf_viewer" ] |
| (...skipping 15 matching lines...) Expand all Loading... |
| 69 } | 70 } |
| 70 | 71 |
| 71 if (is_linux && !is_fnl) { | 72 if (is_linux && !is_fnl) { |
| 72 deps += [ "//examples/python" ] | 73 deps += [ "//examples/python" ] |
| 73 } | 74 } |
| 74 | 75 |
| 75 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { | 76 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { |
| 76 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] | 77 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] |
| 77 } | 78 } |
| 78 } | 79 } |
| OLD | NEW |