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

Unified Diff: mojo/public/tools/bindings/mojom_list_outputs.py

Issue 2321803002: Deletes remaining traces of gyp in services/ and mojo/ (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/test_support/BUILD.gn ('k') | mojo/public/tools/prepend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/mojom_list_outputs.py
diff --git a/mojo/public/tools/bindings/mojom_list_outputs.py b/mojo/public/tools/bindings/mojom_list_outputs.py
deleted file mode 100755
index 267bd8063476a52cd86b7b76b10842caa09e950e..0000000000000000000000000000000000000000
--- a/mojo/public/tools/bindings/mojom_list_outputs.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import argparse
-import os.path
-import sys
-
-def main():
- parser = argparse.ArgumentParser(
- description="GYP helper script for mapping mojoms => generated outputs.")
- parser.add_argument("--basedir", required=True)
- parser.add_argument("--variant", required=True)
- parser.add_argument("mojom", nargs="*")
-
- args = parser.parse_args()
-
- variant = args.variant if args.variant != "none" else None
-
- for mojom in args.mojom:
- full = os.path.join("<(SHARED_INTERMEDIATE_DIR)", args.basedir, mojom)
- base, ext = os.path.splitext(full)
-
- # Ignore non-mojom files.
- if ext != ".mojom":
- continue
-
- # Fix filename escaping issues on Windows.
- base = base.replace("\\", "/")
- if variant:
- print base + ".mojom-%s.cc" % variant
- print base + ".mojom-%s.h" % variant
- print base + ".mojom-%s-internal.h" % variant
- else:
- print base + ".mojom.cc"
- print base + ".mojom.h"
- print base + ".mojom-internal.h"
- print base + ".mojom.js"
-
- return 0
-
-if __name__ == "__main__":
- sys.exit(main())
« no previous file with comments | « mojo/public/cpp/test_support/BUILD.gn ('k') | mojo/public/tools/prepend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698