| OLD | NEW |
| 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 "auth_token_util_unittest.cc", |
| 37 "auto_thread_task_runner_unittest.cc", |
| 38 "auto_thread_unittest.cc", |
| 39 "breakpad_win_unittest.cc", |
| 40 "buffered_socket_writer_unittest.cc", |
| 41 "capabilities_unittest.cc", |
| 42 "compound_buffer_unittest.cc", |
| 43 "rate_counter_unittest.cc", |
| 44 "rsa_key_pair_unittest.cc", |
| 45 "run_all_unittests.cc", |
| 46 "running_average_unittest.cc", |
| 47 "test_rsa_key_pair.h", |
| 48 "typed_buffer_unittest.cc", |
| 49 "util_unittest.cc", |
| 50 ] |
| 51 |
| 52 if (is_win || is_mac || is_chromeos) { |
| 53 sources += [ "resources_unittest.cc" ] |
| 54 } |
| 55 |
| 56 deps = [ |
| 57 ":base", |
| 58 "//base", |
| 59 "//net:test_support", |
| 60 "//testing/gmock", |
| 61 "//testing/gtest", |
| 62 "//third_party/libyuv", |
| 63 "//third_party/webrtc/modules/desktop_capture", |
| 64 ] |
| 65 } |
| OLD | NEW |