summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/chromeos/camera/src/js/device/BUILD.gn
blob: a54df9607b7d78efd592b8d0083b090ab57440f3 (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
# Copyright 2019 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("//third_party/closure_compiler/compile_js.gni")

js_type_check("closure_compile") {
  deps = [
    ":camera3_device_info",
    ":constraints_preferrer",
    ":device_info_updater",
    ":error",
  ]
}

js_library("camera3_device_info") {
  deps = [
    "../mojo:image_capture",
  ]
}

js_library("constraints_preferrer") {
  deps = [
    ":camera3_device_info",
    "..:resolution_event_broker",
    "..:state",
    "../browser_proxy:browser_proxy",
  ]
}

js_library("device_info_updater") {
  deps = [
    ":camera3_device_info",
    ":constraints_preferrer",
    ":error",
    "..:state",
  ]
}

js_library("error") {
}