]> git.pld-linux.org Git - packages/chromium-browser.git/blob - remove_bundled_libraries-stale.patch
- pl
[packages/chromium-browser.git] / remove_bundled_libraries-stale.patch
1 --- chromium-browser-31.0.1650.57/build/linux/unbundle/remove_bundled_libraries.py      2013-11-16 22:18:32.618209221 +0200
2 +++ chromium-browser-31.0.1650.57/build/linux/unbundle/remove_bundled_libraries.py      2013-11-16 23:34:12.718095629 +0200
3 @@ -27,6 +27,7 @@
4  
5    parser = optparse.OptionParser()
6    parser.add_option('--do-remove', action='store_true')
7 +  parser.add_option('--do-print', action='store_true')
8  
9    options, args = parser.parse_args(argv)
10  
11 @@ -62,6 +63,8 @@
12  
13        if options.do_remove:
14          # Delete the file - best way to ensure it's not used during build.
15 +        if options.do_print:
16 +            print relpath
17          os.remove(path)
18        else:
19          # By default just print paths that would be removed.
20 @@ -74,7 +77,7 @@
21    for exclusion, used in exclusion_used.iteritems():
22      if not used:
23        print '%s does not exist' % exclusion
24 -      exit_code = 1
25 +      exit_code = 0
26  
27    if not options.do_remove:
28      print ('To actually remove files printed above, please pass ' +
This page took 0.024165 seconds and 3 git commands to generate.