Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//remoting/remoting_version.gni") | 7 import("//remoting/remoting_version.gni") |
| 8 import("//remoting/remoting_host.gni") | 8 import("//remoting/remoting_enable.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 | 10 |
| 11 # Various remoting targets need this version definition. | 11 # Various remoting targets need this version definition. |
| 12 config("version") { | 12 config("version") { |
| 13 defines = [ "VERSION=$version_full" ] | 13 defines = [ "VERSION=$version_full" ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 group("all_r") { | |
| 17 deps = [ | |
| 18 #"//remoting:remoting_base", | |
|
garykac
2015/04/15 00:44:07
These comments parallel the GYP file. They will be
Dirk Pranke
2015/04/15 01:08:40
Generally I've tried to avoid having a roll-up tar
garykac
2015/04/16 02:11:57
I was keeping it in sync with the .gyp file, where
| |
| 19 #"//remoting:remoting_breakpad", | |
| 20 #"//remoting:remoting_browser_test_resources", | |
| 21 #"//remoting:remoting_client", | |
| 22 #"//remoting:remoting_client_plugin", | |
| 23 #"//remoting:remoting_protocol", | |
| 24 #"//remoting:remoting_test_common", | |
| 25 # testonly: "//remoting:remoting_unittests", | |
| 26 #"//remoting:remoting_resources", | |
| 27 #"//remoting:remoting_webapp", | |
| 28 "//remoting/webapp:html", | |
| 29 #"//remoting:remoting_webapp_unittests", | |
| 30 #"//app_remoting_test.gyp:ar_sample_test_driver", | |
| 31 #"//app_remoting_webapp.gyp:ar_sample_app", | |
| 32 ] | |
| 33 | |
| 34 if (is_win) { | |
| 35 deps += [ | |
| 36 #"//remoting:remoting_breakpad_tester", | |
| 37 #"//remoting:remoting_console", | |
| 38 #"//remoting:remoting_core", | |
| 39 #"//remoting:remoting_desktop", | |
| 40 #"//remoting:remoting_host_installation", | |
| 41 #"//remoting:remoting_windows_resources", | |
| 42 ] | |
| 43 } | |
| 44 | |
| 45 if (is_android) { | |
| 46 deps += [ | |
| 47 #"//remoting:remoting_android_client_java", | |
| 48 #"//remoting:remoting_android_resources", | |
| 49 #"//remoting:remoting_apk", | |
| 50 #"//remoting:remoting_apk_manifest", | |
| 51 #"//remoting:remoting_client_jni", | |
| 52 #"//remoting:remoting_jni_headers", | |
| 53 #"//remoting:remoting_test_apk", | |
| 54 #"//remoting:remoting_unittests_apk", | |
| 55 ] | |
| 56 } | |
| 57 | |
| 58 if (enable_remoting_host) { | |
| 59 deps += [ | |
| 60 # testonly: "//remoting:remoting_perftests", | |
| 61 "//remoting/host", | |
| 62 "//remoting/host:remoting_start_host", | |
| 63 "//remoting/host/it2me:remote_assistance_host", | |
| 64 | |
| 65 # From .gyp: | |
| 66 #"//remoting:remoting_infoplist_strings", | |
| 67 #"//remoting:remoting_it2me_host_static", | |
| 68 #"//remoting:remoting_it2me_native_messaging_host", | |
| 69 #"//remoting:remoting_host", | |
| 70 #"//remoting:remoting_host_setup_base", | |
| 71 #"//remoting:remoting_native_messaging_base", | |
| 72 #"//remoting:remoting_native_messaging_manifests", | |
| 73 #"//remoting:remoting_perftests", | |
| 74 #"//remoting:remoting_start_host", | |
| 75 ] | |
| 76 } | |
| 77 | |
| 78 if (enable_me2me_host) { | |
| 79 deps += [ | |
| 80 "//remoting/host:remoting_me2me_host", | |
| 81 #"//remoting/host:remoting_me2me_host_archive", | |
| 82 #"//remoting/host:remoting_me2me_host_static", | |
| 83 #"//remoting/host:remoting_me2me_native_messaging_host", | |
| 84 ] | |
| 85 } | |
| 86 } | |
| 87 | |
| 88 group("all_tests") { | |
|
garykac
2015/04/15 00:44:07
Test targets needing to be in a separate testonly
Dirk Pranke
2015/04/15 01:08:40
Just mark the "all" target as a testonly target, a
garykac
2015/04/16 02:11:57
Done.
| |
| 89 testonly = true | |
| 90 | |
| 91 deps = [ | |
| 92 "//remoting:remoting_unittests", | |
| 93 ] | |
| 94 | |
| 95 if (enable_remoting_host) { | |
| 96 deps += [ "//remoting:remoting_perftests" ] | |
| 97 } | |
| 98 } | |
| 99 | |
| 16 # GYP version: remoting/remoting_test.gypi:remoting_test_common | 100 # GYP version: remoting/remoting_test.gypi:remoting_test_common |
| 17 source_set("test_support") { | 101 source_set("test_support") { |
| 18 testonly = true | 102 testonly = true |
| 19 | 103 |
| 20 sources = [ | 104 sources = [ |
| 21 # Files from remoting_test_common not in separate test_support targets. | 105 # Files from remoting_test_common not in separate test_support targets. |
| 22 "signaling/fake_signal_strategy.cc", | 106 "signaling/fake_signal_strategy.cc", |
| 23 "signaling/fake_signal_strategy.h", | 107 "signaling/fake_signal_strategy.h", |
| 24 "signaling/mock_signal_strategy.cc", | 108 "signaling/mock_signal_strategy.cc", |
| 25 "signaling/mock_signal_strategy.h", | 109 "signaling/mock_signal_strategy.h", |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 208 } | 292 } |
| 209 } | 293 } |
| 210 | 294 |
| 211 group("remoting_key_tester_pexe") { | 295 group("remoting_key_tester_pexe") { |
| 212 # TODO(GYP): crbug.com/471924 implement me when we have a pnacl toolchain. | 296 # TODO(GYP): crbug.com/471924 implement me when we have a pnacl toolchain. |
| 213 #sources = [ | 297 #sources = [ |
| 214 # "tools/javascript_key_tester/pnacl/remoting_key_tester.cc", | 298 # "tools/javascript_key_tester/pnacl/remoting_key_tester.cc", |
| 215 #] | 299 #] |
| 216 } | 300 } |
| 217 } | 301 } |
| OLD | NEW |