Fix generation of v14 resources
commit41f0de1b72419cc400dd5144a102a9fdd5ed6f66
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Jul 2014 01:45:03 +0000 (1 01:45 +0000)
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 1 Jul 2014 01:45:03 +0000 (1 01:45 +0000)
treeccff8afbdc13f287e4b6ace4f85403a59b8bc60c
parentf894cc04c9edfae2f94d3d74584453e98778884b
Fix generation of v14 resources

generate_v14_compatible_resources.GenerateV14Resources was deleting and
recreating the output directory. process_resources was calling that
multiple times and reusing the same output directory (and so it would
only actually get v14 resources for the final directory).

Instead, callers of GenerateV14Resources should handle deleting/creating
the output directory for themselves--this is just
generate_v14_compatible_resources.main and process_resources (which was
already handling this itself).

BUG=383803

Review URL: https://codereview.chromium.org/362543004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280725 0039d316-1c4b-4281-b951-d872f2087c98
build/android/gyp/generate_v14_compatible_resources.py
build/java_apk.gypi