Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: build.py

Issue 29753560: Noissue - Make branch 'safari' compatible with #6021 (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/file/75dc7e753910
Patch Set: Created April 16, 2018, 10:14 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
diff --git a/build.py b/build.py
index 8501ed1d2d3ddf6d7f04cb4497c66a08df909fae..427797d9bbb4703735cef4d54e094f1060ec4390 100755
--- a/build.py
+++ b/build.py
@@ -15,4 +15,12 @@ except subprocess.CalledProcessError as e:
print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
import buildtools.build
-buildtools.build.processArgs(BASE_DIR, sys.argv)
+
+args = sys.argv[:]
+if '-t' in args:
+ index_opt = args.index('-t')
+ index_val = index_opt + 1
+ if index_val < len(args):
+ args.insert(1, args.pop(index_opt))
+ args.insert(2, args.pop(index_val))
+buildtools.build.processArgs(BASE_DIR, args)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld