Commit b566950b authored by brettw's avatar brettw Committed by Commit bot

Remove content/renderer .gypi file.

Inline sources into GN files.

Review-Url: https://codereview.chromium.org/2291223002
Cr-Commit-Position: refs/heads/master@{#415356}
parent 46ca4289
......@@ -259,7 +259,6 @@ exec_script_whitelist = [
"//content/child/child.gni",
"//content/common/common.gni",
"//content/public/android/BUILD.gn",
"//content/renderer/renderer.gni",
"//content/test/BUILD.gn",
"//content/utility/utility.gni",
"//extensions/common/api/schemas.gni",
......
This diff is collapsed.
......@@ -3,7 +3,6 @@
# found in the LICENSE file.
import("//build/config/features.gni")
import("//content/renderer/renderer.gni")
# See //content/BUILD.gn for how this works.
group("renderer") {
......@@ -27,9 +26,46 @@ target(link_target_type, "renderer_sources") {
# External code should depend on via ":renderer" above.
visibility = [ "//content/*" ]
sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
".",
"//content")
sources = [
"android_content_detection_prefixes.cc",
"android_content_detection_prefixes.h",
"browser_plugin_delegate.cc",
"browser_plugin_delegate.h",
"chrome_object_extensions_utils.cc",
"chrome_object_extensions_utils.h",
"content_renderer_client.cc",
"content_renderer_client.h",
"context_menu_client.h",
"document_state.cc",
"document_state.h",
"media_stream_audio_renderer.h",
"media_stream_audio_sink.cc",
"media_stream_audio_sink.h",
"media_stream_sink.h",
"media_stream_video_renderer.h",
"navigation_state.cc",
"navigation_state.h",
"pepper_plugin_instance.h",
"platform_event_observer.h",
"render_accessibility.h",
"render_frame.h",
"render_frame_observer.cc",
"render_frame_observer.h",
"render_frame_observer_tracker.h",
"render_thread.cc",
"render_thread.h",
"render_thread_observer.cc",
"render_thread_observer.h",
"render_view.h",
"render_view_observer.cc",
"render_view_observer.h",
"render_view_observer_tracker.h",
"render_view_visitor.h",
"renderer_ppapi_host.h",
"resource_fetcher.h",
"video_encode_accelerator.cc",
"video_encode_accelerator.h",
]
configs += [ "//content:content_implementation" ]
......@@ -59,10 +95,14 @@ target(link_target_type, "renderer_sources") {
]
if (enable_webrtc) {
sources +=
rebase_path(content_renderer_gypi_values.public_renderer_webrtc_sources,
".",
"//content")
sources += [
"media_stream_renderer_factory.h",
"media_stream_utils.cc",
"media_stream_utils.h",
"media_stream_video_sink.cc",
"media_stream_video_sink.h",
"webrtc_log_message_delegate.h",
]
deps += [
"//content/public/common:feature_h264_with_openh264_ffmpeg",
"//content/public/common:features",
......@@ -71,9 +111,6 @@ target(link_target_type, "renderer_sources") {
}
if (enable_plugins) {
sources +=
rebase_path(content_renderer_gypi_values.public_renderer_plugin_sources,
".",
"//content")
sources += [ "plugin_instance_throttler.h" ]
}
}
This diff is collapsed.
# 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.
# This file defines the content renderer gypi values. This file is read once
# and cached, which is a performance optimization that allows us to share the
# results of parsing the .gypi file between the public and private BUILD.gn
# files. It also saves us from duplicating this exec_script call.
content_renderer_gypi_values =
exec_script("//build/gypi_to_gn.py",
[ rebase_path("../content_renderer.gypi") ],
"scope",
[ "../content_renderer.gypi" ])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment