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

Unified Diff: remoting/client/BUILD.gn

Issue 961323004: Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync tests Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/base/BUILD.gn ('k') | remoting/client/plugin/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/BUILD.gn
diff --git a/remoting/client/BUILD.gn b/remoting/client/BUILD.gn
index 93ae0645405d88e9a6c5df7769767565e6a1b98a..b47888aa8e3cd2d572ee31453a9b6fdfbcb14287 100644
--- a/remoting/client/BUILD.gn
+++ b/remoting/client/BUILD.gn
@@ -2,24 +2,48 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//remoting/remoting_version.gni")
+import("//remoting/remoting_srcs.gni")
-static_library("client") {
- gypi_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("../remoting_srcs.gypi") ],
- "scope",
- [ "../remoting_srcs.gypi" ])
+source_set("client") {
+ sources = rebase_path(remoting_srcs_gypi_values.remoting_client_sources,
+ ".",
+ "//remoting")
- sources = rebase_path(gypi_values.remoting_client_sources, ".", "//remoting")
-
- configs += [ "//build/config/compiler:wexit_time_destructors" ]
-
- defines = [ "VERSION=$version_full" ]
+ configs += [
+ "//build/config/compiler:wexit_time_destructors",
+ "//remoting:version",
+ ]
deps = [
"//remoting/base",
+ "//remoting/codec",
"//remoting/protocol",
"//third_party/libyuv",
"//third_party/webrtc/modules/desktop_capture",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "audio_player_unittest.cc",
+ "client_status_logger_unittest.cc",
+ "key_event_mapper_unittest.cc",
+ "plugin/empty_cursor_filter_unittest.cc",
+ "plugin/normalizing_input_filter_mac_unittest.cc",
+ "server_log_entry_client_unittest.cc",
+ ]
+
+ if (is_chromeos) {
+ sources += [ "plugin/normalizing_input_filter_cros_unittest.cc" ]
+ }
+
+ deps = [
+ ":client",
+ "//remoting/proto",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/webrtc",
+ ]
+}
« no previous file with comments | « remoting/base/BUILD.gn ('k') | remoting/client/plugin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698