| # 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. |
| |
| group("all") { |
| testonly = true |
| |
| deps = [ |
| ":ios_core", |
| ":main", |
| "./bridge:all", |
| ] |
| } |
| |
| group("all_test") { |
| testonly = true |
| |
| deps = [ |
| ":ios_core_unit_tests", |
| "./bridge:bridge_unit_tests", |
| ] |
| } |
| |
| source_set("main") { |
| sources = [ |
| "app_delegate.h", |
| "app_delegate.mm", |
| "example_view_controller.h", |
| "example_view_controller.mm", |
| "main.mm", |
| ] |
| |
| deps = [ |
| "//base", |
| "//remoting/base", |
| "//remoting/client", |
| "//remoting/protocol", |
| "//third_party/google_toolbox_for_mac", |
| "//ui/base", |
| "//ui/gfx", |
| "//ui/resources", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("ios_core") { |
| sources = [ |
| "host.h", |
| "host.mm", |
| "key_input.h", |
| "key_input.mm", |
| "key_map_us.h", |
| "utility.h", |
| "utility.mm", |
| ] |
| |
| public_deps = [ |
| "//third_party/webrtc/base:rtc_base", |
| "//third_party/webrtc/modules/desktop_capture:primitives", |
| ] |
| |
| deps = [ |
| "//base", |
| ] |
| |
| 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 = [ |
| # "host_refresh_unittest.mm", |
| # "host_refresh_unittest_helper.h", |
| "key_input_unittest.mm", |
| ] |
| |
| deps = [ |
| ":ios_core", |
| "//testing/gtest", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| |
| data = [] |
| } |