summaryrefslogtreecommitdiffstats
path: root/mojo/apps/js/test/BUILD.gn
blob: aeaf68a43ba817fd69d087f1920c3d8bf03f02ca (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
# 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("//mojo/public/tools/bindings/mojom.gni")

# GYP version: mojo/mojo_apps.gypi:mojo_apps_js_unittests
test("mojo_apps_js_unittests") {
  deps = [
    ":js_to_cpp_bindings",
    "//gin:gin_test",
    "//mojo/apps/js",
    "//mojo/common",
    "//mojo/common/test:run_all_unittests",
    "//mojo/common/test:test_support",
    "//mojo/public/interfaces/bindings/tests:test_interfaces",
  ]

  sources = [
    "js_to_cpp_unittest.cc",
    "run_apps_js_tests.cc",
  ]
}

mojom("js_to_cpp_bindings") {
  sources = [ "js_to_cpp.mojom" ]
}