
This is needed to ensure we have the same build with GN as with GYP, since GYP includes the common.gypi on a global level. Several fixes has been needed in the past because some code have been built without the right defines. BUG=3441 R=brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/28589004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7317 4adac7df-926f-26a2-2b94-8c16560cd09d
118 lines
3.1 KiB
Plaintext
118 lines
3.1 KiB
Plaintext
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("../build/webrtc.gni")
|
|
|
|
source_set("video_engine") {
|
|
deps = [ ":video_engine_core" ]
|
|
}
|
|
|
|
source_set("video_engine_core") {
|
|
sources = [
|
|
"include/vie_base.h",
|
|
"include/vie_capture.h",
|
|
"include/vie_codec.h",
|
|
"include/vie_errors.h",
|
|
"include/vie_external_codec.h",
|
|
"include/vie_image_process.h",
|
|
"include/vie_network.h",
|
|
"include/vie_render.h",
|
|
"include/vie_rtp_rtcp.h",
|
|
"call_stats.cc",
|
|
"call_stats.h",
|
|
"encoder_state_feedback.cc",
|
|
"encoder_state_feedback.h",
|
|
"overuse_frame_detector.cc",
|
|
"overuse_frame_detector.h",
|
|
"stream_synchronization.cc",
|
|
"stream_synchronization.h",
|
|
"vie_base_impl.cc",
|
|
"vie_base_impl.h",
|
|
"vie_capture_impl.cc",
|
|
"vie_capture_impl.h",
|
|
"vie_capturer.cc",
|
|
"vie_capturer.h",
|
|
"vie_channel.cc",
|
|
"vie_channel_group.cc",
|
|
"vie_channel_group.h",
|
|
"vie_channel.h",
|
|
"vie_channel_manager.cc",
|
|
"vie_channel_manager.h",
|
|
"vie_codec_impl.cc",
|
|
"vie_codec_impl.h",
|
|
"vie_defines.h",
|
|
"vie_encoder.cc",
|
|
"vie_encoder.h",
|
|
"vie_external_codec_impl.cc",
|
|
"vie_external_codec_impl.h",
|
|
"vie_file_image.cc",
|
|
"vie_file_image.h",
|
|
"vie_frame_provider_base.cc",
|
|
"vie_frame_provider_base.h",
|
|
"vie_image_process_impl.cc",
|
|
"vie_image_process_impl.h",
|
|
"vie_impl.cc",
|
|
"vie_impl.h",
|
|
"vie_input_manager.cc",
|
|
"vie_input_manager.h",
|
|
"vie_manager_base.cc",
|
|
"vie_manager_base.h",
|
|
"vie_network_impl.cc",
|
|
"vie_network_impl.h",
|
|
"vie_receiver.cc",
|
|
"vie_receiver.h",
|
|
"vie_ref_count.cc",
|
|
"vie_ref_count.h",
|
|
"vie_remb.cc",
|
|
"vie_remb.h",
|
|
"vie_renderer.cc",
|
|
"vie_renderer.h",
|
|
"vie_render_impl.cc",
|
|
"vie_render_impl.h",
|
|
"vie_render_manager.cc",
|
|
"vie_render_manager.h",
|
|
"vie_rtp_rtcp_impl.cc",
|
|
"vie_rtp_rtcp_impl.h",
|
|
"vie_sender.cc",
|
|
"vie_sender.h",
|
|
"vie_shared_data.cc",
|
|
"vie_shared_data.h",
|
|
"vie_sync_module.cc",
|
|
"vie_sync_module.h",
|
|
]
|
|
|
|
configs += [ "..:common_config" ]
|
|
public_configs = [ "..:common_inherited_config" ]
|
|
|
|
if (is_clang) {
|
|
# Suppress warnings from Chrome's Clang plugins.
|
|
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
|
configs -= [ "//build/config/clang:find_bad_constructs" ]
|
|
}
|
|
|
|
if (is_win) {
|
|
cflags = [
|
|
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
|
"/wd4267", # size_t to int truncation.
|
|
]
|
|
}
|
|
|
|
deps = [
|
|
"../common_video",
|
|
"../modules/bitrate_controller",
|
|
"../modules/rtp_rtcp",
|
|
"../modules/utility",
|
|
"../modules/video_capture",
|
|
"../modules/video_coding",
|
|
"../modules/video_processing",
|
|
"../modules/video_render",
|
|
"../voice_engine",
|
|
"../system_wrappers",
|
|
]
|
|
}
|