summaryrefslogtreecommitdiff
path: root/chromium/ui/file_manager/externs/BUILD.gn
blob: 0c8dc8f639cfbce61ec9e36a895900a946fddfe9 (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
# Copyright 2018 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_library("file_manager_private") {
  sources = []

  # The file_manager_private extern depends on file_system_provider and
  # extension APIs. Ensure they're pulled in together.
  externs_list = [
    "$externs_path/chrome.js",
    "$externs_path/chrome_extensions.js",
    "$externs_path/file_manager_private.js",
    "$externs_path/file_system_provider.js",
  ]
}

js_library("volume_manager") {
  sources = []

  # Encapsulate volume_manager.js and its dependencies. Note this should really
  # depend on volume_manager_types.js as well, but that's not an extern.
  externs_list = [
    "entry_location.js",
    "volume_info.js",
    "volume_info_list.js",
    "volume_manager.js",
  ]
}