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

Issue 958773002: Fix stale mojom-generated Java problems with gyp builds (Closed)

Created:
5 years, 10 months ago by Ken Rockot(use gerrit already)
Modified:
5 years, 10 months ago
Reviewers:
cjhopman, jamesr
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix stale mojom-generated Java problems with gyp builds This causes any gyp targets which use the mojom bindings generator to regenerate all outputs when any of the input mojom files have changed. In such cases, the Java output directory is first wiped out. This avoids problems with stale mojom-generated Java files hanging around and being compiled by build/android/javac.py, which tries to build everything in its generated sources location. BUG=461622 Committed: https://crrev.com/99b81f3496f7e5f9badf9504904da20545823d30 Cr-Commit-Position: refs/heads/master@{#318190}

Patch Set 1 #

Patch Set 2 : fix comment #

Patch Set 3 : derp #

Total comments: 4

Patch Set 4 : fix direct_dependent_settings #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : actually set additional_input_paths correctly -_- #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
A build/rmdir_and_stamp.py View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M third_party/mojo/mojom_bindings_generator.gypi View 1 2 3 4 5 3 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Ken Rockot(use gerrit already)
Guys, here's my somewhat hacky solution (I mean... rmdir_and_stamp... really?) for the gyp problem of ...
5 years, 10 months ago (2015-02-26 01:34:54 UTC) #2
cjhopman
Yeah, this is probably about as good as it gets in gyp. https://codereview.chromium.org/958773002/diff/40001/third_party/mojo/mojom_bindings_generator.gypi File third_party/mojo/mojom_bindings_generator.gypi ...
5 years, 10 months ago (2015-02-26 02:15:37 UTC) #3
Ken Rockot(use gerrit already)
https://codereview.chromium.org/958773002/diff/40001/third_party/mojo/mojom_bindings_generator.gypi File third_party/mojo/mojom_bindings_generator.gypi (right): https://codereview.chromium.org/958773002/diff/40001/third_party/mojo/mojom_bindings_generator.gypi#newcode15 third_party/mojo/mojom_bindings_generator.gypi:15: 'action_name': '<(_target_name)_mojom_bindings_stamp', On 2015/02/26 02:15:36, cjhopman wrote: > this ...
5 years, 10 months ago (2015-02-26 02:36:16 UTC) #4
cjhopman
lgtm https://codereview.chromium.org/958773002/diff/60001/third_party/mojo/mojom_bindings_generator.gypi File third_party/mojo/mojom_bindings_generator.gypi (right): https://codereview.chromium.org/958773002/diff/60001/third_party/mojo/mojom_bindings_generator.gypi#newcode83 third_party/mojo/mojom_bindings_generator.gypi:83: 'additional_input_paths': [ this needs to go in the ...
5 years, 10 months ago (2015-02-26 02:38:39 UTC) #5
Ken Rockot(use gerrit already)
fixed. thanks!
5 years, 10 months ago (2015-02-26 02:46:10 UTC) #6
jamesr
rslgtm
5 years, 10 months ago (2015-02-26 03:05:04 UTC) #7
jamesr
rslgtm
5 years, 10 months ago (2015-02-26 03:05:09 UTC) #8
jamesr
On 2015/02/26 03:05:09, jamesr wrote: > rslgtm rs lgtm (Is that the magic?)
5 years, 10 months ago (2015-02-26 03:06:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958773002/100001
5 years, 10 months ago (2015-02-26 03:31:44 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-26 05:20:42 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 05:21:09 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/99b81f3496f7e5f9badf9504904da20545823d30
Cr-Commit-Position: refs/heads/master@{#318190}

Powered by Google App Engine
This is Rietveld 408576698