summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/compiler-override/my_nm.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/compiler-override/my_nm.py')
-rwxr-xr-xthird_party/python/gyp/test/compiler-override/my_nm.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/compiler-override/my_nm.py b/third_party/python/gyp/test/compiler-override/my_nm.py
new file mode 100755
index 0000000000..2c4e678110
--- /dev/null
+++ b/third_party/python/gyp/test/compiler-override/my_nm.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+# Copyright (c) 2014 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+from __future__ import print_function
+import sys
+print(sys.argv)
+with open('RAN_MY_NM', 'w') as f:
+ f.write('RAN_MY_NM')