chromium/third_party/blink/renderer/modules/presentation/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("presentation") {
  sources = [
    "presentation.cc",
    "presentation.h",
    "presentation_availability.cc",
    "presentation_availability.h",
    "presentation_availability_callbacks.cc",
    "presentation_availability_callbacks.h",
    "presentation_availability_observer.h",
    "presentation_availability_state.cc",
    "presentation_availability_state.h",
    "presentation_connection.cc",
    "presentation_connection.h",
    "presentation_connection_available_event.cc",
    "presentation_connection_available_event.h",
    "presentation_connection_callbacks.cc",
    "presentation_connection_callbacks.h",
    "presentation_connection_close_event.cc",
    "presentation_connection_close_event.h",
    "presentation_connection_list.cc",
    "presentation_connection_list.h",
    "presentation_controller.cc",
    "presentation_controller.h",
    "presentation_error.cc",
    "presentation_error.h",
    "presentation_promise_property.h",
    "presentation_receiver.cc",
    "presentation_receiver.h",
    "presentation_request.cc",
    "presentation_request.h",
  ]
  if (is_android) {
    sources += [
      "presentation_metrics.cc",
      "presentation_metrics.h",
    ]
    deps = [ "//services/metrics/public/cpp:ukm_builders" ]
  }
}