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

# Copyright 2016 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("service_worker") {
  sources = [
    "cross_origin_resource_policy_checker.cc",
    "cross_origin_resource_policy_checker.h",
    "extendable_event.cc",
    "extendable_event.h",
    "extendable_message_event.cc",
    "extendable_message_event.h",
    "fetch_event.cc",
    "fetch_event.h",
    "fetch_respond_with_observer.cc",
    "fetch_respond_with_observer.h",
    "install_event.cc",
    "install_event.h",
    "message_from_service_worker.cc",
    "message_from_service_worker.h",
    "navigation_preload_manager.cc",
    "navigation_preload_manager.h",
    "navigation_preload_request.cc",
    "navigation_preload_request.h",
    "navigator_service_worker.cc",
    "navigator_service_worker.h",
    "respond_with_observer.cc",
    "respond_with_observer.h",
    "service_worker.cc",
    "service_worker.h",
    "service_worker_client.cc",
    "service_worker_client.h",
    "service_worker_clients.cc",
    "service_worker_clients.h",
    "service_worker_container.cc",
    "service_worker_container.h",
    "service_worker_content_settings_proxy.cc",
    "service_worker_content_settings_proxy.h",
    "service_worker_error.cc",
    "service_worker_error.h",
    "service_worker_event_queue.cc",
    "service_worker_event_queue.h",
    "service_worker_global_scope.cc",
    "service_worker_global_scope.h",
    "service_worker_global_scope_proxy.cc",
    "service_worker_global_scope_proxy.h",
    "service_worker_installed_scripts_manager.cc",
    "service_worker_installed_scripts_manager.h",
    "service_worker_module_tree_client.cc",
    "service_worker_module_tree_client.h",
    "service_worker_registration.cc",
    "service_worker_registration.h",
    "service_worker_router_type_converter.cc",
    "service_worker_router_type_converter.h",
    "service_worker_script_cached_metadata_handler.cc",
    "service_worker_script_cached_metadata_handler.h",
    "service_worker_thread.cc",
    "service_worker_thread.h",
    "service_worker_window_client.cc",
    "service_worker_window_client.h",
    "thread_safe_script_container.cc",
    "thread_safe_script_container.h",
    "wait_until_observer.cc",
    "wait_until_observer.h",
    "web_service_worker_fetch_context_impl.cc",
    "web_service_worker_fetch_context_impl.h",
  ]

  public_deps = [ "//third_party/blink/renderer/platform" ]

  deps_in_modules = [
    "//third_party/blink/renderer/modules/background_fetch:background_fetch",
    "//third_party/blink/renderer/modules/background_sync:background_sync",
    "//third_party/blink/renderer/modules/cache_storage:cache_storage",
    "//third_party/blink/renderer/modules/content_index:content_index",
    "//third_party/blink/renderer/modules/cookie_store:cookie_store",
    "//third_party/blink/renderer/modules/hid:hid",
    "//third_party/blink/renderer/modules/webusb:webusb",
    "//third_party/blink/renderer/modules/notifications:notifications",
    "//third_party/blink/renderer/modules/exported:exported",
    "//third_party/blink/renderer/modules/payments:payments",
    "//third_party/blink/renderer/modules/push_messaging:push_messaging",
  ]
  deps = [ "//base" ] + deps_in_modules
  allow_circular_includes_from = deps_in_modules
}