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