blob: df7d89652d47ae755bed827711a965e28972b2bb [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
import("//testing/test.gni")
source_set("webrtc_glue") {
visibility = [
":*",
"//chrome/services/sharing/nearby/platform",
"//chrome/services/sharing/webrtc",
"//remoting/*",
"//third_party/blink/renderer/modules",
"//third_party/blink/renderer/modules/peerconnection",
"//third_party/blink/renderer/platform",
]
sources = [
"glue/thread_wrapper.cc",
"glue/thread_wrapper.h",
"glue/utils.cc",
"glue/utils.h",
]
deps = [
"//base",
"//net",
"//third_party/webrtc_overrides:webrtc_component",
]
}
test("jingle_unittests") {
sources = [
"glue/thread_wrapper_unittest.cc",
"run_all_unittests.cc",
]
deps = [
":webrtc_glue",
"//base",
"//base/test:test_support",
"//mojo/core/embedder",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/system",
"//net",
"//net:test_support",
"//services/network:network_service",
"//services/network:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/libjingle_xmpp:rtc_task_runner",
"//third_party/webrtc_overrides:webrtc_component",
]
}