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/ui/noodles", |
39 "//examples/ui/png_viewer", | 40 "//examples/ui/png_viewer", |
40 "//examples/ui/shapes", | 41 "//examples/ui/shapes", |
41 "//examples/ui/spinning_cube", | 42 "//examples/ui/spinning_cube", |
42 "//examples/ui/tile", | 43 "//examples/ui/tile", |
43 ] | 44 ] |
44 | 45 |
45 # TODO(cstout) - javascript/v8 build support for fnl/musl | 46 # TODO(cstout) - javascript/v8 build support for fnl/musl |
46 if (!is_android && !is_fnl) { | 47 if (!is_android && !is_fnl) { |
47 deps += [ "//examples/ui/pdf_viewer" ] | 48 deps += [ "//examples/ui/pdf_viewer" ] |
48 } | 49 } |
(...skipping 14 matching lines...) Expand all Loading... |
63 } | 64 } |
64 | 65 |
65 if (is_linux && !is_fnl) { | 66 if (is_linux && !is_fnl) { |
66 deps += [ "//examples/python" ] | 67 deps += [ "//examples/python" ] |
67 } | 68 } |
68 | 69 |
69 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { | 70 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { |
70 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] | 71 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] |
71 } | 72 } |
72 } | 73 } |
OLD | NEW |