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

Issue 1488383002: Port cronet_package GYP target to GN (Closed)

Created:
5 years ago by pkotwicz
Modified:
4 years, 11 months ago
Reviewers:
Dirk Pranke, brettw, mef, agrieve
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Port cronet_package GYP target to GN BUG=462737

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -2 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M build/gn_migration.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/cronet/android/BUILD.gn View 1 2 chunks +171 lines, -0 lines 4 comments Download
M components/cronet/tools/extract_from_jars.py View 2 chunks +8 lines, -0 lines 1 comment Download
M components/cronet/tools/generate_javadoc.py View 2 chunks +8 lines, -1 line 0 comments Download
M components/cronet/tools/jar_src.py View 2 chunks +13 lines, -1 line 0 comments Download
M url/BUILD.gn View 2 chunks +8 lines, -0 lines 2 comments Download

Messages

Total messages: 25 (3 generated)
pkotwicz
Andrew, can you please take a look?
5 years ago (2015-12-02 01:09:17 UTC) #2
agrieve
lgtm https://codereview.chromium.org/1488383002/diff/1/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/1/components/cronet/android/BUILD.gn#newcode457 components/cronet/android/BUILD.gn:457: _extract_cronet_jars_dir = "$root_gen_dir/cronet_jar_extract" nit: since this one is ...
5 years ago (2015-12-02 15:03:14 UTC) #3
pkotwicz
mef@ can you please take a look? https://codereview.chromium.org/1488383002/diff/1/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/1/components/cronet/android/BUILD.gn#newcode457 components/cronet/android/BUILD.gn:457: _extract_cronet_jars_dir = ...
5 years ago (2015-12-10 22:16:08 UTC) #5
mef
On 2015/12/10 22:16:08, pkotwicz wrote: > mef@ can you please take a look? > > ...
5 years ago (2015-12-15 20:18:27 UTC) #6
pkotwicz
A good way of trying this CL out is to compile the cronet_package target with ...
5 years ago (2015-12-15 20:25:39 UTC) #7
pkotwicz
A good way of trying this CL out is to compile the cronet_package target with ...
5 years ago (2015-12-15 20:25:41 UTC) #8
pkotwicz
A good way of trying this CL out is to compile the cronet_package target with ...
5 years ago (2015-12-15 20:26:03 UTC) #9
pkotwicz
A good way of trying this CL out is to compile the cronet_package target with ...
5 years ago (2015-12-15 20:26:04 UTC) #10
pkotwicz
brettw@ for url/ OWNERS dpranke@ for BUILD.gn OWNERS
5 years ago (2015-12-16 16:54:19 UTC) #12
Dirk Pranke
https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn#newcode518 components/cronet/android/BUILD.gn:518: depfile = "$target_gen_dir/$target_name.d" It looks like this script gets ...
5 years ago (2015-12-17 01:52:44 UTC) #13
pkotwicz
https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn#newcode518 components/cronet/android/BUILD.gn:518: depfile = "$target_gen_dir/$target_name.d" jar_src.py is only used by cronet. ...
5 years ago (2015-12-17 16:50:32 UTC) #14
pkotwicz
dpranke@, brettw@ Ping!
5 years ago (2015-12-21 16:05:06 UTC) #15
mef
On 2015/12/21 16:05:06, pkotwicz wrote: > dpranke@, brettw@ Ping! I've tried doing ["gn gen out/gn_rel ...
5 years ago (2015-12-21 20:23:44 UTC) #16
brettw
https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/20001/components/cronet/android/BUILD.gn#newcode463 components/cronet/android/BUILD.gn:463: depfile = "$root_gen_dir/$target_name.d" This should probably go in the ...
5 years ago (2015-12-21 20:25:02 UTC) #17
mef
On 2015/12/21 20:23:44, mef wrote: > On 2015/12/21 16:05:06, pkotwicz wrote: > > dpranke@, brettw@ ...
5 years ago (2015-12-21 20:43:18 UTC) #18
pkotwicz
(3) is because you did a debug build instead of a release build with GN ...
5 years ago (2015-12-22 20:15:35 UTC) #19
pkotwicz
(3) is because you did a debug build instead of a release build with GN ...
5 years ago (2015-12-22 20:16:13 UTC) #20
agrieve
On 2015/12/22 20:16:13, pkotwicz wrote: > (3) is because you did a debug build instead ...
5 years ago (2015-12-22 20:45:16 UTC) #21
mef
On 2015/12/22 20:45:16, agrieve wrote: > On 2015/12/22 20:16:13, pkotwicz wrote: > > (3) is ...
5 years ago (2015-12-22 21:53:12 UTC) #22
Dirk Pranke
The top-level BUILD and //build changes look fine. I defer to brettw and mef otherwise.
5 years ago (2015-12-23 04:03:37 UTC) #23
agrieve
https://codereview.chromium.org/1488383002/diff/20001/url/BUILD.gn File url/BUILD.gn (right): https://codereview.chromium.org/1488383002/diff/20001/url/BUILD.gn#newcode76 url/BUILD.gn:76: DEPRECATED_java_in_dir = "android/java/src" On 2015/12/21 20:25:02, brettw wrote: > ...
4 years, 11 months ago (2015-12-30 20:17:40 UTC) #24
agrieve
4 years, 11 months ago (2015-12-30 20:52:09 UTC) #25
On 2015/12/30 20:17:40, agrieve wrote:
> https://codereview.chromium.org/1488383002/diff/20001/url/BUILD.gn
> File url/BUILD.gn (right):
> 
> https://codereview.chromium.org/1488383002/diff/20001/url/BUILD.gn#newcode76
> url/BUILD.gn:76: DEPRECATED_java_in_dir = "android/java/src"
> On 2015/12/21 20:25:02, brettw wrote:
> > As a higher-level-comment, I'm pretty confused about this variable. It's
> called
> > deprecated but we continue to add it all over the Android build. Something
> > that's deprecated should have a clear alternative so we can stop adding new
> > uses.
> 
> https://code.google.com/p/chromium/issues/detail?id=484854
> 
> tldr - The replacement is java_files, but we don't want to switch to it until
we
> stop having GYP be the primary target (or else people will forget to update
the
> GN version of the rule)

Took this over and addressed all comments:
https://codereview.chromium.org/1553623003/

Powered by Google App Engine
This is Rietveld 408576698