gn2bp: add back a comment
Comment was deleted during a previous refactoring step. Test: none Change-Id: I1f4d3d1915122bdaed65bfdc0c58e63a1f41d5d3
This commit is contained in:
@@ -691,6 +691,7 @@ class BaseActionSanitizer():
|
|||||||
# TODO: verify if it actually *is* universally applicable.
|
# TODO: verify if it actually *is* universally applicable.
|
||||||
def _sanitize_filepath(self, filepath):
|
def _sanitize_filepath(self, filepath):
|
||||||
# Careful, order matters!
|
# Careful, order matters!
|
||||||
|
# delete all leading ../
|
||||||
filepath = re.sub('^(\.\./)+', '', filepath)
|
filepath = re.sub('^(\.\./)+', '', filepath)
|
||||||
filepath = re.sub('^gen/jni_headers', '$(genDir)', filepath)
|
filepath = re.sub('^gen/jni_headers', '$(genDir)', filepath)
|
||||||
filepath = re.sub('^gen', '$(genDir)', filepath)
|
filepath = re.sub('^gen', '$(genDir)', filepath)
|
||||||
|
|||||||
Reference in New Issue
Block a user