summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/native_file_system/BUILD.gn
blob: 6f07c5a9a0e07f614a0deaf1a0a7ddf1d2bdafb5 (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
45
46
47
48
# 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/blink/renderer/modules/modules.gni")

blink_modules_sources("native_file_system") {
  sources = [
    "native_file_system_directory_handle.cc",
    "native_file_system_directory_handle.h",
    "native_file_system_directory_iterator.cc",
    "native_file_system_directory_iterator.h",
    "native_file_system_error.cc",
    "native_file_system_error.h",
    "native_file_system_file_handle.cc",
    "native_file_system_file_handle.h",
    "native_file_system_handle.cc",
    "native_file_system_handle.h",
    "native_file_system_writer.cc",
    "native_file_system_writer.h",
    "window_native_file_system.cc",
    "window_native_file_system.h",
  ]

  deps = [
    "//third_party/blink/renderer/platform",
  ]
}

jumbo_source_set("unit_tests") {
  testonly = true
  sources = [
    "window_native_file_system_test.cc",
  ]

  configs += [
    "//third_party/blink/renderer:config",
    "//third_party/blink/renderer:inside_blink",
    "//third_party/blink/renderer/core:blink_core_pch",
  ]

  deps = [
    "//testing/gtest",
    "//third_party/blink/renderer/modules",
    "//third_party/blink/renderer/platform",
    "//third_party/blink/renderer/platform/wtf",
  ]
}