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

Side by Side Diff: tools/grit/grit.py

Issue 1410853008: Move grit from DEPS into src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: webview licenses Created 5 years, 1 month 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
« no previous file with comments | « tools/grit/codereview.settings ('k') | tools/grit/grit/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """google_api's auto-internal gyp integration. 6 '''Bootstrapping for GRIT.
7 '''
7 8
8 Takes one argument, a path. Prints 1 if the path exists, 0 if not. 9 import sys
9 """
10 10
11 11 import grit.grit_runner
12 import os
13 import sys
14 12
15 13
16 if __name__ == '__main__': 14 if __name__ == '__main__':
17 if os.path.exists(sys.argv[1]): 15 grit.grit_runner.Main(sys.argv[1:])
18 print 1 16
19 else:
20 print 0
OLDNEW
« no previous file with comments | « tools/grit/codereview.settings ('k') | tools/grit/grit/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698