kkimlabs@chromium.org
198e305912
[Android] Skip generating v14 resources if already a version is specified.
...
If a version is already specified for resources, (e.g., layout-v20/), it shouldn't
be generating v14 compatible resource from it, because it's an explicit intention
to apply only to that version. The exception is for style resources due to the reason
explained at here https://codereview.chromium.org/16125003/ .
BUG=247049
Review URL: https://chromiumcodereview.appspot.com/15907024
git-svn-id: http://src.chromium.org/svn/trunk/src/build@204910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-07 20:28:51 +00:00
kkimlabs@chromium.org
321aafd7a8
[Android] Raise a compile time error if style resource is under values/
...
Using paddingStart in style resource under values/ will cause crashes
on certain devices (crbug.com/243794). So Raise an error at compile time
if style resource exists under values/.
BUG=243952
Review URL: https://chromiumcodereview.appspot.com/16238002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@203229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-30 21:38:59 +00:00
kkimlabs@chromium.org
79904c8a49
[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
Review URL: https://chromiumcodereview.appspot.com/16125003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@202812 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-29 08:04:51 +00:00
kkimlabs@chromium.org
557496ab19
[Android] Auto-generate only necessary v14 resources.
...
V14 Resource auto-generation was introduced by crbug.com/235118.
However, some resources doesn't use v17 attributes, so we don't
need to generate for all resources.
BUG=239742
Review URL: https://chromiumcodereview.appspot.com/14812015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@199564 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-10 23:11:34 +00:00