Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Issue 1885483003: Copy Linux me2me script to output dir for GN builds (Closed)

Created:
4 years, 8 months ago by Lambros
Modified:
4 years, 8 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[remoting host] Copy Linux Me2Me script for GN builds On Linux, this adds a new build target which copies the linux_me2me_host.py script to a remoting/ subdirectory of the GN output directory. It also creates a wrapper script in the same place to run the remoting_me2me_host binary. This enables a developer to do: ninja -C out/foo remoting_dev_me2me_host and then: out/foo/remoting/chrome-remote-desktop-host --start to run the newly-built host. BUG=602690 Committed: https://crrev.com/2dfafe066c1f16fde58ac93a63c8e6218101e3b2 Cr-Commit-Position: refs/heads/master@{#388376}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplify code, and add GYP 'copies' rule #

Total comments: 1

Patch Set 3 : Remove GYP copies, and copy script and host wrapper to remoting/ build directory #

Total comments: 6

Patch Set 4 : Remove locate_executable() #

Total comments: 6

Patch Set 5 : Address comments and add missing dependency #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -34 lines) Patch
M remoting/host/BUILD.gn View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
M remoting/host/linux/linux_me2me_host.py View 1 2 3 4 5 5 chunks +13 lines, -34 lines 0 comments Download
A remoting/host/linux/remoting_me2me_host_wrapper.sh View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Lambros
4 years, 8 months ago (2016-04-12 18:20:55 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/1885483003/diff/1/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1885483003/diff/1/remoting/host/linux/linux_me2me_host.py#newcode639 remoting/host/linux/linux_me2me_host.py:639: paths_to_try = map(lambda p: os.path.join(SCRIPT_DIR, p), If we expect ...
4 years, 8 months ago (2016-04-12 23:53:20 UTC) #5
Lambros
ptal https://codereview.chromium.org/1885483003/diff/1/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1885483003/diff/1/remoting/host/linux/linux_me2me_host.py#newcode639 remoting/host/linux/linux_me2me_host.py:639: paths_to_try = map(lambda p: os.path.join(SCRIPT_DIR, p), On 2016/04/12 ...
4 years, 8 months ago (2016-04-14 18:12:58 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/1885483003/diff/20001/remoting/host/BUILD.gn File remoting/host/BUILD.gn (right): https://codereview.chromium.org/1885483003/diff/20001/remoting/host/BUILD.gn#newcode858 remoting/host/BUILD.gn:858: "$root_build_dir/run_me2me_host", It's confusing to use 3 different name for ...
4 years, 8 months ago (2016-04-14 23:49:06 UTC) #7
Lambros
On 2016/04/14 23:49:06, Sergey Ulanov wrote: > https://codereview.chromium.org/1885483003/diff/20001/remoting/host/BUILD.gn > File remoting/host/BUILD.gn (right): > > https://codereview.chromium.org/1885483003/diff/20001/remoting/host/BUILD.gn#newcode858 ...
4 years, 8 months ago (2016-04-16 01:54:54 UTC) #8
Sergey Ulanov
On 2016/04/16 01:54:54, Lambros wrote: > On 2016/04/14 23:49:06, Sergey Ulanov wrote: > > https://codereview.chromium.org/1885483003/diff/20001/remoting/host/BUILD.gn ...
4 years, 8 months ago (2016-04-18 20:44:08 UTC) #9
Sergey Ulanov
One issue here is that we copy or move the binary it will not work ...
4 years, 8 months ago (2016-04-18 20:50:32 UTC) #10
Lambros
ptal at patch #3 This undoes the GYP changes (I don't think we care about ...
4 years, 8 months ago (2016-04-18 22:32:33 UTC) #12
Sergey Ulanov
https://codereview.chromium.org/1885483003/diff/40001/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1885483003/diff/40001/remoting/host/linux/linux_me2me_host.py#newcode104 remoting/host/linux/linux_me2me_host.py:104: if not os.path.exists(xvfb): merge this check with the one ...
4 years, 8 months ago (2016-04-18 22:48:01 UTC) #13
Lambros
ptal https://codereview.chromium.org/1885483003/diff/40001/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1885483003/diff/40001/remoting/host/linux/linux_me2me_host.py#newcode104 remoting/host/linux/linux_me2me_host.py:104: if not os.path.exists(xvfb): On 2016/04/18 22:48:01, Sergey Ulanov ...
4 years, 8 months ago (2016-04-18 23:45:53 UTC) #14
Sergey Ulanov
lgtm after my comments are addressed. https://codereview.chromium.org/1885483003/diff/60001/remoting/host/linux/linux_me2me_host.py File remoting/host/linux/linux_me2me_host.py (right): https://codereview.chromium.org/1885483003/diff/60001/remoting/host/linux/linux_me2me_host.py#newcode110 remoting/host/linux/linux_me2me_host.py:110: add return None ...
4 years, 8 months ago (2016-04-18 23:58:37 UTC) #15
Lambros
Latest patch adds a missing dependency, so the new target triggers re-building the host binary ...
4 years, 8 months ago (2016-04-19 01:51:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885483003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885483003/100001
4 years, 8 months ago (2016-04-19 23:00:15 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-20 00:27:31 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:18:53 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2dfafe066c1f16fde58ac93a63c8e6218101e3b2
Cr-Commit-Position: refs/heads/master@{#388376}

Powered by Google App Engine
This is Rietveld 408576698