Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: scripts/slave/recipe_modules/v8/resources/patch_mb_config.py

Issue 2070003002: V8: Let peek-gn use mb to reuse v8-side configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """Script that makes an mb config use gn where it's supposed to use gyp.
7
8 This is used to run gn on all gyp bots as an fyi step.
9 """
10
11 import sys
12
13 with open(sys.argv[1]) as f:
14 with open(sys.argv[2], 'w') as g:
15 g.write(f.read().replace('\'type\': \'gyp\'', '\'type\': \'gn\''))
Michael Achenbach 2016/06/15 14:44:37 Tested this locally with our mb_config.pyl file.
tandrii(chromium) 2016/06/15 15:25:37 imo, usage of "" is justfied here. But whatever.
Michael Achenbach 2016/06/15 15:58:17 ok done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698