webrtc_m130/all.gyp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

68 lines
2.0 KiB
Plaintext
Raw Normal View History

# Copyright (c) 2013 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.
{
'variables': {
'include_examples%': 1,
'include_tests%': 1,
},
'includes': [
'webrtc/build/common.gypi',
],
'targets': [
{
'target_name': 'All',
'type': 'none',
'dependencies': [
'webrtc/api/api.gyp:*',
'webrtc/base/base.gyp:*',
'webrtc/common.gyp:*',
'webrtc/common_audio/common_audio.gyp:*',
'webrtc/common_video/common_video.gyp:*',
'webrtc/media/media.gyp:*',
'webrtc/modules/modules.gyp:*',
'webrtc/p2p/p2p.gyp:*',
'webrtc/pc/pc.gyp:*',
RTCStats and RTCStatsReport added (webrtc/stats). The old and new getStats are very different. This CL proposes rewriting the new getStats from scratch with a bottom-up approach, starting with the fundamental stats classes. This will allow cleaner and more efficient code that is more aligned with the spec. RTCStats and subclasses are the equivalent to RTCStats and RTCStats- -derived dictionaries from the specs[1][2]. The dictionary members are public member variables of type RTCStatsMember<T>, where T is one of the supported types. All members derive from RTCStatsMemberInterface and iteration of members is possible with RTCStats::Members(). The members are not stored in a map for performance and readability. Type checking is supported with static class variables, kType. Only the supported member types T are specialized and may be instantiated, and sequences are supported with std::vector<...>. Type checking is again supported with static class variables, kType. RTCStatsReport is the equivalent from the spec[3], and maps RTCStats::id to RTCStats-objects. RTCStatsReport is reference counted. It and its contained stats may be destroyed on any thread. When the RTCStatsCollector is added in a follow-up CL, it will return const references to the RTCStatsReports. This means copies don't have to be made for multiple stats observers or when jumping threads. In fact, no copies of any stats will have to be made in surfacing stats to Blink. [1] https://www.w3.org/TR/2016/WD-webrtc-20160531/#rtcstats-dictionary [2] https://w3c.github.io/webrtc-stats/archives/20160526/webrtc-stats.html [3] https://www.w3.org/TR/2016/WD-webrtc-20160531/#rtcstatsreport-object This adds the new folder webrtc/stats/, with target rtc_stats and binary rtc_stats_unittests. Public api headers are placed in webrtc/api/ and .cc files are placed in webrtc/stats/. BUG=chromium:627816 Review-Url: https://codereview.webrtc.org/2241093002 Cr-Commit-Position: refs/heads/master@{#13879}
2016-08-24 01:33:13 -07:00
'webrtc/stats/stats.gyp:*',
'webrtc/system_wrappers/system_wrappers.gyp:*',
'webrtc/tools/tools.gyp:*',
'webrtc/voice_engine/voice_engine.gyp:*',
'webrtc/webrtc.gyp:*',
'<(webrtc_vp8_dir)/vp8.gyp:*',
'<(webrtc_vp9_dir)/vp9.gyp:*',
],
'conditions': [
['OS=="android" and build_with_chromium==0', {
'dependencies': [
Roll chromium_revision cf9457edb7..cede888c27 (416297:419407) This is a reland of https://codereview.webrtc.org/2348133003/ which was reverted. This CL adds a copy of Chromium's build/filename_rules.gypi into webrtc/build and includes it in webrtc/build/common.gypi. This was needed since the file was dropped in crrev.com/8c0eb8ed76 The revision of filename_rules.gypi being added is: https://chromium.googlesource.com/chromium/src/+/5b20e75e681cb9aaa2d8d9696a9954417c9cc068/build/filename_rules.gypi Change log: https://chromium.googlesource.com/chromium/src/+log/cf9457edb7..cede888c27 Full diff: https://chromium.googlesource.com/chromium/src/+/cf9457edb7..cede888c27 Changed dependencies: * src/buildtools: https://chromium.googlesource.com/chromium/buildtools.git/+log/adb8bf4e8f..6115afa0ea * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/bc61769e49..ed6c5d3910 * src/third_party/ffmpeg: https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+log/35740fc7b7..3c7a098821 * src/third_party/libFuzzer/src: https://chromium.googlesource.com/chromium/llvm-project/llvm/lib/Fuzzer.git/+log/96e97b48e8..eb9b8b0366 * src/third_party/libvpx/source/libvpx: https://chromium.googlesource.com/webm/libvpx.git/+log/e66cd132f0..4282d29355 DEPS diff: https://chromium.googlesource.com/chromium/src/+/cf9457edb7..cede888c27/DEPS Clang version changed 280106:280836 Details: https://chromium.googlesource.com/chromium/src/+/cf9457edb7..cede888c27/tools/clang/scripts/update.py NOTRY=True TBR=marpan@webrtc.org, BUG=None Review-Url: https://codereview.webrtc.org/2351163002 Cr-Commit-Position: refs/heads/master@{#14310}
2016-09-20 13:23:04 -07:00
# No longer supported, please refer to GN targets.
#'webrtc/api/api_java.gyp:*',
],
}],
['include_tests==1', {
'includes': [
'webrtc/webrtc_tests.gypi',
],
'dependencies': [
'webrtc/test/test.gyp:*',
],
}],
['include_examples==1', {
'dependencies': [
'webrtc/webrtc_examples.gyp:*',
],
}],
['(OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7"))', {
'dependencies': [
'webrtc/sdk/sdk.gyp:*',
],
}],
],
},
],
}