| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
| 6 | 6 |
| 7 group("all") { | 7 group("all") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 deps = [ | 10 deps = [ |
| 11 ":ios_core", | 11 ":ios_core", |
| 12 "./app:all", |
| 12 "./bridge:all", | 13 "./bridge:all", |
| 13 ] | 14 ] |
| 14 } | 15 } |
| 15 | 16 |
| 16 group("all_test") { | 17 group("all_test") { |
| 17 testonly = true | 18 testonly = true |
| 18 | 19 |
| 19 deps = [ | 20 deps = [ |
| 20 ":ios_core_unit_tests", | 21 ":ios_core_unit_tests", |
| 21 "./bridge:bridge_unit_tests", | 22 "./bridge:bridge_unit_tests", |
| 22 ] | 23 ] |
| 23 } | 24 } |
| 24 | 25 |
| 25 source_set("ios_core") { | 26 source_set("ios_core") { |
| 26 sources = [ | 27 sources = [ |
| 27 "app_runtime.cc", | |
| 28 "app_runtime.h", | |
| 29 "client_gestures.h", | 28 "client_gestures.h", |
| 30 "client_gestures.mm", | 29 "client_gestures.mm", |
| 31 "host.h", | |
| 32 "host.mm", | |
| 33 "host_preferences.h", | 30 "host_preferences.h", |
| 34 "host_preferences.mm", | 31 "host_preferences.mm", |
| 35 "host_preferences_persistence.h", | 32 "host_preferences_persistence.h", |
| 36 "key_input.h", | 33 "key_input.h", |
| 37 "key_input.mm", | 34 "key_input.mm", |
| 38 "key_map_us.h", | 35 "key_map_us.h", |
| 39 "utility.h", | 36 "utility.h", |
| 40 "utility.mm", | 37 "utility.mm", |
| 41 ] | 38 ] |
| 42 | 39 |
| 43 if (!is_chrome_branded) { | 40 if (!is_chrome_branded) { |
| 44 sources += [ "host_preferences_persistence_chromium.mm" ] | 41 sources += [ "host_preferences_persistence_chromium.mm" ] |
| 45 } | 42 } |
| 46 | 43 |
| 47 public_deps = [ | 44 public_deps = [ |
| 45 "//remoting/client/ios/domain", |
| 46 "//remoting/client/ios/facade", |
| 48 "//third_party/webrtc/base:rtc_base", | 47 "//third_party/webrtc/base:rtc_base", |
| 49 "//third_party/webrtc/modules/desktop_capture:primitives", | 48 "//third_party/webrtc/modules/desktop_capture:primitives", |
| 50 ] | 49 ] |
| 51 | 50 |
| 52 deps = [ | 51 deps = [ |
| 53 "//base", | 52 "//base", |
| 54 "//remoting/protocol", | 53 "//remoting/protocol", |
| 55 ] | 54 ] |
| 56 | 55 |
| 57 libs = [ | 56 libs = [ |
| 58 "CoreGraphics.framework", | 57 "CoreGraphics.framework", |
| 59 "GLKit.framework", | 58 "GLKit.framework", |
| 60 "OpenGLES.framework", | 59 "OpenGLES.framework", |
| 61 ] | 60 ] |
| 62 | 61 |
| 63 configs += [ "//build/config/compiler:enable_arc" ] | 62 configs += [ "//build/config/compiler:enable_arc" ] |
| 64 } | 63 } |
| 65 | 64 |
| 66 source_set("ios_core_unit_tests") { | 65 source_set("ios_core_unit_tests") { |
| 67 testonly = true | 66 testonly = true |
| 68 | 67 |
| 69 include_dirs = [ | 68 include_dirs = [ |
| 70 "$root_gen_dir", | 69 "$root_gen_dir", |
| 71 "//third_party/protobuf/src", | 70 "//third_party/protobuf/src", |
| 72 ] | 71 ] |
| 73 | 72 |
| 74 sources = [ | 73 sources = [ |
| 75 # "host_refresh_unittest.mm", | |
| 76 # "host_refresh_unittest_helper.h", | |
| 77 "key_input_unittest.mm", | 74 "key_input_unittest.mm", |
| 78 ] | 75 ] |
| 79 | 76 |
| 80 deps = [ | 77 deps = [ |
| 81 ":ios_core", | 78 ":ios_core", |
| 82 "//testing/gtest", | 79 "//testing/gtest", |
| 83 ] | 80 ] |
| 84 | 81 |
| 85 configs += [ "//build/config/compiler:enable_arc" ] | 82 configs += [ "//build/config/compiler:enable_arc" ] |
| 86 | 83 |
| 87 data = [] | 84 data = [] |
| 88 } | 85 } |
| OLD | NEW |