| Index: build/android/gyp/write_ordered_libraries.py
|
| diff --git a/build/android/gyp/write_ordered_libraries.py b/build/android/gyp/write_ordered_libraries.py
|
| index 954f12daef22518220be78874eaa7112972e695f..b361bc3616b8e131b21d20c9b6047c8545434af0 100755
|
| --- a/build/android/gyp/write_ordered_libraries.py
|
| +++ b/build/android/gyp/write_ordered_libraries.py
|
| @@ -96,6 +96,7 @@ def GetSortedTransitiveDependenciesForBinaries(binaries):
|
|
|
| def main():
|
| parser = optparse.OptionParser()
|
| + build_utils.AddDepfileOption(parser)
|
|
|
| parser.add_option('--input-libraries',
|
| help='A list of top-level input libraries.')
|
| @@ -126,6 +127,12 @@ def main():
|
| if options.stamp:
|
| build_utils.Touch(options.stamp)
|
|
|
| + if options.depfile:
|
| + print libraries
|
| + build_utils.WriteDepfile(
|
| + options.depfile,
|
| + libraries + build_utils.GetPythonDependencies())
|
| +
|
|
|
| if __name__ == '__main__':
|
| sys.exit(main())
|
|
|