summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-04-04 12:01:27 -0700
committerElliott Hughes <enh@google.com>2012-04-04 12:01:27 -0700
commitef67aec56cfc8b43239027f8ddc331162eb103a1 (patch)
tree9157685396253f815cf130124af3d1887bc61be8 /tools
parent899214c7b94b2f21d2fee2b77e2482ea6b18c0d1 (diff)
downloadart-ef67aec56cfc8b43239027f8ddc331162eb103a1.zip
art-ef67aec56cfc8b43239027f8ddc331162eb103a1.tar.gz
art-ef67aec56cfc8b43239027f8ddc331162eb103a1.tar.bz2
Fix the operator<< generation to work with "mmm" as well as "mm".
Change-Id: I457a74f1be68debfd351c63f282c3579c6becda2
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate-operator-out.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/generate-operator-out.py b/tools/generate-operator-out.py
index b1d102e..ca7df1e 100755
--- a/tools/generate-operator-out.py
+++ b/tools/generate-operator-out.py
@@ -123,6 +123,9 @@ def main():
print
for header_file in header_files:
+ # Make gives us paths relative to the top of the tree, but our -I is art/.
+ # We also have -I art/src/, but icu4c is higher on the include path and has a "mutex.h" too.
+ header_file = header_file.replace('art/', '')
print '#include "%s"' % header_file
print