Home | History | Annotate | Download | only in renderer
      1 # Copyright 2014 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import("//build/config/features.gni")
      6 import("//content/renderer/renderer.gni")
      7 
      8 # See //content/BUILD.gn for how this works.
      9 group("renderer") {
     10   if (is_component_build) {
     11     public_deps = [ "//content" ]
     12   } else {
     13     public_deps = [ ":renderer_sources" ]
     14   }
     15 }
     16 
     17 source_set("renderer_sources") {
     18   visibility = [ "//content/*" ]
     19 
     20   sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
     21                         ".", "//content")
     22 
     23   configs += [
     24     "//content:content_implementation",
     25   ]
     26 
     27   deps = [
     28     "//content/public/common:common_sources",
     29     "//content/renderer",
     30     "//skia",
     31     "//third_party/libjingle",
     32     "//third_party/WebKit/public:blink_headers",
     33     "//third_party/widevine/cdm:version_h",
     34     "//ui/gfx",
     35     "//v8",
     36   ]
     37 
     38   allow_circular_includes_from = [
     39     # This target is a pair with content/renderer. They always go together and
     40     # include headers from each other.
     41     "//content/renderer",
     42   ]
     43 
     44   if (enable_webrtc) {
     45     sources += rebase_path(
     46         content_renderer_gypi_values.public_renderer_webrtc_sources,
     47         ".", "//content")
     48   }
     49 }
     50