| 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/png_viewer", |
| 40 "//examples/ui/shapes", |
| 41 "//examples/ui/spinning_cube", |
| 42 "//examples/ui/tile", |
| 39 ] | 43 ] |
| 40 | 44 |
| 45 # TODO(cstout) - javascript/v8 build support for fnl/musl |
| 46 if (!is_android && !is_fnl) { |
| 47 deps += [ "//examples/ui/pdf_viewer" ] |
| 48 } |
| 49 |
| 41 if (is_android) { | 50 if (is_android) { |
| 42 deps += [ | 51 deps += [ |
| 43 "//examples/device_name", | 52 "//examples/device_name", |
| 44 "//examples/java_android/example_service", | 53 "//examples/java_android/example_service", |
| 45 "//examples/java_android/echo", | 54 "//examples/java_android/echo", |
| 46 ] | 55 ] |
| 47 } | 56 } |
| 48 | 57 |
| 49 if (defined(go_build_tool) && go_build_tool != "") { | 58 if (defined(go_build_tool) && go_build_tool != "") { |
| 50 deps += [ "//examples/go" ] | 59 deps += [ "//examples/go" ] |
| 51 if (is_android) { | 60 if (is_android) { |
| 52 deps += [ "//examples/bank_app" ] | 61 deps += [ "//examples/bank_app" ] |
| 53 } | 62 } |
| 54 } | 63 } |
| 55 | 64 |
| 56 if (is_linux && !is_fnl) { | 65 if (is_linux && !is_fnl) { |
| 57 deps += [ "//examples/python" ] | 66 deps += [ "//examples/python" ] |
| 58 } | 67 } |
| 59 | 68 |
| 60 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { | 69 if (mojo_use_nacl && (is_linux || is_android) && !is_asan) { |
| 61 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] | 70 deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ] |
| 62 } | 71 } |
| 63 } | 72 } |
| OLD | NEW |