diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn index e94e33968c..e461af2b3a 100644 --- a/webrtc/BUILD.gn +++ b/webrtc/BUILD.gn @@ -299,6 +299,7 @@ if (!build_with_chromium) { "modules/rtp_rtcp:test_packet_masks_metrics", "modules/video_capture:video_capture_internal_impl", "modules/video_coding:plot_videoprocessor_integrationtest", + "ortc:ortc_unittests", "pc:peerconnection_unittests", "pc:rtc_pc_unittests", "stats:rtc_stats_unittests", diff --git a/webrtc/ortc/BUILD.gn b/webrtc/ortc/BUILD.gn new file mode 100644 index 0000000000..a9195110c7 --- /dev/null +++ b/webrtc/ortc/BUILD.gn @@ -0,0 +1,31 @@ +# Copyright (c) 2017 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("../webrtc.gni") +if (is_android) { + import("//build/config/android/config.gni") + import("//build/config/android/rules.gni") +} + +if (rtc_include_tests) { + rtc_test("ortc_unittests") { + testonly = true + + sources = [ + "dummy_test.cc", + ] + + deps = [ + "../base:rtc_base_tests_main", + ] + + if (is_android) { + deps += [ "//testing/android/native_test:native_test_support" ] + } + } +} diff --git a/webrtc/ortc/dummy_test.cc b/webrtc/ortc/dummy_test.cc new file mode 100644 index 0000000000..1e0dc41da5 --- /dev/null +++ b/webrtc/ortc/dummy_test.cc @@ -0,0 +1,16 @@ +/* + * Copyright 2017 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. + */ + +#include "webrtc/test/gtest.h" + +// This is just a placeholder test so that trybots can be updated to run the +// new "ortc_unittests" target. +TEST(DummyOrtcTest, Test) { +}