summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/storage/BUILD.gn
blob: 8c3aef5c4203993ef1a89789e3a0983ddc95e619 (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
52
53
54
55
56
# 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/modules/modules.gni")

blink_modules_sources("storage") {
  sources = [
    "cached_storage_area.cc",
    "cached_storage_area.h",
    "dom_window_storage.cc",
    "dom_window_storage.h",
    "dom_window_storage_controller.cc",
    "dom_window_storage_controller.h",
    "inspector_dom_storage_agent.cc",
    "inspector_dom_storage_agent.h",
    "storage_area.cc",
    "storage_area.h",
    "storage_area_map.cc",
    "storage_area_map.h",
    "storage_controller.cc",
    "storage_controller.h",
    "storage_event.cc",
    "storage_event.h",
    "storage_namespace.cc",
    "storage_namespace.h",
  ]
}

jumbo_source_set("unit_tests") {
  testonly = true
  sources = [
    "cached_storage_area_test.cc",
    "storage_area_map_test.cc",
    "storage_controller_test.cc",
    "storage_namespace_test.cc",
    "testing/fake_area_source.h",
    "testing/mock_storage_area.cc",
    "testing/mock_storage_area.h",
  ]

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

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