chromium/third_party/blink/renderer/modules/exported/BUILD.gn

# Copyright 2017 The Chromium Authors
# 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("exported") {
  sources = [
    "web_ax_context.cc",
    "web_ax_object.cc",
    "web_crypto_histograms.cc",
    "web_crypto_normalize.cc",
    "web_dom_file_system.cc",
    "web_dom_media_stream_track.cc",
    "web_embedded_worker_impl.cc",
    "web_embedded_worker_impl.h",
    "web_shared_storage_worklet_thread_impl.cc",
    "web_shared_storage_worklet_thread_impl.h",
  ]

  defines = [ "BLINK_MODULES_IMPLEMENTATION=1" ]

  deps = [
    "//third_party/blink/renderer/modules/accessibility",
    "//third_party/blink/renderer/modules/crypto",
    "//third_party/blink/renderer/modules/filesystem",
    "//third_party/blink/renderer/modules/mediastream",
    "//third_party/blink/renderer/modules/shared_storage",
    "//ui/accessibility:ax_enums_mojo_blink",
  ]
}

static_library("test_support") {
  testonly = true

  deps = [
    "//skia",
    "//third_party/blink/renderer/bindings/modules/v8:testing",
    "//third_party/blink/renderer/core",
    "//third_party/blink/renderer/core:testing",
    "//third_party/blink/renderer/modules:modules_testing",
    "//third_party/blink/renderer/platform",
    "//v8",
  ]

  sources = [ "web_testing_support.cc" ]

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