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

Issue 1706363003: Fix javac sometimes not create all outputs with enable_incremental_javac (Closed)

Created:
4 years, 10 months ago by agrieve
Modified:
4 years, 10 months ago
Reviewers:
nyquist
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix javac sometimes not create all outputs with enable_incremental_javac The problem is that sometimes there are .apks that don't have any resources (e.g. test apks), and so there is a javac.py call with a single .srcjar, which has no sources in it. Ninja is expecting the call to create a .jar.pdb file, so just create an empty file to appease it. Without this, running "ninja chrome_public_test_apk" multiple times causes ninja to do the same work over and over again, rather than saying there's no work to do BUG=none Committed: https://crrev.com/891533bc3d53d336c95895de6d780647f46d608f Cr-Commit-Position: refs/heads/master@{#376984}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : missing if #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M build/android/gyp/javac.py View 1 2 2 chunks +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (10 generated)
agrieve
On 2016/02/19 01:19:00, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:nyquist@chromium.org 📦
4 years, 10 months ago (2016-02-19 01:19:14 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706363003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706363003/20001
4 years, 10 months ago (2016-02-19 01:22:50 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/23980) linux_android_rel_ng on ...
4 years, 10 months ago (2016-02-19 01:44:53 UTC) #7
nyquist
lgtm https://codereview.chromium.org/1706363003/diff/20001/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/1706363003/diff/20001/build/android/gyp/javac.py#newcode233 build/android/gyp/javac.py:233: if os.path.exists(pdb_path) and not os.path.getsize(pdb_path): Nit: Should you ...
4 years, 10 months ago (2016-02-19 20:57:12 UTC) #8
agrieve
https://codereview.chromium.org/1706363003/diff/20001/build/android/gyp/javac.py File build/android/gyp/javac.py (right): https://codereview.chromium.org/1706363003/diff/20001/build/android/gyp/javac.py#newcode233 build/android/gyp/javac.py:233: if os.path.exists(pdb_path) and not os.path.getsize(pdb_path): On 2016/02/19 20:57:12, nyquist ...
4 years, 10 months ago (2016-02-23 02:55:21 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706363003/40001
4 years, 10 months ago (2016-02-23 02:56:32 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-23 04:12:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706363003/40001
4 years, 10 months ago (2016-02-23 15:11:42 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-23 15:17:40 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 15:18:32 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/891533bc3d53d336c95895de6d780647f46d608f
Cr-Commit-Position: refs/heads/master@{#376984}

Powered by Google App Engine
This is Rietveld 408576698