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

Side by Side 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, 9 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 unified diff | Download patch
« no previous file with comments | « remoting/base/BUILD.gn ('k') | remoting/client/plugin/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//remoting/remoting_version.gni") 5 import("//remoting/remoting_srcs.gni")
6 6
7 static_library("client") { 7 source_set("client") {
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_client_sources,
9 [ rebase_path("../remoting_srcs.gypi") ], 9 ".",
10 "scope", 10 "//remoting")
11 [ "../remoting_srcs.gypi" ])
12 11
13 sources = rebase_path(gypi_values.remoting_client_sources, ".", "//remoting") 12 configs += [
14 13 "//build/config/compiler:wexit_time_destructors",
15 configs += [ "//build/config/compiler:wexit_time_destructors" ] 14 "//remoting:version",
16 15 ]
17 defines = [ "VERSION=$version_full" ]
18 16
19 deps = [ 17 deps = [
20 "//remoting/base", 18 "//remoting/base",
19 "//remoting/codec",
21 "//remoting/protocol", 20 "//remoting/protocol",
22 "//third_party/libyuv", 21 "//third_party/libyuv",
23 "//third_party/webrtc/modules/desktop_capture", 22 "//third_party/webrtc/modules/desktop_capture",
24 ] 23 ]
25 } 24 }
25
26 source_set("unit_tests") {
27 testonly = true
28
29 sources = [
30 "audio_player_unittest.cc",
31 "client_status_logger_unittest.cc",
32 "key_event_mapper_unittest.cc",
33 "plugin/empty_cursor_filter_unittest.cc",
34 "plugin/normalizing_input_filter_mac_unittest.cc",
35 "server_log_entry_client_unittest.cc",
36 ]
37
38 if (is_chromeos) {
39 sources += [ "plugin/normalizing_input_filter_cros_unittest.cc" ]
40 }
41
42 deps = [
43 ":client",
44 "//remoting/proto",
45 "//testing/gmock",
46 "//testing/gtest",
47 "//third_party/webrtc",
48 ]
49 }
OLDNEW
« 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