Chromium Code Reviews| 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 source_set("base") { | 5 source_set("base") { |
| 6 sources = [ | 6 sources = [ |
| 7 "auto_thread.cc", | 7 "auto_thread.cc", |
| 8 "auto_thread.h", | 8 "auto_thread.h", |
| 9 "auto_thread_task_runner.cc", | 9 "auto_thread_task_runner.cc", |
| 10 "auto_thread_task_runner.h", | 10 "auto_thread_task_runner.h", |
| 11 "buffered_socket_writer.cc", | 11 "buffered_socket_writer.cc", |
| 12 "buffered_socket_writer.h", | 12 "buffered_socket_writer.h", |
| 13 "capabilities.cc", | 13 "capabilities.cc", |
| 14 "capabilities.h", | 14 "capabilities.h", |
| 15 "chromium_url_request.cc", | 15 "chromium_url_request.cc", |
| 16 "chromium_url_request.h", | 16 "chromium_url_request.h", |
| 17 "chromoting_event.cc", | 17 "chromoting_event.cc", |
| 18 "chromoting_event.h", | 18 "chromoting_event.h", |
| 19 "compound_buffer.cc", | 19 "compound_buffer.cc", |
| 20 "compound_buffer.h", | 20 "compound_buffer.h", |
| 21 "constants.cc", | 21 "constants.cc", |
| 22 "constants.h", | 22 "constants.h", |
| 23 | |
|
nicholss
2017/01/31 16:44:58
Will fix.
| |
| 24 # "gaia_oauth_client.cc", | |
| 25 # "gaia_oauth_client.h", | |
| 23 "leaky_bucket.cc", | 26 "leaky_bucket.cc", |
| 24 "leaky_bucket.h", | 27 "leaky_bucket.h", |
| 28 | |
| 29 # "oauth_client.h", | |
| 30 # "oauth_helper.cc", | |
| 31 # "oauth_helper.h", | |
| 32 # "oauth_token_getter_impl.cc", | |
| 33 # "oauth_token_getter_impl.h", | |
| 34 # "oauth_token_getter.cc", | |
| 35 # "oauth_token_getter.h", | |
| 25 "rate_counter.cc", | 36 "rate_counter.cc", |
| 26 "rate_counter.h", | 37 "rate_counter.h", |
| 27 "rsa_key_pair.cc", | 38 "rsa_key_pair.cc", |
| 28 "rsa_key_pair.h", | 39 "rsa_key_pair.h", |
| 29 "running_samples.cc", | 40 "running_samples.cc", |
| 30 "running_samples.h", | 41 "running_samples.h", |
| 31 "scoped_sc_handle_win.h", | 42 "scoped_sc_handle_win.h", |
| 32 "socket_reader.cc", | 43 "socket_reader.cc", |
| 33 "socket_reader.h", | 44 "socket_reader.h", |
| 34 "telemetry_log_writer.cc", | 45 "telemetry_log_writer.cc", |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 64 if (is_nacl) { | 75 if (is_nacl) { |
| 65 sources -= [ | 76 sources -= [ |
| 66 "chromium_url_request.cc", | 77 "chromium_url_request.cc", |
| 67 "chromoting_event.cc", | 78 "chromoting_event.cc", |
| 68 "telemetry_log_writer.cc", | 79 "telemetry_log_writer.cc", |
| 69 "url_request_context_getter.cc", | 80 "url_request_context_getter.cc", |
| 70 ] | 81 ] |
| 71 } | 82 } |
| 72 } | 83 } |
| 73 | 84 |
| 85 source_set("authorization") { | |
| 86 sources = [ | |
| 87 "gaia_oauth_client.cc", | |
| 88 "gaia_oauth_client.h", | |
| 89 "oauth_client.h", | |
| 90 "oauth_helper.cc", | |
| 91 "oauth_helper.h", | |
| 92 "oauth_token_getter.cc", | |
| 93 "oauth_token_getter.h", | |
| 94 "oauth_token_getter_impl.cc", | |
| 95 "oauth_token_getter_impl.h", | |
| 96 ] | |
| 97 | |
| 98 configs += [ | |
| 99 "//build/config/compiler:wexit_time_destructors", | |
| 100 "//remoting/build/config:version", | |
| 101 ] | |
| 102 | |
| 103 public_deps = [ | |
| 104 "//base", | |
| 105 "//google_apis", | |
| 106 "//net", | |
| 107 ] | |
| 108 } | |
| 109 | |
| 74 source_set("breakpad") { | 110 source_set("breakpad") { |
| 75 sources = [ | 111 sources = [ |
| 76 "breakpad.h", | 112 "breakpad.h", |
| 77 "breakpad_linux.cc", | 113 "breakpad_linux.cc", |
| 78 "breakpad_mac.mm", | 114 "breakpad_mac.mm", |
| 79 "breakpad_win.cc", | 115 "breakpad_win.cc", |
| 80 ] | 116 ] |
| 81 | 117 |
| 82 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 118 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 83 | 119 |
| 84 deps = [ | 120 deps = [ |
| 85 "//base", | 121 "//base", |
| 86 ] | 122 ] |
| 87 | 123 |
| 88 if (is_mac) { | 124 if (is_mac) { |
| 89 deps += [ "//breakpad" ] | 125 deps += [ "//breakpad" ] |
| 90 } else if (is_win) { | 126 } else if (is_win) { |
| 91 deps += [ "//breakpad:breakpad_handler" ] | 127 deps += [ "//breakpad:breakpad_handler" ] |
| 92 } | 128 } |
| 93 } | 129 } |
| 94 | 130 |
| 131 static_library("test_support") { | |
| 132 testonly = true | |
| 133 | |
| 134 sources = [ | |
| 135 "fake_oauth_token_getter.cc", | |
| 136 "fake_oauth_token_getter.h", | |
| 137 "mock_oauth_client.cc", | |
| 138 "mock_oauth_client.h", | |
| 139 "test_rsa_key_pair.h", | |
| 140 ] | |
| 141 | |
| 142 deps = [ | |
| 143 "//remoting/proto", | |
| 144 ] | |
| 145 public_deps = [ | |
| 146 ":authorization", | |
| 147 ":base", | |
| 148 ":breakpad", | |
| 149 "//base", | |
| 150 "//testing/gmock", | |
| 151 "//testing/gtest", | |
| 152 "//third_party/protobuf:protobuf_lite", | |
| 153 ] | |
| 154 } | |
| 155 | |
| 95 source_set("unit_tests") { | 156 source_set("unit_tests") { |
| 96 testonly = true | 157 testonly = true |
| 97 | 158 |
| 98 sources = [ | 159 sources = [ |
| 99 "auto_thread_task_runner_unittest.cc", | 160 "auto_thread_task_runner_unittest.cc", |
| 100 "auto_thread_unittest.cc", | 161 "auto_thread_unittest.cc", |
| 101 "breakpad_win_unittest.cc", | 162 "breakpad_win_unittest.cc", |
| 102 "buffered_socket_writer_unittest.cc", | 163 "buffered_socket_writer_unittest.cc", |
| 103 "capabilities_unittest.cc", | 164 "capabilities_unittest.cc", |
| 104 "compound_buffer_unittest.cc", | 165 "compound_buffer_unittest.cc", |
| 166 "oauth_helper_unittest.cc", | |
| 105 "rate_counter_unittest.cc", | 167 "rate_counter_unittest.cc", |
| 106 "rsa_key_pair_unittest.cc", | 168 "rsa_key_pair_unittest.cc", |
| 107 "run_all_unittests.cc", | 169 "run_all_unittests.cc", |
| 108 "running_samples_unittest.cc", | 170 "running_samples_unittest.cc", |
| 109 "telemetry_log_writer_unittest.cc", | 171 "telemetry_log_writer_unittest.cc", |
| 110 "test_rsa_key_pair.h", | |
| 111 "typed_buffer_unittest.cc", | 172 "typed_buffer_unittest.cc", |
| 112 "util_unittest.cc", | 173 "util_unittest.cc", |
| 113 ] | 174 ] |
| 114 | 175 |
| 115 deps = [ | 176 deps = [ |
| 116 ":base", | 177 ":test_support", |
| 117 ":breakpad", | |
| 118 "//base", | |
| 119 "//mojo/edk/system", | 178 "//mojo/edk/system", |
| 120 "//net:test_support", | 179 "//net:test_support", |
| 121 "//testing/gmock", | |
| 122 "//testing/gtest", | |
| 123 "//third_party/libyuv", | 180 "//third_party/libyuv", |
| 124 "//third_party/webrtc/modules/desktop_capture:primitives", | 181 "//third_party/webrtc/modules/desktop_capture:primitives", |
| 125 ] | 182 ] |
| 126 | 183 |
| 127 if (is_win || is_mac || is_chromeos) { | 184 if (is_win || is_mac || is_chromeos) { |
| 128 deps += [ "//breakpad:client" ] | 185 deps += [ "//breakpad:client" ] |
| 129 } | 186 } |
| 130 | 187 |
| 131 if (is_win) { | 188 if (is_win) { |
| 132 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. | 189 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. |
| 133 } | 190 } |
| 134 } | 191 } |
| OLD | NEW |