summaryrefslogtreecommitdiffstats
path: root/mojo/edk/js/tests/BUILD.gn
blob: c9711c768714a45a0ed060b0adad27969cabb69e (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
# 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_edk.gni")
import("../../../public/tools/bindings/mojom.gni")

mojo_edk_source_set("js_to_cpp_tests") {
  testonly = true

  deps = [
    ":js_to_cpp_bindings",
    "//gin:gin_test",
  ]

  mojo_edk_deps = [
    "mojo/edk/js",
    "mojo/edk/test:test_support",
  ]
  
  mojo_sdk_deps = [
    "mojo/public/cpp/bindings",
    "mojo/public/cpp/system",
    "mojo/public/interfaces/bindings/tests:test_interfaces",
  ]

  sources = [
    "js_to_cpp_tests.cc",
  ]
}

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