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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/grit/codereview.settings ('k') | tools/grit/grit/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit.py
diff --git a/google_apis/build/check_internal.py b/tools/grit/grit.py
similarity index 54%
copy from google_apis/build/check_internal.py
copy to tools/grit/grit.py
index da0ddae8052acda9ea4d3179e4216e0888eaf6b0..b17ceb9280bcbcf70a650f6e86c432a3b6c85ee1 100755
--- a/google_apis/build/check_internal.py
+++ b/tools/grit/grit.py
@@ -3,18 +3,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""google_api's auto-internal gyp integration.
+'''Bootstrapping for GRIT.
+'''
-Takes one argument, a path. Prints 1 if the path exists, 0 if not.
-"""
-
-
-import os
import sys
+import grit.grit_runner
+
if __name__ == '__main__':
- if os.path.exists(sys.argv[1]):
- print 1
- else:
- print 0
+ grit.grit_runner.Main(sys.argv[1:])
+
« 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