| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//remoting/build/config/remoting_build.gni") |
| |
| group("all") { |
| testonly = true |
| |
| deps = [ |
| ":ios_core", |
| "./app:all", |
| ] |
| } |
| |
| group("all_test") { |
| testonly = true |
| |
| deps = [ |
| ":ios_core_unit_tests", |
| ] |
| } |
| |
| source_set("ios_core") { |
| sources = [ |
| "client_gestures.h", |
| "client_gestures.mm", |
| "client_keyboard.h", |
| "client_keyboard.mm", |
| "keychain_wrapper.h", |
| "keychain_wrapper.mm", |
| ] |
| |
| public_deps = [ |
| "//remoting/ios/domain", |
| "//remoting/ios/facade", |
| "//remoting/ios/session", |
| "//third_party/webrtc/modules/desktop_capture:primitives", |
| "//third_party/webrtc/rtc_base:rtc_base", |
| ] |
| |
| deps = [ |
| "//base", |
| "//remoting/protocol", |
| ] |
| |
| libs = [ |
| "CoreGraphics.framework", |
| "GLKit.framework", |
| "OpenGLES.framework", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("ios_core_unit_tests") { |
| testonly = true |
| |
| include_dirs = [ |
| "$root_gen_dir", |
| "//third_party/protobuf/src", |
| ] |
| |
| sources = [] |
| |
| deps = [ |
| ":ios_core", |
| "//testing/gtest", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| |
| data = [] |
| } |