summaryrefslogtreecommitdiffstats
path: root/remoting/BUILD.gn
diff options
context:
space:
mode:
authorcpu <cpu@chromium.org>2015-03-02 14:27:35 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-02 22:28:26 +0000
commitdefc80c0cd51186b467c3e59eabdbf54d25bde74 (patch)
tree32d1c8d66f7e9f9aa7d6383553c42972a1939853 /remoting/BUILD.gn
parentc32b1cd854552259473c954c9204fe87426e540a (diff)
downloadchromium_src-defc80c0cd51186b467c3e59eabdbf54d25bde74.zip
chromium_src-defc80c0cd51186b467c3e59eabdbf54d25bde74.tar.gz
chromium_src-defc80c0cd51186b467c3e59eabdbf54d25bde74.tar.bz2
Revert of Add remoting and PPAPI tests to GN build (patchset #6 id:100001 of https://codereview.chromium.org/961323004/)
Reason for revert: broke windows GN builds as seen in http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/5206/steps/compile/logs/stdio Original issue's description: > Add remoting and PPAPI tests to GN build > > Reland of https://codereview.chromium.org/965633002/ > > TBR=dpranke > > Committed: https://crrev.com/66c53eef76f7dff97b1bc76d51740c3a9c07844f > Cr-Commit-Position: refs/heads/master@{#318756} TBR=dpranke@chromium.org,brettw@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/968243004 Cr-Commit-Position: refs/heads/master@{#318772}
Diffstat (limited to 'remoting/BUILD.gn')
-rw-r--r--remoting/BUILD.gn104
1 files changed, 0 insertions, 104 deletions
diff --git a/remoting/BUILD.gn b/remoting/BUILD.gn
deleted file mode 100644
index 6316a8c..0000000
--- a/remoting/BUILD.gn
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 2015 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("//build/config/ui.gni")
-import("//remoting/remoting_version.gni")
-import("//testing/test.gni")
-
-enable_remoting_host = is_win || is_mac || is_chromeos || use_x11
-
-# Various remoting targets need this version definition.
-config("version") {
- defines = [ "VERSION=$version_full" ]
-}
-
-# GYP version: remoting/remoting_test.gypi:remoting_test_common
-source_set("test_support") {
- testonly = true
-
- sources = [
- # Files from remoting_test_common not in separate test_support targets.
- "signaling/fake_signal_strategy.cc",
- "signaling/fake_signal_strategy.h",
- "signaling/mock_signal_strategy.cc",
- "signaling/mock_signal_strategy.h",
- "test/access_token_fetcher.cc",
- "test/app_remoting_test_driver_environment.cc",
- "test/fake_access_token_fetcher.cc",
- "test/fake_network_dispatcher.cc",
- "test/fake_network_dispatcher.h",
- "test/fake_network_manager.cc",
- "test/fake_network_manager.h",
- "test/fake_port_allocator.cc",
- "test/fake_port_allocator.h",
- "test/fake_socket_factory.cc",
- "test/fake_socket_factory.h",
- "test/leaky_bucket.cc",
- "test/leaky_bucket.h",
- "test/mock_access_token_fetcher.cc",
- "test/refresh_token_store.cc",
- ]
-
- deps = [
- "//base",
- "//components/policy:test_support",
- "//net",
- "//remoting/base",
- "//remoting/client",
- "//remoting/codec",
- "//remoting/protocol:test_support",
- "//remoting/resources",
- "//testing/gmock",
- "//testing/gtest",
- ]
-
- if (enable_remoting_host) {
- deps += [ "//remoting/host:test_support" ]
- }
-}
-
-test("remoting_unittests") {
- # Sources not included in one of the more specific unit_tests deps.
- sources = [
- "signaling/iq_sender_unittest.cc",
- "signaling/log_to_server_unittest.cc",
- "signaling/server_log_entry_unittest.cc",
- "signaling/server_log_entry_unittest.h",
- "test/access_token_fetcher_unittest.cc",
- "test/app_remoting_test_driver_environment_unittest.cc",
- ]
-
- deps = [
- ":test_support",
- "//base/allocator",
- "//google_apis",
- "//remoting/base:unit_tests",
- "//remoting/client:unit_tests",
- "//remoting/protocol:unit_tests",
- "//testing/gmock",
- "//testing/gtest",
- "//third_party/webrtc",
- ]
-
- if (is_android) {
- deps += [ "//testing/android:native_test_native_code" ]
- } else {
- deps += [ "//remoting/client/plugin" ]
- }
-
- if (enable_remoting_host) {
- deps += [
- "//remoting/codec:unit_tests",
- "//remoting/host:unit_tests",
- ]
- }
-
- if (enable_webrtc) {
- deps += [
- "//third_party/libjingle:libjingle_webrtc",
- "//third_party/libjingle:libpeerconnection",
- ]
- }
-}