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

Issue 2051913002: [Third Party] Add Robolectric 3.0 build files. (Closed)

Created:
4 years, 6 months ago by mikecase (-- gone --)
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Third Party] Add Robolectric 3.0 build files. BUG=522043 Committed: https://crrev.com/1153087482a5a26e662dc4afce662960cae8b15e Cr-Commit-Position: refs/heads/master@{#407620}

Patch Set 1 #

Patch Set 2 : Add Shadows-Multidex to build. Adding robolectric-version.properties to Jar. #

Patch Set 3 : [Third Party] Add Robolectric 3.0 build files. #

Total comments: 2

Patch Set 4 : Updated! #

Total comments: 5

Patch Set 5 : [Third Party] Add Robolectric 3.0 build files. #

Patch Set 6 : Use get_path_info to generate template file names. #

Total comments: 2

Patch Set 7 : Make some variables final. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+825 lines, -12 lines) Patch
M .gitignore View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M DEPS View 1 2 3 4 2 chunks +12 lines, -2 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/guava/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/hamcrest/BUILD.gn View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/robolectric/BUILD.gn View 1 2 3 4 5 2 chunks +604 lines, -0 lines 0 comments Download
M third_party/robolectric/README.chromium View 1 2 3 4 1 chunk +9 lines, -5 lines 0 comments Download
A third_party/robolectric/lib/android-all-4.3_r2-robolectric-0.jar.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/robolectric/lib/android-all-5.0.0_r2-robolectric-1.jar.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/robolectric/lib/json-20080701.jar.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/robolectric/lib/robolectric-2.4-jar-with-dependencies.jar.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/robolectric/lib/tagsoup-1.2.jar.sha1 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessRobolectricTemplate.java View 1 2 3 4 5 6 1 chunk +88 lines, -0 lines 0 comments Download
A third_party/robolectric/template_processor/src/org/chromium/testing/robolectric/template/ProcessTemplateArgParser.java View 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (7 generated)
mikecase (-- gone --)
Adding you guys in case you have any input. Only really difficult thing to build ...
4 years, 6 months ago (2016-06-09 18:51:29 UTC) #2
mikecase (-- gone --)
On 2016/06/09 at 18:51:29, mikecase wrote: > Adding you guys in case you have any ...
4 years, 6 months ago (2016-06-09 18:52:36 UTC) #3
mikecase (-- gone --)
Added sha1 files for the jars specific to Robolectric that we need to pull in. ...
4 years, 5 months ago (2016-06-28 23:15:20 UTC) #4
jbudorick
lgtm https://codereview.chromium.org/2051913002/diff/40001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/40001/third_party/robolectric/BUILD.gn#newcode372 third_party/robolectric/BUILD.gn:372: script = "$root_build_dir/bin/robolectric_template_processor" This is both neat and ...
4 years, 5 months ago (2016-06-29 09:49:09 UTC) #5
mikecase (-- gone --)
Updated. PTAL robolectric_3_java target builds! However, not used by anything at the moment. Updates include... ...
4 years, 5 months ago (2016-07-21 18:16:15 UTC) #6
mikecase (-- gone --)
On 2016/07/21 at 18:16:15, mikecase wrote: > Updated. PTAL > > robolectric_3_java target builds! However, ...
4 years, 5 months ago (2016-07-21 18:17:19 UTC) #7
mikecase (-- gone --)
ping, PTAL and tell me if this still looks good. Previous comment lists what changed ...
4 years, 5 months ago (2016-07-25 16:43:39 UTC) #8
jbudorick
https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn#newcode314 third_party/robolectric/BUILD.gn:314: processed_template_files = [ Are these all a function of ...
4 years, 5 months ago (2016-07-25 17:21:56 UTC) #9
mikecase (-- gone --)
https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn#newcode314 third_party/robolectric/BUILD.gn:314: processed_template_files = [ On 2016/07/25 at 17:21:55, jbudorick wrote: ...
4 years, 5 months ago (2016-07-25 17:50:24 UTC) #10
jbudorick
https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/60001/third_party/robolectric/BUILD.gn#newcode314 third_party/robolectric/BUILD.gn:314: processed_template_files = [ On 2016/07/25 17:50:24, mikecase wrote: > ...
4 years, 5 months ago (2016-07-25 18:07:40 UTC) #11
mikecase (-- gone --)
https://codereview.chromium.org/2051913002/diff/100001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/100001/third_party/robolectric/BUILD.gn#newcode319 third_party/robolectric/BUILD.gn:319: } Done! Didnt know about this get_path_info magic.
4 years, 5 months ago (2016-07-25 19:55:58 UTC) #12
jbudorick
lgtm w/ q https://codereview.chromium.org/2051913002/diff/100001/third_party/robolectric/BUILD.gn File third_party/robolectric/BUILD.gn (right): https://codereview.chromium.org/2051913002/diff/100001/third_party/robolectric/BUILD.gn#newcode319 third_party/robolectric/BUILD.gn:319: } On 2016/07/25 19:55:58, mikecase wrote: ...
4 years, 5 months ago (2016-07-25 20:01:05 UTC) #13
mikecase (-- gone --)
On 2016/07/25 at 20:01:05, jbudorick wrote: > lgtm w/ q > > https://codereview.chromium.org/2051913002/diff/100001/third_party/robolectric/BUILD.gn > File ...
4 years, 5 months ago (2016-07-25 20:03:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2051913002/100001
4 years, 5 months ago (2016-07-25 20:08:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/101461)
4 years, 5 months ago (2016-07-25 20:53:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2051913002/120001
4 years, 5 months ago (2016-07-25 21:10:32 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 5 months ago (2016-07-25 22:54:40 UTC) #22
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/1153087482a5a26e662dc4afce662960cae8b15e Cr-Commit-Position: refs/heads/master@{#407620}
4 years, 5 months ago (2016-07-25 22:55:58 UTC) #24
ehmaldonado_chromium
I think this CL causes WebRTC to break when we roll the chromium revision (https://codereview.webrtc.org/2186543002/), ...
4 years, 4 months ago (2016-07-27 08:13:32 UTC) #25
mikecase (-- gone --)
On 2016/07/27 at 08:13:32, ehmaldonado wrote: > I think this CL causes WebRTC to break ...
4 years, 4 months ago (2016-07-27 15:19:01 UTC) #26
mikecase (-- gone --)
On 2016/07/27 at 15:19:01, mikecase wrote: > On 2016/07/27 at 08:13:32, ehmaldonado wrote: > > ...
4 years, 4 months ago (2016-07-27 16:29:35 UTC) #27
phoglund_chromium
Ok, we've fixed one problem by setting up the links, on to the next one: ...
4 years, 4 months ago (2016-07-28 10:27:17 UTC) #29
phoglund_chromium
We still use gyp for WebRTC so you probably need to port your gn changes ...
4 years, 4 months ago (2016-07-28 10:31:56 UTC) #30
jbudorick
On 2016/07/28 10:31:56, phoglund_chrome wrote: > We still use gyp for WebRTC so you probably ...
4 years, 4 months ago (2016-07-28 12:55:13 UTC) #31
phoglund_chromium
On 2016/07/28 12:55:13, jbudorick wrote: > On 2016/07/28 10:31:56, phoglund_chrome wrote: > > We still ...
4 years, 4 months ago (2016-07-28 13:01:41 UTC) #32
jbudorick
On 2016/07/28 13:01:41, phoglund_chrome wrote: > On 2016/07/28 12:55:13, jbudorick wrote: > > On 2016/07/28 ...
4 years, 4 months ago (2016-07-28 13:03:59 UTC) #33
jbudorick
On 2016/07/28 13:03:59, jbudorick wrote: > On 2016/07/28 13:01:41, phoglund_chrome wrote: > > On 2016/07/28 ...
4 years, 4 months ago (2016-07-28 16:17:12 UTC) #34
phoglund_chromium
> On a somewhat more serious note: I'd strongly prefer that we not make further ...
4 years, 4 months ago (2016-07-28 16:22:32 UTC) #35
phoglund_chromium
On 2016/07/28 16:22:32, phoglund_chrome wrote: > > On a somewhat more serious note: I'd strongly ...
4 years, 4 months ago (2016-07-29 13:05:13 UTC) #36
jbudorick
4 years, 4 months ago (2016-07-29 14:27:30 UTC) #37
Message was sent while issue was closed.
On 2016/07/29 13:05:13, phoglund_chrome_OOO_sep_05 wrote:
> On 2016/07/28 16:22:32, phoglund_chrome wrote:
> > > On a somewhat more serious note: I'd strongly prefer that we not make
> further
> > > gyp changes in chromium. I'll be happy to work w/ kjellander to get WebRTC
> > > switched over to gn upon his return.
> > > 
> > 
> > Sure. He's back on Monday. Meanwhile, I've tasked people to grind out as
many
> > of the missing GN targets as possible so we can switch.
> > 
> > Any chance we can get some throwaway gyp code in until then? Feels like it's
> > an unknown amount of work until the switch is complete, and we can't keep
the
> > project healthy if we can't roll chromium into WebRTC.
> 
> I'm going on vacation now so talk to kjellander@ about this. It's really
> unacceptable
> that we're staying in this broken state, so please consider adding at least
some
> workaround while we scramble to get on GN. If you can't do that, maybe we
should
> disable our Android GN bots for now (but that would be bad timing since we'll
> work
> a lot on GN now).

I think a gyp workaround is out of the question. We deprecated chromium's
Android gyp build almost three months ago:
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/9FLgT0LPfQ8/Ze94q...

I'll talk to kjellander about this next week.

Powered by Google App Engine
This is Rietveld 408576698