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

Issue 16125003: [Android] Generate v14 style resource from values-v17/ not values/. (Closed)

Created:
7 years, 6 months ago by Kibeom Kim (inactive)
Modified:
7 years, 6 months ago
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Generate v14 style resource from values-v17/ not values/. If styles.xml has paddingStart and exists in values/, it will cause crashes on Galaxy Tab&Note because style resources are not overrided by the generated styles.xml (generate_v14_compatible_resources.py), which is to avoid crashes on Galaxy Tab&Note (crbug.com/235118). So make generate_v14_compatible_resource.py use styles.xml under values-v17/ not values/ BUG=243952 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202812

Patch Set 1 #

Patch Set 2 : Removed two unnecessary empty lines. #

Patch Set 3 : Removed an unused import. (import re) #

Total comments: 16

Patch Set 4 : fixed newt's comments #

Total comments: 2

Patch Set 5 : put space after the comma #

Patch Set 6 : put space after another comma #

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

Messages

Total messages: 10 (0 generated)
Kibeom Kim (inactive)
7 years, 6 months ago (2013-05-28 10:20:13 UTC) #1
newt (away)
I think this is a good way to do it. Just some nits. https://codereview.chromium.org/16125003/diff/4001/build/android/gyp/generate_v14_compatible_resources.py File ...
7 years, 6 months ago (2013-05-28 21:08:13 UTC) #2
Kibeom Kim (inactive)
https://codereview.chromium.org/16125003/diff/4001/build/android/gyp/generate_v14_compatible_resources.py File build/android/gyp/generate_v14_compatible_resources.py (right): https://codereview.chromium.org/16125003/diff/4001/build/android/gyp/generate_v14_compatible_resources.py#newcode83 build/android/gyp/generate_v14_compatible_resources.py:83: for style_element in dom.getElementsByTagName('style'): On 2013/05/28 21:08:13, newt wrote: ...
7 years, 6 months ago (2013-05-28 23:15:32 UTC) #3
newt (away)
one nit. otherwise, lgtm https://codereview.chromium.org/16125003/diff/9001/build/android/gyp/generate_v14_compatible_resources.py File build/android/gyp/generate_v14_compatible_resources.py (right): https://codereview.chromium.org/16125003/diff/9001/build/android/gyp/generate_v14_compatible_resources.py#newcode165 build/android/gyp/generate_v14_compatible_resources.py:165: WriteDomToFile(dom,output_v14_filename) space after comma
7 years, 6 months ago (2013-05-28 23:21:08 UTC) #4
Kibeom Kim (inactive)
https://codereview.chromium.org/16125003/diff/9001/build/android/gyp/generate_v14_compatible_resources.py File build/android/gyp/generate_v14_compatible_resources.py (right): https://codereview.chromium.org/16125003/diff/9001/build/android/gyp/generate_v14_compatible_resources.py#newcode165 build/android/gyp/generate_v14_compatible_resources.py:165: WriteDomToFile(dom,output_v14_filename) On 2013/05/28 23:21:09, newt wrote: > space after ...
7 years, 6 months ago (2013-05-28 23:24:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/16125003/14001
7 years, 6 months ago (2013-05-28 23:24:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkimlabs@chromium.org/16125003/29001
7 years, 6 months ago (2013-05-29 01:26:21 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-05-29 01:58:27 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/16125003/29001
7 years, 6 months ago (2013-05-29 02:04:55 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 08:04:54 UTC) #10
Message was sent while issue was closed.
Change committed as 202812

Powered by Google App Engine
This is Rietveld 408576698