summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/fileapi/BUILD.gn
blob: d6b3ff119377fdbe836547d445d2d9285d158845 (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
49
50
51
# Copyright 2016 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/core/core.gni")

blink_core_sources("fileapi") {
  sources = [
    "blob.cc",
    "blob.h",
    "file.cc",
    "file.h",
    "file_error.cc",
    "file_error.h",
    "file_list.cc",
    "file_list.h",
    "file_reader.cc",
    "file_reader.h",
    "file_reader_loader.cc",
    "file_reader_loader.h",
    "file_reader_loader_client.h",
    "file_reader_sync.cc",
    "file_reader_sync.h",
    "public_url_manager.cc",
    "public_url_manager.h",
    "url_file_api.cc",
    "url_file_api.h",
    "url_registry.h",
  ]
}

jumbo_source_set("unit_tests") {
  testonly = true
  sources = [
    "file_list_test.cc",
    "file_test.cc",
    "public_url_manager_test.cc",
  ]

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

  deps = [
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/blink/renderer/core",
  ]
}