summaryrefslogtreecommitdiffstats
path: root/mojo/edk/js/test/BUILD.gn
blob: 0ac99454ff679d77e7e46b4bc9c52cd51b0183fb (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
44
# Copyright 2014 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("//testing/test.gni")

test("js_unittests") {
  output_name = "mojo_js_unittests"

  deps = [
    "//base",
    "//gin:gin_test",
    "//mojo/edk/js",
    "//mojo/edk/test:run_all_unittests",
    "//mojo/edk/test:test_support",
    "//mojo/public/cpp/system",
    "//mojo/public/cpp/utility",
    "//mojo/public/interfaces/bindings/tests:test_interfaces",
    "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
  ]

  sources = [
    "run_js_tests.cc",
  ]
}

test("js_integration_tests") {
  output_name = "mojo_js_integration_tests"

  deps = [
    "//base",
    "//gin:gin_test",
    "//mojo/edk/js",
    "//mojo/edk/js/tests:js_to_cpp_tests",
    "//mojo/edk/test:run_all_unittests",
    "//mojo/edk/test:test_support",
    "//mojo/public/cpp/bindings",
    "//mojo/public/interfaces/bindings/tests:test_interfaces",
  ]

  sources = [
    "run_js_integration_tests.cc",
  ]
}