| 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, ".", "/
/remoting") |
| 12 | 9 |
| 13 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 10 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 14 | 11 |
| 15 public_deps = [ | 12 public_deps = [ |
| 16 "//base", | 13 "//base", |
| 17 "//net", | 14 "//net", |
| 18 "//remoting/proto", | 15 "//remoting/proto", |
| 19 "//third_party/protobuf:protobuf_lite", | 16 "//third_party/protobuf:protobuf_lite", |
| 20 ] | 17 ] |
| 21 deps = [ | 18 deps = [ |
| 22 "//base/third_party/dynamic_annotations", | 19 "//base/third_party/dynamic_annotations", |
| 23 "//media", | 20 "//media", |
| 24 "//media:shared_memory_support", | 21 "//media:shared_memory_support", |
| 25 "//remoting/resources", | 22 "//remoting/resources", |
| 26 "//third_party/libvpx", | 23 "//third_party/libvpx", |
| 27 "//third_party/libyuv", | 24 "//third_party/libyuv", |
| 28 "//third_party/opus", | |
| 29 "//third_party/webrtc/modules/desktop_capture", | 25 "//third_party/webrtc/modules/desktop_capture", |
| 30 "//ui/base", | 26 "//ui/base", |
| 31 "//ui/gfx", | |
| 32 "//ui/gfx/geometry", | |
| 33 ] | 27 ] |
| 34 } | 28 } |
| 29 |
| 30 source_set("unit_tests") { |
| 31 testonly = true |
| 32 |
| 33 sources = [ |
| 34 "auth_token_util_unittest.cc", |
| 35 "auto_thread_task_runner_unittest.cc", |
| 36 "auto_thread_unittest.cc", |
| 37 "breakpad_win_unittest.cc", |
| 38 "buffered_socket_writer_unittest.cc", |
| 39 "capabilities_unittest.cc", |
| 40 "compound_buffer_unittest.cc", |
| 41 "rate_counter_unittest.cc", |
| 42 "rsa_key_pair_unittest.cc", |
| 43 "run_all_unittests.cc", |
| 44 "running_average_unittest.cc", |
| 45 "test_rsa_key_pair.h", |
| 46 "typed_buffer_unittest.cc", |
| 47 "util_unittest.cc", |
| 48 ] |
| 49 |
| 50 if (is_win || is_mac || is_chromeos) { |
| 51 sources += [ "resources_unittest.cc" ] |
| 52 } |
| 53 |
| 54 deps = [ |
| 55 ":base", |
| 56 "//base", |
| 57 "//net:test_support", |
| 58 "//testing/gmock", |
| 59 "//testing/gtest", |
| 60 "//third_party/libyuv", |
| 61 "//third_party/webrtc/modules/desktop_capture", |
| 62 ] |
| 63 } |
| OLD | NEW |