Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/BUILD.gn

Issue 2040313004: Fix GYP/GN for webrtc/modules/remote_bitrate_estimator (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased and restored defines in modules.gyp Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 declare_args() { 9 declare_args() {
10 # Set this to true to enable BWE test logging. 10 # Set this to true to enable BWE test logging.
11 enable_bwe_test_logging = false 11 rtc_enable_bwe_test_logging = false
12 } 12 }
13 13
14 source_set("remote_bitrate_estimator") { 14 source_set("remote_bitrate_estimator") {
15 sources = [ 15 sources = [
16 "aimd_rate_control.cc",
17 "aimd_rate_control.h",
16 "include/bwe_defines.h", 18 "include/bwe_defines.h",
17 "include/remote_bitrate_estimator.h", 19 "include/remote_bitrate_estimator.h",
18 ]
19
20 configs += [ "../../:common_inherited_config" ]
21
22 deps = [
23 ":rbe_components",
24 "../..:webrtc_common",
25 "../../system_wrappers",
26 ]
27 }
28
29 source_set("rbe_components") {
30 sources = [
31 "aimd_rate_control.cc",
32 "aimd_rate_control.h",
33 "include/send_time_history.h", 20 "include/send_time_history.h",
34 "inter_arrival.cc", 21 "inter_arrival.cc",
35 "inter_arrival.h", 22 "inter_arrival.h",
36 "overuse_detector.cc", 23 "overuse_detector.cc",
37 "overuse_detector.h", 24 "overuse_detector.h",
38 "overuse_estimator.cc", 25 "overuse_estimator.cc",
39 "overuse_estimator.h", 26 "overuse_estimator.h",
40 "remote_bitrate_estimator_abs_send_time.cc", 27 "remote_bitrate_estimator_abs_send_time.cc",
28 "remote_bitrate_estimator_abs_send_time.h",
41 "remote_bitrate_estimator_single_stream.cc", 29 "remote_bitrate_estimator_single_stream.cc",
30 "remote_bitrate_estimator_single_stream.h",
42 "remote_estimator_proxy.cc", 31 "remote_estimator_proxy.cc",
43 "remote_estimator_proxy.h", 32 "remote_estimator_proxy.h",
44 "send_time_history.cc", 33 "send_time_history.cc",
34 "test/bwe_test_logging.h",
45 "transport_feedback_adapter.cc", 35 "transport_feedback_adapter.cc",
46 "transport_feedback_adapter.h", 36 "transport_feedback_adapter.h",
47 ] 37 ]
48 38
49 if (enable_bwe_test_logging) { 39 if (rtc_enable_bwe_test_logging) {
40 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
50 sources += [ "test/bwe_test_logging.cc" ] 41 sources += [ "test/bwe_test_logging.cc" ]
42 } else {
43 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
51 } 44 }
52 45
53 configs += [ "../..:common_config" ] 46 configs += [ "../../:common_inherited_config" ]
54 public_configs = [ "../..:common_inherited_config" ] 47 public_configs = [ "../..:common_inherited_config" ]
55 deps = [
56 "../..:webrtc_common",
57 ]
58 48
59 if (is_clang) { 49 if (is_clang) {
60 # Suppress warnings from Chrome's Clang plugins. 50 # Suppress warnings from Chrome's Clang plugins.
61 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 51 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
62 configs -= [ "//build/config/clang:find_bad_constructs" ] 52 configs -= [ "//build/config/clang:find_bad_constructs" ]
63 } 53 }
54
55 deps = [
56 "../..:webrtc_common",
57 "../../system_wrappers",
58 ]
64 } 59 }
OLDNEW
« no previous file with comments | « webrtc/modules/modules.gyp ('k') | webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698