[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
This commit is contained in:
kkimlabs@chromium.org 2013-05-30 21:38:59 +00:00
Родитель 81bdfd0221
Коммит 321aafd7a8
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -267,10 +267,7 @@ def main(argv):
output_qualifiers))
GenerateV14StyleResourcesInDir(input_dir, output_v14_dir)
else:
# TODO(kkimlabs): uncomment the below line and remove 'pass' once the
# downstream fix (https://gerrit-int.chromium.org/#/c/38786/) is landed.
# ErrorIfStyleResourceExistsInDir(input_dir)
pass
ErrorIfStyleResourceExistsInDir(input_dir)
if options.stamp:
build_utils.Touch(options.stamp)