| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/ios/rules.gni") | |
| 6 | |
| 7 group("all") { | |
| 8 testonly = true | |
| 9 | |
| 10 deps = [ | |
| 11 ":bridge", | |
| 12 ":bridge_unit_tests", | |
| 13 ] | |
| 14 } | |
| 15 | |
| 16 source_set("bridge") { | |
| 17 include_dirs = [ | |
| 18 "$root_gen_dir", | |
| 19 "//third_party/protobuf/src", | |
| 20 ] | |
| 21 | |
| 22 sources = [ | |
| 23 "client_instance.cc", | |
| 24 "client_instance.h", | |
| 25 "client_proxy.h", | |
| 26 "client_proxy.mm", | |
| 27 "client_proxy_delegate.h", | |
| 28 "client_proxy_delegate_wrapper.h", | |
| 29 "client_proxy_delegate_wrapper.mm", | |
| 30 "frame_consumer_bridge.cc", | |
| 31 "frame_consumer_bridge.h", | |
| 32 "host_proxy.h", | |
| 33 "host_proxy.mm", | |
| 34 ] | |
| 35 | |
| 36 public_deps = [ | |
| 37 "//remoting/protocol", | |
| 38 "//third_party/webrtc/base:rtc_base", | |
| 39 "//third_party/webrtc/modules/desktop_capture:primitives", | |
| 40 ] | |
| 41 | |
| 42 deps = [ | |
| 43 "//base", | |
| 44 "//net", | |
| 45 "//remoting/client/ios:ios_core", | |
| 46 "//remoting/resources:strings", | |
| 47 "//ui/base", | |
| 48 "//ui/gfx", | |
| 49 "//ui/resources", | |
| 50 "//ui/strings:ui_strings", | |
| 51 ] | |
| 52 | |
| 53 libs = [ | |
| 54 "Accelerate.framework", | |
| 55 "AudioToolbox.framework", | |
| 56 "CoreAudio.framework", | |
| 57 "CoreData.framework", | |
| 58 "CoreMIDI.framework", | |
| 59 "CoreVideo.framework", | |
| 60 "CoreGraphics.framework", | |
| 61 "GLKit.framework", | |
| 62 "OpenGLES.framework", | |
| 63 "Webkit.framework", | |
| 64 ] | |
| 65 | |
| 66 configs += [ "//build/config/compiler:enable_arc" ] | |
| 67 } | |
| 68 | |
| 69 source_set("bridge_unit_tests") { | |
| 70 testonly = true | |
| 71 | |
| 72 include_dirs = [ | |
| 73 "$root_gen_dir", | |
| 74 "//third_party/protobuf/src", | |
| 75 ] | |
| 76 | |
| 77 sources = [ | |
| 78 "client_instance_unittest.mm", | |
| 79 "client_proxy_unittest.mm", | |
| 80 | |
| 81 # "frame_consumer_bridge_unittest.cc", | |
| 82 "host_proxy_unittest.mm", | |
| 83 ] | |
| 84 | |
| 85 deps = [ | |
| 86 ":bridge", | |
| 87 "//testing/gtest", | |
| 88 ] | |
| 89 | |
| 90 configs += [ "//build/config/compiler:enable_arc" ] | |
| 91 | |
| 92 data = [] | |
| 93 } | |
| OLD | NEW |