| Index: remoting/BUILD.gn
|
| diff --git a/remoting/BUILD.gn b/remoting/BUILD.gn
|
| index 6c5ffac5b2d788a6f6968c571a40bab4913205d3..70aafa01157bd26389fa194f1b24ebccf9c8bca7 100644
|
| --- a/remoting/BUILD.gn
|
| +++ b/remoting/BUILD.gn
|
| @@ -5,10 +5,9 @@
|
| import("//build/config/features.gni")
|
| import("//build/config/ui.gni")
|
| import("//remoting/remoting_version.gni")
|
| +import("//remoting/remoting_host.gni")
|
| import("//testing/test.gni")
|
|
|
| -enable_remoting_host = is_win || is_mac || is_chromeos || use_x11
|
| -
|
| # Various remoting targets need this version definition.
|
| config("version") {
|
| defines = [ "VERSION=$version_full" ]
|
| @@ -136,7 +135,83 @@ if (!is_win && !is_mac) {
|
| ]
|
| }
|
| }
|
| +
|
| + if (enable_remoting_host) {
|
| + test("remoting_perftests") {
|
| + sources = [
|
| + "codec/codec_test.cc",
|
| + "codec/codec_test.h",
|
| + "codec/video_encoder_vpx_perftest.cc",
|
| + "test/protocol_perftest.cc",
|
| + ]
|
| +
|
| + configs += [ ":version" ]
|
| +
|
| + deps = [
|
| + ":test_support",
|
| + "//base",
|
| + "//base/test:run_all_unittests",
|
| + "//base/test:test_support",
|
| + "//net:test_support",
|
| + "//remoting/base",
|
| + "//testing/gtest",
|
| + "//third_party/webrtc/modules/desktop_capture",
|
| + "//third_party/libjingle",
|
| + ]
|
| +
|
| + if (enable_webrtc) {
|
| + deps += [ "//third_party/libjingle:libjingle_webrtc" ]
|
| + }
|
| + }
|
| + }
|
| } else {
|
| group("remoting_unittests") {
|
| }
|
| }
|
| +
|
| +if (enable_pnacl) {
|
| + group("remoting_key_tester") {
|
| + deps = [
|
| + ":remoting_key_tester_copies",
|
| + ]
|
| + }
|
| +
|
| + copy("remoting_key_tester_copies") {
|
| + sources = [
|
| + "tools/javascript_key_tester/background.js",
|
| + "tools/javascript_key_tester/chord_tracker.js",
|
| + "tools/javascript_key_tester/event_listeners.js",
|
| + "tools/javascript_key_tester/icon_128.png",
|
| + "tools/javascript_key_tester/main.css",
|
| + "tools/javascript_key_tester/main.html",
|
| + "tools/javascript_key_tester/main.js",
|
| + "tools/javascript_key_tester/manifest.json",
|
| + "tools/javascript_key_tester/pnacl/remoting_key_tester.nmf",
|
| +
|
| + # TODO(GYP): crbug.com/471924 "$target_out_dir/remoting_key_tester_newlib.pexe",
|
| + ]
|
| +
|
| + outputs = [
|
| + "$target_out_dir/remoting/key_tester/{{source_file_part}}",
|
| + ]
|
| +
|
| + deps = [
|
| + ":remoting_key_tester_jscompile",
|
| + ":remoting_key_tester_pexe",
|
| + ]
|
| + }
|
| +
|
| + group("remoting_key_tester_jscompile") {
|
| + # TODO(GYP): crbug.com/471926 add support for run_jscompile=true.
|
| + run_jscompile = false
|
| + if (run_jscompile) {
|
| + }
|
| + }
|
| +
|
| + group("remoting_key_tester_pexe") {
|
| + # TODO(GYP): crbug.com/471924 implement me when we have a pnacl toolchain.
|
| + #sources = [
|
| + # "tools/javascript_key_tester/pnacl/remoting_key_tester.cc",
|
| + #]
|
| + }
|
| +}
|
|
|