| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
| 6 | 6 |
| 7 group("all_tests") { | 7 group("all_tests") { |
| 8 testonly = true | 8 testonly = true |
| 9 } | 9 } |
| 10 | 10 |
| 11 if (enable_me2me_host) { | 11 if (enable_me2me_host) { |
| 12 copy("remoting_me2me_host_copy_script") { | 12 copy("remoting_me2me_host_copy_script") { |
| 13 sources = [ | 13 sources = [ |
| 14 "linux_me2me_host.py", | 14 "linux_me2me_host.py", |
| 15 ] | 15 ] |
| 16 outputs = [ | 16 outputs = [ |
| 17 "$root_build_dir/remoting/chrome-remote-desktop", | 17 "$root_build_dir/remoting/chrome-remote-desktop", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 | 20 |
| 21 copy("remoting_me2me_host_copy_host") { | 21 copy("remoting_me2me_host_copy_host_wrapper") { |
| 22 sources = [ | 22 sources = [ |
| 23 "remoting_me2me_host_wrapper.sh", | 23 "remoting_me2me_host_wrapper.sh", |
| 24 ] | 24 ] |
| 25 outputs = [ | 25 outputs = [ |
| 26 "$root_build_dir/remoting/chrome-remote-desktop-host", | 26 "$root_build_dir/remoting/chrome-remote-desktop-host", |
| 27 ] | 27 ] |
| 28 | |
| 29 deps = [ | |
| 30 "//remoting/host:remoting_me2me_host", | |
| 31 ] | |
| 32 } | 28 } |
| 33 | 29 |
| 34 group("remoting_dev_me2me_host") { | 30 group("remoting_dev_me2me_host") { |
| 35 deps = [ | 31 deps = [ |
| 36 ":remoting_me2me_host_copy_host", | 32 ":remoting_me2me_host_copy_host_wrapper", |
| 37 ":remoting_me2me_host_copy_script", | 33 ":remoting_me2me_host_copy_script", |
| 34 "//remoting/host:remoting_me2me_host", |
| 38 ] | 35 ] |
| 39 } | 36 } |
| 40 } | 37 } |
| 41 | 38 |
| 42 source_set("linux") { | 39 source_set("linux") { |
| 43 sources = [ | 40 sources = [ |
| 44 "audio_pipe_reader.cc", | 41 "audio_pipe_reader.cc", |
| 45 "audio_pipe_reader.h", | 42 "audio_pipe_reader.h", |
| 46 "certificate_watcher.cc", | 43 "certificate_watcher.cc", |
| 47 "certificate_watcher.h", | 44 "certificate_watcher.h", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 "//remoting/host/setup", | 86 "//remoting/host/setup", |
| 90 ] | 87 ] |
| 91 | 88 |
| 92 # The |major|, |build| and |patch| versions are inherited from Chrome. | 89 # The |major|, |build| and |patch| versions are inherited from Chrome. |
| 93 # Since Chrome's |minor| version is always '0', we replace it with a | 90 # Since Chrome's |minor| version is always '0', we replace it with a |
| 94 # Chromoting-specific patch version. | 91 # Chromoting-specific patch version. |
| 95 defines = | 92 defines = |
| 96 [ "VERSION=" + "$chrome_version_major" + "." + "$remoting_version_patch" + | 93 [ "VERSION=" + "$chrome_version_major" + "." + "$remoting_version_patch" + |
| 97 "." + "$chrome_version_build" + "." + "$chrome_version_patch" ] | 94 "." + "$chrome_version_build" + "." + "$chrome_version_patch" ] |
| 98 } | 95 } |
| OLD | NEW |