| 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 import("//remoting/remoting_srcs.gni") | 5 import("//remoting/remoting_srcs.gni") |
| 6 | 6 |
| 7 static_library("client") { | 7 static_library("client") { |
| 8 # Disabled the source filters because there are _mac files that need to | 8 # Disabled the source filters because there are _mac files that need to |
| 9 # be compiled on all platforms. | 9 # be compiled on all platforms. |
| 10 set_sources_assignment_filter([]) | 10 set_sources_assignment_filter([]) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 "server_log_entry_client.cc", | 34 "server_log_entry_client.cc", |
| 35 ] | 35 ] |
| 36 } else { | 36 } else { |
| 37 sources += rebase_path( | 37 sources += rebase_path( |
| 38 remoting_srcs_gypi_values.remoting_client_standalone_sources, | 38 remoting_srcs_gypi_values.remoting_client_standalone_sources, |
| 39 ".", | 39 ".", |
| 40 "//remoting") | 40 "//remoting") |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 | 43 |
| 44 if (is_android || is_ios) { | 44 source_set("opengl_renderer") { |
| 45 source_set("opengl_renderer") { | 45 sources = |
| 46 sources = | 46 rebase_path(remoting_srcs_gypi_values.remoting_opengl_renderer_sources, |
| 47 rebase_path(remoting_srcs_gypi_values.remoting_opengl_renderer_sources, | 47 ".", |
| 48 ".", | 48 "//remoting") |
| 49 "//remoting") | |
| 50 | 49 |
| 51 deps = [ | 50 deps = [ |
| 52 "//remoting/proto", | 51 "//remoting/proto", |
| 53 "//third_party/libyuv", | 52 "//third_party/libyuv", |
| 54 "//third_party/webrtc", | 53 "//third_party/webrtc", |
| 55 ] | 54 ] |
| 56 | 55 |
| 57 configs += [ "//third_party/khronos:khronos_headers" ] | 56 configs += [ "//third_party/khronos:khronos_headers" ] |
| 57 |
| 58 if (is_linux) { |
| 59 libs = [ "GL" ] |
| 60 } |
| 61 |
| 62 if (is_mac) { |
| 63 libs = [ "OpenGL.framework" ] |
| 64 } |
| 65 |
| 66 if (is_win) { |
| 67 deps += [ "//third_party/angle:libGLESv2" ] |
| 58 } | 68 } |
| 59 } | 69 } |
| 60 | 70 |
| 61 static_library("test_support") { | 71 static_library("test_support") { |
| 62 testonly = true | 72 testonly = true |
| 63 | 73 |
| 64 sources = [ | 74 sources = [ |
| 65 "fake_audio_consumer.cc", | 75 "fake_audio_consumer.cc", |
| 66 "fake_audio_consumer.h", | 76 "fake_audio_consumer.h", |
| 67 ] | 77 ] |
| (...skipping 12 matching lines...) Expand all Loading... |
| 80 # be compiled on all platforms. | 90 # be compiled on all platforms. |
| 81 set_sources_assignment_filter([]) | 91 set_sources_assignment_filter([]) |
| 82 sources = [ | 92 sources = [ |
| 83 "audio_decode_scheduler_unittest.cc", | 93 "audio_decode_scheduler_unittest.cc", |
| 84 "audio_player_unittest.cc", | 94 "audio_player_unittest.cc", |
| 85 "chromoting_client_runtime_unittest.cc", | 95 "chromoting_client_runtime_unittest.cc", |
| 86 "client_status_logger_unittest.cc", | 96 "client_status_logger_unittest.cc", |
| 87 "client_telemetry_logger_unittest.cc", | 97 "client_telemetry_logger_unittest.cc", |
| 88 "dual_buffer_frame_consumer_unittest.cc", | 98 "dual_buffer_frame_consumer_unittest.cc", |
| 89 "empty_cursor_filter_unittest.cc", | 99 "empty_cursor_filter_unittest.cc", |
| 100 "gl_renderer_unittest.cc", |
| 90 "key_event_mapper_unittest.cc", | 101 "key_event_mapper_unittest.cc", |
| 91 "normalizing_input_filter_cros_unittest.cc", | 102 "normalizing_input_filter_cros_unittest.cc", |
| 92 "normalizing_input_filter_mac_unittest.cc", | 103 "normalizing_input_filter_mac_unittest.cc", |
| 93 "normalizing_input_filter_win_unittest.cc", | 104 "normalizing_input_filter_win_unittest.cc", |
| 94 "queued_task_poster_unittest.cc", | 105 "queued_task_poster_unittest.cc", |
| 95 "server_log_entry_client_unittest.cc", | 106 "server_log_entry_client_unittest.cc", |
| 96 "software_video_renderer_unittest.cc", | 107 "software_video_renderer_unittest.cc", |
| 97 "touch_input_scaler_unittest.cc", | 108 "touch_input_scaler_unittest.cc", |
| 98 ] | 109 ] |
| 99 set_sources_assignment_filter(sources_assignment_filter) | 110 set_sources_assignment_filter(sources_assignment_filter) |
| 100 | 111 |
| 101 configs += [ | 112 configs += [ |
| 102 "//remoting:version", | 113 "//remoting:version", |
| 103 "//remoting:enable_webrtc_remoting_client", | 114 "//remoting:enable_webrtc_remoting_client", |
| 104 ] | 115 ] |
| 105 | 116 |
| 106 deps = [ | 117 deps = [ |
| 107 ":client", | 118 ":client", |
| 119 ":opengl_renderer", |
| 108 ":test_support", | 120 ":test_support", |
| 109 "//remoting/proto", | 121 "//remoting/proto", |
| 110 "//testing/gmock", | 122 "//testing/gmock", |
| 111 "//testing/gtest", | 123 "//testing/gtest", |
| 112 "//third_party/webrtc", | 124 "//third_party/webrtc", |
| 113 ] | 125 ] |
| 114 } | 126 } |
| OLD | NEW |