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

Issue 14969022: [Android] Warning if Left/Right attributes are used in layout and style xmls. (Closed)

Created:
7 years, 7 months ago by Kibeom Kim (inactive)
Modified:
7 years, 7 months ago
Reviewers:
newt (away)
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[Android] Warning if Left/Right attributes are used in layout and style xmls. Since crbug.com/235118, Left/Right attributes are deprecated in favor of Start/End. So warn if it contains Left/Right. BUG=239606 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199452

Patch Set 1 #

Total comments: 20

Patch Set 2 : fixes based on newt's comments #

Total comments: 10

Patch Set 3 : (newt's comment) a commnet fix and added .value #

Total comments: 1

Patch Set 4 : added missed ".value" again #

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

Messages

Total messages: 10 (0 generated)
Kibeom Kim (inactive)
7 years, 7 months ago (2013-05-10 00:22:10 UTC) #1
Kibeom Kim (inactive)
https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py File build/android/gyp/generate_v14_resources.py (right): https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py#newcode93 build/android/gyp/generate_v14_resources.py:93: WarnDeprecatedAttribute(name, value, 'xxx') oops, 'xxx' to file
7 years, 7 months ago (2013-05-10 00:31:39 UTC) #2
newt (away)
https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py File build/android/gyp/generate_v14_resources.py (right): https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py#newcode30 build/android/gyp/generate_v14_resources.py:30: # Note that we are assumping 'android:' is an ...
7 years, 7 months ago (2013-05-10 01:15:49 UTC) #3
newt (away)
https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py File build/android/gyp/generate_v14_resources.py (right): https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py#newcode67 build/android/gyp/generate_v14_resources.py:67: def WarnDeprecatedAttribute(name, value, file): also: it's better to use ...
7 years, 7 months ago (2013-05-10 01:16:43 UTC) #4
Kibeom Kim (inactive)
https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py File build/android/gyp/generate_v14_resources.py (right): https://codereview.chromium.org/14969022/diff/1/build/android/gyp/generate_v14_resources.py#newcode30 build/android/gyp/generate_v14_resources.py:30: # Note that we are assumping 'android:' is an ...
7 years, 7 months ago (2013-05-10 02:14:27 UTC) #5
newt (away)
a few (somewhat tangential) suggestions. also, be sure to verify that GenerateV14StyleResource() actually works, both ...
7 years, 7 months ago (2013-05-10 06:13:50 UTC) #6
Kibeom Kim (inactive)
Verified by cherry-picking https://codereview.chromium.org/14752024/ https://codereview.chromium.org/14969022/diff/7001/build/android/gyp/generate_v14_resources.py File build/android/gyp/generate_v14_resources.py (right): https://codereview.chromium.org/14969022/diff/7001/build/android/gyp/generate_v14_resources.py#newcode83 build/android/gyp/generate_v14_resources.py:83: If the input_filename is not ...
7 years, 7 months ago (2013-05-10 06:44:26 UTC) #7
newt (away)
1 nit. are you going to use .value after all? :) otherwise, lgtm https://codereview.chromium.org/14969022/diff/7001/build/android/gyp/generate_v14_resources.py File ...
7 years, 7 months ago (2013-05-10 07:06:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/14969022/14002
7 years, 7 months ago (2013-05-10 07:16:08 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 10:49:16 UTC) #10
Message was sent while issue was closed.
Change committed as 199452

Powered by Google App Engine
This is Rietveld 408576698