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

Issue 880083004: Change which manifest and resources are passed to lint.py. (Closed)

Created:
5 years, 10 months ago by mikecase (-- gone --)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change what manifest and resources are passed to lint.py. BUG=266140 Committed: https://crrev.com/46a78727a03b9aa652201a41ea12ea1e56790e56 Cr-Commit-Position: refs/heads/master@{#318153}

Patch Set 1 #

Patch Set 2 : Added resource_dir to chrome_java target. #

Total comments: 1

Patch Set 3 : Renamed res_dir to resource_dir in java.gypi. #

Total comments: 2

Patch Set 4 : Made resource_dir not required. Removed GN changes. #

Total comments: 2

Patch Set 5 : Suppressed Overdraw and RtlEnabled. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M build/android/gyp/lint.py View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M build/android/lint/suppressions.xml View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M build/android/lint_action.gypi View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M build/java.gypi View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
aurimas (slooooooooow)
Can we add code to ignore the following lint checks (we disable them in the ...
5 years, 10 months ago (2015-02-05 01:04:23 UTC) #2
aurimas (slooooooooow)
I applied this patch locally, but it does not seem to catch IconDensities rules. To ...
5 years, 10 months ago (2015-02-05 01:26:24 UTC) #3
mikecase (-- gone --)
On 2015/02/05 01:26:24, aurimas wrote: > I applied this patch locally, but it does not ...
5 years, 10 months ago (2015-02-05 18:50:12 UTC) #4
aurimas (slooooooooow)
On 2015/02/05 at 18:50:12, mikecase wrote: > On 2015/02/05 01:26:24, aurimas wrote: > > I ...
5 years, 10 months ago (2015-02-05 18:51:44 UTC) #5
mikecase (-- gone --)
Ok, I added a resource_dir variable to the chrome_java gyp target. Now lint warnings for ...
5 years, 10 months ago (2015-02-05 19:18:23 UTC) #6
mikecase (-- gone --)
Ok, I added a resource_dir variable to the chrome_java gyp target. Now lint warnings for ...
5 years, 10 months ago (2015-02-05 19:18:23 UTC) #7
aurimas (slooooooooow)
+cjhopman for gyp changes. I hope this would not be breaking anything.
5 years, 10 months ago (2015-02-05 19:28:51 UTC) #9
cjhopman
this is great and is something I've long wanted. also, will we be able to ...
5 years, 10 months ago (2015-02-05 19:48:28 UTC) #10
mikecase (-- gone --)
Well, I renamed res_dir to resource_dir in java.gypi and like you said it made lint ...
5 years, 10 months ago (2015-02-11 00:06:41 UTC) #11
cjhopman
On 2015/02/11 00:06:41, mikecase wrote: > Well, I renamed res_dir to resource_dir in java.gypi and ...
5 years, 10 months ago (2015-02-11 02:05:02 UTC) #12
cjhopman
https://codereview.chromium.org/880083004/diff/40001/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/880083004/diff/40001/build/android/gyp/lint.py#newcode168 build/android/gyp/lint.py:168: parser.add_option('--resource-dir', help='Path to resource dir.') I think my slight ...
5 years, 10 months ago (2015-02-11 02:05:10 UTC) #13
mikecase (-- gone --)
Made resource_dir not required and for now I won't make any changes to the GN ...
5 years, 10 months ago (2015-02-11 19:04:24 UTC) #14
aurimas (slooooooooow)
On 2015/02/11 at 19:04:24, mikecase wrote: > Made resource_dir not required and for now I ...
5 years, 10 months ago (2015-02-12 00:40:54 UTC) #15
cjhopman
lgtm
5 years, 10 months ago (2015-02-12 22:27:46 UTC) #16
aurimas (slooooooooow)
https://codereview.chromium.org/880083004/diff/60001/build/android/lint/suppressions.xml File build/android/lint/suppressions.xml (right): https://codereview.chromium.org/880083004/diff/60001/build/android/lint/suppressions.xml#newcode2 build/android/lint/suppressions.xml:2: <lint> We can also suppress Overdraw and RtlEnabled issues.
5 years, 10 months ago (2015-02-12 22:28:30 UTC) #17
aurimas (slooooooooow)
I prefer we do not land this before we have suppressed (and file bugs) or ...
5 years, 10 months ago (2015-02-12 22:44:00 UTC) #18
mikecase (-- gone --)
Ok, I'll hold off on landing this. Next week I'll look into suppressing all the ...
5 years, 10 months ago (2015-02-12 22:48:40 UTC) #20
aurimas (slooooooooow)
You need to rebase this change.
5 years, 10 months ago (2015-02-25 21:39:41 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880083004/80001
5 years, 10 months ago (2015-02-25 21:39:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880083004/100001
5 years, 10 months ago (2015-02-25 21:53:52 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-26 00:09:24 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 00:10:13 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/46a78727a03b9aa652201a41ea12ea1e56790e56
Cr-Commit-Position: refs/heads/master@{#318153}

Powered by Google App Engine
This is Rietveld 408576698