| OLD | NEW | 
|    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 import("../webrtc.gni") |    9 import("../webrtc.gni") | 
|   10  |   10  | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   53     suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |   53     suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|   54   } |   54   } | 
|   55  |   55  | 
|   56   deps = [ |   56   deps = [ | 
|   57     "..:webrtc_common", |   57     "..:webrtc_common", | 
|   58     "../api:transport_api", |   58     "../api:transport_api", | 
|   59     "../api/video_codecs:video_codecs_api", |   59     "../api/video_codecs:video_codecs_api", | 
|   60     "../base:rtc_base_approved", |   60     "../base:rtc_base_approved", | 
|   61     "../base:rtc_numerics", |   61     "../base:rtc_numerics", | 
|   62     "../base:rtc_task_queue", |   62     "../base:rtc_task_queue", | 
 |   63     "../call:call_interfaces", | 
|   63     "../common_video", |   64     "../common_video", | 
|   64     "../logging:rtc_event_log_api", |   65     "../logging:rtc_event_log_api", | 
|   65     "../media:rtc_media_base", |   66     "../media:rtc_media_base", | 
|   66     "../modules/bitrate_controller", |   67     "../modules/bitrate_controller", | 
|   67     "../modules/congestion_controller", |   68     "../modules/congestion_controller", | 
|   68     "../modules/pacing", |   69     "../modules/pacing", | 
|   69     "../modules/remote_bitrate_estimator", |   70     "../modules/remote_bitrate_estimator", | 
|   70     "../modules/rtp_rtcp", |   71     "../modules/rtp_rtcp", | 
|   71     "../modules/utility", |   72     "../modules/utility", | 
|   72     "../modules/video_coding", |   73     "../modules/video_coding", | 
 |   74     "../modules/video_coding:video_coding_utility", | 
 |   75     "../modules/video_coding:webrtc_vp8", | 
|   73     "../modules/video_processing", |   76     "../modules/video_processing", | 
|   74     "../system_wrappers", |   77     "../system_wrappers", | 
|   75     "../voice_engine", |   78     "../voice_engine", | 
|   76   ] |   79   ] | 
|   77 } |   80 } | 
|   78  |   81  | 
|   79 if (rtc_include_tests) { |   82 if (rtc_include_tests) { | 
|   80   rtc_source_set("video_quality_test") { |   83   rtc_source_set("video_quality_test") { | 
|   81     testonly = true |   84     testonly = true | 
|   82     sources = [ |   85     sources = [ | 
|   83       "video_quality_test.cc", |   86       "video_quality_test.cc", | 
|   84       "video_quality_test.h", |   87       "video_quality_test.h", | 
|   85     ] |   88     ] | 
|   86     deps = [ |   89     deps = [ | 
|   87       "../base:rtc_base_tests_utils", |   90       "../base:rtc_base_tests_utils", | 
|   88       "../base:rtc_task_queue", |   91       "../base:rtc_task_queue", | 
 |   92       "../call:call_interfaces", | 
 |   93       "../common_video", | 
 |   94       "../logging:rtc_event_log_api", | 
|   89       "../media:rtc_media_base", |   95       "../media:rtc_media_base", | 
 |   96       "../modules/audio_mixer:audio_mixer_impl", | 
 |   97       "../modules/rtp_rtcp", | 
 |   98       "../modules/video_coding:webrtc_h264", | 
 |   99       "../modules/video_coding:webrtc_vp8", | 
 |  100       "../modules/video_coding:webrtc_vp9", | 
|   90       "../system_wrappers", |  101       "../system_wrappers", | 
 |  102       "../test:test_common", | 
 |  103       "../test:test_support", | 
 |  104       "../voice_engine", | 
|   91       "//testing/gtest", |  105       "//testing/gtest", | 
|   92       "//webrtc/test:test_renderer", |  106       "//webrtc/test:test_renderer", | 
|   93       "//webrtc/test:video_test_common", |  107       "//webrtc/test:video_test_common", | 
|   94     ] |  108     ] | 
|   95     if (!build_with_chromium && is_clang) { |  109     if (!build_with_chromium && is_clang) { | 
|   96       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |  110       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
|   97       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  111       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|   98     } |  112     } | 
|   99   } |  113   } | 
|  100  |  114  | 
|  101   rtc_source_set("video_full_stack_tests") { |  115   rtc_source_set("video_full_stack_tests") { | 
|  102     testonly = true |  116     testonly = true | 
|  103     sources = [ |  117     sources = [ | 
|  104       "full_stack_tests.cc", |  118       "full_stack_tests.cc", | 
|  105     ] |  119     ] | 
|  106     deps = [ |  120     deps = [ | 
|  107       ":video_quality_test", |  121       ":video_quality_test", | 
 |  122       "../test:field_trial", | 
 |  123       "../test:test_support", | 
|  108       "//testing/gtest", |  124       "//testing/gtest", | 
|  109       "//webrtc/test:test_common", |  125       "//webrtc/test:test_common", | 
|  110     ] |  126     ] | 
|  111     if (!build_with_chromium && is_clang) { |  127     if (!build_with_chromium && is_clang) { | 
|  112       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |  128       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
|  113       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  129       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  114     } |  130     } | 
|  115     if (rtc_use_h264) { |  131     if (rtc_use_h264) { | 
|  116       defines = [ "WEBRTC_USE_H264" ] |  132       defines = [ "WEBRTC_USE_H264" ] | 
|  117     } |  133     } | 
|  118   } |  134   } | 
|  119  |  135  | 
|  120   rtc_executable("video_loopback") { |  136   rtc_executable("video_loopback") { | 
|  121     testonly = true |  137     testonly = true | 
|  122     sources = [ |  138     sources = [ | 
|  123       "video_loopback.cc", |  139       "video_loopback.cc", | 
|  124     ] |  140     ] | 
|  125     deps = [ |  141     deps = [ | 
|  126       ":video_quality_test", |  142       ":video_quality_test", | 
|  127       "../system_wrappers:metrics_default", |  143       "../system_wrappers:metrics_default", | 
|  128       "../test:field_trial", |  144       "../test:field_trial", | 
|  129       "../test:run_test", |  145       "../test:run_test", | 
|  130       "../test:test_common", |  146       "../test:test_common", | 
|  131       "../test:test_renderer", |  147       "../test:test_renderer", | 
 |  148       "../test:test_support", | 
|  132       "//testing/gmock", |  149       "//testing/gmock", | 
|  133       "//testing/gtest", |  150       "//testing/gtest", | 
|  134       "//third_party/gflags", |  151       "//third_party/gflags", | 
|  135     ] |  152     ] | 
|  136     if (!build_with_chromium && is_clang) { |  153     if (!build_with_chromium && is_clang) { | 
|  137       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |  154       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
|  138       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  155       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  139     } |  156     } | 
|  140   } |  157   } | 
|  141  |  158  | 
|  142   rtc_executable("screenshare_loopback") { |  159   rtc_executable("screenshare_loopback") { | 
|  143     testonly = true |  160     testonly = true | 
|  144     sources = [ |  161     sources = [ | 
|  145       "screenshare_loopback.cc", |  162       "screenshare_loopback.cc", | 
|  146     ] |  163     ] | 
|  147  |  164  | 
|  148     deps = [ |  165     deps = [ | 
|  149       ":video_quality_test", |  166       ":video_quality_test", | 
 |  167       "../base:rtc_base_approved", | 
|  150       "../system_wrappers:metrics_default", |  168       "../system_wrappers:metrics_default", | 
|  151       "../test:field_trial", |  169       "../test:field_trial", | 
|  152       "../test:run_test", |  170       "../test:run_test", | 
|  153       "../test:test_common", |  171       "../test:test_common", | 
|  154       "../test:test_renderer", |  172       "../test:test_renderer", | 
 |  173       "../test:test_support", | 
|  155       "//third_party/gflags", |  174       "//third_party/gflags", | 
|  156     ] |  175     ] | 
|  157     if (!build_with_chromium && is_clang) { |  176     if (!build_with_chromium && is_clang) { | 
|  158       # Suppress warnings from Chrome's Clang plugins. |  177       # Suppress warnings from Chrome's Clang plugins. | 
|  159       # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |  178       # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 
|  160       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  179       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  161     } |  180     } | 
|  162   } |  181   } | 
|  163  |  182  | 
|  164   rtc_executable("video_replay") { |  183   rtc_executable("video_replay") { | 
|  165     testonly = true |  184     testonly = true | 
|  166     sources = [ |  185     sources = [ | 
|  167       "replay.cc", |  186       "replay.cc", | 
|  168     ] |  187     ] | 
|  169     deps = [ |  188     deps = [ | 
 |  189       "..:webrtc_common", | 
|  170       "../api/video_codecs:video_codecs_api", |  190       "../api/video_codecs:video_codecs_api", | 
 |  191       "../base:rtc_base_approved", | 
 |  192       "../call:call_interfaces", | 
 |  193       "../common_video", | 
 |  194       "../logging:rtc_event_log_api", | 
 |  195       "../modules/rtp_rtcp", | 
 |  196       "../system_wrappers", | 
|  171       "../system_wrappers:metrics_default", |  197       "../system_wrappers:metrics_default", | 
|  172       "../test:field_trial", |  198       "../test:field_trial", | 
 |  199       "../test:rtp_test_utils", | 
|  173       "../test:run_test", |  200       "../test:run_test", | 
|  174       "../test:test_common", |  201       "../test:test_common", | 
|  175       "../test:test_renderer", |  202       "../test:test_renderer", | 
 |  203       "../test:test_support", | 
 |  204       "../test:video_test_common", | 
|  176       "//third_party/gflags", |  205       "//third_party/gflags", | 
|  177     ] |  206     ] | 
|  178     if (!build_with_chromium && is_clang) { |  207     if (!build_with_chromium && is_clang) { | 
|  179       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |  208       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
|  180       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  209       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  181     } |  210     } | 
|  182   } |  211   } | 
|  183  |  212  | 
|  184   # TODO(pbos): Rename test suite. |  213   # TODO(pbos): Rename test suite. | 
|  185   rtc_source_set("video_tests") { |  214   rtc_source_set("video_tests") { | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|  198       "send_delay_stats_unittest.cc", |  227       "send_delay_stats_unittest.cc", | 
|  199       "send_statistics_proxy_unittest.cc", |  228       "send_statistics_proxy_unittest.cc", | 
|  200       "stats_counter_unittest.cc", |  229       "stats_counter_unittest.cc", | 
|  201       "stream_synchronization_unittest.cc", |  230       "stream_synchronization_unittest.cc", | 
|  202       "video_receive_stream_unittest.cc", |  231       "video_receive_stream_unittest.cc", | 
|  203       "video_send_stream_tests.cc", |  232       "video_send_stream_tests.cc", | 
|  204       "vie_encoder_unittest.cc", |  233       "vie_encoder_unittest.cc", | 
|  205     ] |  234     ] | 
|  206     deps = [ |  235     deps = [ | 
|  207       ":video", |  236       ":video", | 
 |  237       "../api:video_frame_api", | 
 |  238       "../api/video_codecs:video_codecs_api", | 
 |  239       "../base:rtc_base_approved", | 
 |  240       "../base:rtc_base_tests_utils", | 
 |  241       "../call:call_interfaces", | 
 |  242       "../common_video", | 
 |  243       "../logging:rtc_event_log_api", | 
|  208       "../media:rtc_media_base", |  244       "../media:rtc_media_base", | 
 |  245       "../media:rtc_unittest_main", | 
 |  246       "../modules/pacing", | 
 |  247       "../modules/rtp_rtcp", | 
 |  248       "../modules/rtp_rtcp:rtp_rtcp_unittests", | 
 |  249       "../modules/utility", | 
 |  250       "../modules/video_coding", | 
 |  251       "../modules/video_coding:video_coding_utility", | 
 |  252       "../modules/video_coding:webrtc_h264", | 
 |  253       "../modules/video_coding:webrtc_vp8", | 
 |  254       "../modules/video_coding:webrtc_vp9", | 
 |  255       "../system_wrappers", | 
 |  256       "../system_wrappers:field_trial_default", | 
 |  257       "../system_wrappers:metrics_api", | 
 |  258       "../system_wrappers:metrics_default", | 
 |  259       "../test:direct_transport", | 
 |  260       "../test:field_trial", | 
 |  261       "../test:rtp_test_utils", | 
 |  262       "../test:test_common", | 
 |  263       "../test:test_support", | 
 |  264       "../test:video_test_common", | 
|  209       "//testing/gmock", |  265       "//testing/gmock", | 
|  210       "//testing/gtest", |  266       "//testing/gtest", | 
|  211     ] |  267     ] | 
|  212     if (!build_with_chromium && is_clang) { |  268     if (!build_with_chromium && is_clang) { | 
|  213       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |  269       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
|  214       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |  270       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
|  215     } |  271     } | 
|  216     if (rtc_use_h264) { |  272     if (rtc_use_h264) { | 
|  217       defines += [ "WEBRTC_USE_H264" ] |  273       defines += [ "WEBRTC_USE_H264" ] | 
|  218     } |  274     } | 
|  219   } |  275   } | 
|  220 } |  276 } | 
| OLD | NEW |