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

Side by Side Diff: remoting/base/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/BUILD.gn ('k') | remoting/client/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 static_library("base") { 5 import("//remoting/remoting_srcs.gni")
6 gypi_values = exec_script("//build/gypi_to_gn.py",
7 [ rebase_path("../remoting_srcs.gypi") ],
8 "scope",
9 [ "../remoting_srcs.gypi" ])
10 6
11 sources = rebase_path(gypi_values.remoting_base_sources, ".", "//remoting") 7 source_set("base") {
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_base_sources,
9 ".",
10 "//remoting")
12 11
13 configs += [ "//build/config/compiler:wexit_time_destructors" ] 12 configs += [ "//build/config/compiler:wexit_time_destructors" ]
14 13
15 public_deps = [ 14 public_deps = [
16 "//base", 15 "//base",
17 "//net", 16 "//net",
18 "//remoting/proto", 17 "//remoting/proto",
19 "//third_party/protobuf:protobuf_lite", 18 "//third_party/protobuf:protobuf_lite",
20 ] 19 ]
21 deps = [ 20 deps = [
22 "//base/third_party/dynamic_annotations", 21 "//base/third_party/dynamic_annotations",
23 "//media", 22 "//media",
24 "//media:shared_memory_support", 23 "//media:shared_memory_support",
25 "//remoting/resources", 24 "//remoting/resources",
26 "//third_party/libvpx", 25 "//third_party/libvpx",
27 "//third_party/libyuv", 26 "//third_party/libyuv",
28 "//third_party/opus",
29 "//third_party/webrtc/modules/desktop_capture", 27 "//third_party/webrtc/modules/desktop_capture",
30 "//ui/base", 28 "//ui/base",
31 "//ui/gfx",
32 "//ui/gfx/geometry",
33 ] 29 ]
34 } 30 }
31
32 source_set("unit_tests") {
33 testonly = true
34
35 sources = [
36 "auto_thread_task_runner_unittest.cc",
37 "auto_thread_unittest.cc",
38 "breakpad_win_unittest.cc",
39 "buffered_socket_writer_unittest.cc",
40 "capabilities_unittest.cc",
41 "compound_buffer_unittest.cc",
42 "rate_counter_unittest.cc",
43 "rsa_key_pair_unittest.cc",
44 "run_all_unittests.cc",
45 "running_average_unittest.cc",
46 "test_rsa_key_pair.h",
47 "typed_buffer_unittest.cc",
48 "util_unittest.cc",
49 ]
50
51 if (is_win || is_mac || is_chromeos) {
52 sources += [ "resources_unittest.cc" ]
53 }
54
55 deps = [
56 ":base",
57 "//base",
58 "//net:test_support",
59 "//testing/gmock",
60 "//testing/gtest",
61 "//third_party/libyuv",
62 "//third_party/webrtc/modules/desktop_capture",
63 ]
64 }
OLDNEW
« no previous file with comments | « remoting/BUILD.gn ('k') | remoting/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698