|
|
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. |
DescriptionFix 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 #
Depends on Patchset: Messages
Total messages: 20 (10 generated)
Description was changed from ========== 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 ========== to ========== 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 ==========
agrieve@chromium.org changed reviewers: + nyquist@chromium.org
On 2016/02/19 01:19:00, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:nyquist@chromium.org 📦
The CQ bit was checked by agrieve@chromium.org to run a CQ dry run
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
The CQ bit was unchecked by commit-bot@chromium.org
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_arm6...) linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
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... build/android/gyp/javac.py:233: if os.path.exists(pdb_path) and not os.path.getsize(pdb_path): Nit: Should you add if options.incremental here? Otherwise, I don't think |pdb_path| would necessarily be set at this point.
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... 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 wrote: > Nit: Should you add if options.incremental here? Otherwise, I don't think > |pdb_path| would necessarily be set at this point. The bots agree with you! Done.
The CQ bit was checked by agrieve@chromium.org to run a CQ dry run
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
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by agrieve@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nyquist@chromium.org Link to the patchset: https://codereview.chromium.org/1706363003/#ps40001 (title: "missing if")
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
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/891533bc3d53d336c95895de6d780647f46d608f Cr-Commit-Position: refs/heads/master@{#376984} |