| Index: build/android/gyp/package_resources.py
|
| diff --git a/build/android/gyp/package_resources.py b/build/android/gyp/package_resources.py
|
| index 7a7e16ce39b0cc1f97658bec4a1be3996238c16e..47048692a53c3a0d70d6132cccae2c6ed50c81f0 100755
|
| --- a/build/android/gyp/package_resources.py
|
| +++ b/build/android/gyp/package_resources.py
|
| @@ -26,6 +26,7 @@ def ParseArgs():
|
| An options object as from optparse.OptionsParser.parse_args()
|
| """
|
| parser = optparse.OptionParser()
|
| + build_utils.AddDepfileOption(parser)
|
| parser.add_option('--android-sdk', help='path to the Android SDK folder')
|
| parser.add_option('--android-sdk-tools',
|
| help='path to the Android SDK build tools folder')
|
| @@ -122,6 +123,11 @@ def main():
|
| build_utils.CheckOutput(
|
| package_command, print_stdout=False, print_stderr=False)
|
|
|
| + if options.depfile:
|
| + build_utils.WriteDepfile(
|
| + options.depfile,
|
| + build_utils.GetPythonDependencies())
|
| +
|
|
|
| if __name__ == '__main__':
|
| main()
|
|
|