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

Issue 677483004: Add GN rules for forwarder2 and chromium_commands (Closed)

Created:
6 years, 2 months ago by jamesr
Modified:
6 years ago
Reviewers:
cjhopman, jbudorick, qsr
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add GN rules for forwarder2 and chromium_commands These targets produce helpers used for running tests on android. R=cjhopman@chromium.org

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : configurate dex path, add dist for forwarder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -8 lines) Patch
A build/android/pylib/device/commands/BUILD.gn View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M build/android/pylib/device/commands/commands.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M build/config/android/rules.gni View 1 2 3 chunks +7 lines, -1 line 0 comments Download
A + tools/android/common/BUILD.gn View 1 chunk +13 lines, -6 lines 0 comments Download
M tools/android/common/adb_connection.cc View 1 chunk +0 lines, -1 line 0 comments Download
M tools/android/common/common.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A tools/android/forwarder2/BUILD.gn View 1 2 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
jamesr
https://codereview.chromium.org/677483004/diff/20001/build/android/pylib/device/commands/BUILD.gn File build/android/pylib/device/commands/BUILD.gn (right): https://codereview.chromium.org/677483004/diff/20001/build/android/pylib/device/commands/BUILD.gn#newcode9 build/android/pylib/device/commands/BUILD.gn:9: android_library("chromium_commands") { i want to end up with $OUT/lib.java/chromium_commands.dex.jar, ...
6 years, 2 months ago (2014-10-24 00:21:44 UTC) #1
cjhopman
https://codereview.chromium.org/677483004/diff/20001/build/android/pylib/device/commands/BUILD.gn File build/android/pylib/device/commands/BUILD.gn (right): https://codereview.chromium.org/677483004/diff/20001/build/android/pylib/device/commands/BUILD.gn#newcode9 build/android/pylib/device/commands/BUILD.gn:9: android_library("chromium_commands") { On 2014/10/24 00:21:44, jamesr wrote: > i ...
6 years, 2 months ago (2014-10-24 01:23:35 UTC) #2
jamesr
Thanks, PTAL. jbudorick - PTAL for owners on build/android/pylib/device. Why is there such heavy use ...
6 years, 2 months ago (2014-10-24 05:36:33 UTC) #4
jbudorick
b/a/pylib/device lgtm We use noparent because build/OWNERS is *, which we didn't want in here. ...
6 years, 2 months ago (2014-10-24 14:00:08 UTC) #5
qsr
6 years, 1 month ago (2014-10-31 08:55:40 UTC) #7
James, I have a CL that does mostly the same thing here:
https://chromiumcodereview.appspot.com/684133002/

You can choose to continue this one, or get with mine, but you are missing a few
thing here:

1) Android binary must be compiled with -fPIE -pie. What we are building right
now doesn't run on device at all.
2) The host_forwarder will be in ${root_dir}/clang_x64/ where script do not
expect it. So you will probably want to copy it
3) All the tooling code is in fact chromium code and should be fixed instead of
using not chromium code.

Powered by Google App Engine
This is Rietveld 408576698