summaryrefslogtreecommitdiffstats
path: root/mash/BUILD.gn
blob: 8d82d0a55f1b05503ff45b58cb86dd275eb0ffd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//mojo/public/mojo_application_manifest.gni")
import("//testing/test.gni")

# Target that builders build.
group("all") {
  testonly = true

  deps = [
    ":mash_unittests",
    "//components/leveldb",
    "//mash/example",
    "//mash/init",
    "//mash/login",
    "//mash/screenlock",
    "//mash/session",
    "//mash/task_viewer",
  ]
}

test("mash_unittests") {
  deps = [
    "//base",
    "//base/test:test_config",
    "//base/test:test_support",
    "//mash/wm:unittests",
    "//mojo/platform_handle:platform_handle_impl",
    "//mojo/shell/background:main",
    "//mojo/shell/public/cpp/test:run_all_shelltests",
  ]
  data_deps = [
    ":unittests_manifest",
  ]
}

mojo_application_manifest("unittests_manifest") {
  type = "exe"
  application_name = "mash_unittests"
  source = "unittests_manifest.json"
}