| 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 executable("remoting_user_session") { | |
| 13 sources = [ | |
| 14 "remoting_user_session.cc", | |
| 15 ] | |
| 16 | |
| 17 deps = [ | |
| 18 "//base", | |
| 19 ] | |
| 20 | |
| 21 libs = [ "pam" ] | |
| 22 } | |
| 23 | |
| 24 copy("remoting_me2me_host_copy_script") { | 12 copy("remoting_me2me_host_copy_script") { |
| 25 sources = [ | 13 sources = [ |
| 26 "linux_me2me_host.py", | 14 "linux_me2me_host.py", |
| 27 ] | 15 ] |
| 28 outputs = [ | 16 outputs = [ |
| 29 "$root_build_dir/remoting/chrome-remote-desktop", | 17 "$root_build_dir/remoting/chrome-remote-desktop", |
| 30 ] | 18 ] |
| 31 } | 19 } |
| 32 | 20 |
| 33 copy("remoting_me2me_host_copy_host") { | 21 copy("remoting_me2me_host_copy_host") { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 "//remoting/host/setup", | 89 "//remoting/host/setup", |
| 102 ] | 90 ] |
| 103 | 91 |
| 104 # The |major|, |build| and |patch| versions are inherited from Chrome. | 92 # The |major|, |build| and |patch| versions are inherited from Chrome. |
| 105 # Since Chrome's |minor| version is always '0', we replace it with a | 93 # Since Chrome's |minor| version is always '0', we replace it with a |
| 106 # Chromoting-specific patch version. | 94 # Chromoting-specific patch version. |
| 107 defines = | 95 defines = |
| 108 [ "VERSION=" + "$chrome_version_major" + "." + "$remoting_version_patch" + | 96 [ "VERSION=" + "$chrome_version_major" + "." + "$remoting_version_patch" + |
| 109 "." + "$chrome_version_build" + "." + "$chrome_version_patch" ] | 97 "." + "$chrome_version_build" + "." + "$chrome_version_patch" ] |
| 110 } | 98 } |
| OLD | NEW |