# Copyright 2014 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("//build/config/features.gni")
import("//content/renderer/renderer.gni")

source_set("renderer") {
  sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
                        ".", "//content")

  configs += [
    "//content:content_implementation",
    "//content:libjingle_stub_config",
  ]

  deps = [
    "//content/renderer",
    "//skia",
    "//third_party/WebKit/public:blink_headers",
    "//third_party/widevine/cdm:version_h",
    "//v8",
  ]

  if (enable_webrtc) {
    sources += rebase_path(
        content_renderer_gypi_values.public_renderer_webrtc_sources,
        ".", "//content")
  }
}