Viet-Trung Luu | 36627ff | 2015-05-11 12:36:47 -0700 | [diff] [blame] | 1 | # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Sean Klein | 473c8d0 | 2015-12-16 14:45:41 -0800 | [diff] [blame] | 5 | import("//build/config/nacl/config.gni") |
| 6 | |
| 7 | # Collection of apps which are currently capable of being built as pexes. |
| 8 | group("portable_apps") { |
Viet-Trung Luu | 36627ff | 2015-05-11 12:36:47 -0700 | [diff] [blame] | 9 | testonly = true |
| 10 | |
Jeff Brown | 8203347 | 2016-01-26 15:46:53 -0800 | [diff] [blame] | 11 | deps = [] |
Sean Klein | 473c8d0 | 2015-12-16 14:45:41 -0800 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | group("apps") { |
| 15 | testonly = true |
| 16 | |
| 17 | deps = [ |
| 18 | ":portable_apps", |
| 19 | "//apps/benchmark", |
| 20 | "//apps/benchmark:apptests", |
Jeff Brown | 5a846ea | 2016-01-26 15:53:07 -0800 | [diff] [blame] | 21 | "//apps/moterm", |
| 22 | "//apps/moterm:apptests", |
Sean Klein | 473c8d0 | 2015-12-16 14:45:41 -0800 | [diff] [blame] | 23 | ] |
Benjamin Lerman | 7400be3 | 2015-11-19 15:25:12 +0100 | [diff] [blame] | 24 | |
| 25 | if (is_android) { |
| 26 | deps += [ "//apps/shortcut" ] |
| 27 | } |
Sean Klein | 473c8d0 | 2015-12-16 14:45:41 -0800 | [diff] [blame] | 28 | |
| 29 | if (mojo_use_nacl) { |
| 30 | deps += [ ":portable_apps(//build/toolchain/nacl:newlib_pnacl)" ] |
| 31 | } |
Viet-Trung Luu | 36627ff | 2015-05-11 12:36:47 -0700 | [diff] [blame] | 32 | } |