Index: build/android/gyp/util/build_utils.py |
diff --git a/build/android/gyp/util/build_utils.py b/build/android/gyp/util/build_utils.py |
index 3357eba1b578a8cc2cec3685c4145653678f91b1..3a2054789dc5b247da319a92dcf2f170d9a409c7 100644 |
--- a/build/android/gyp/util/build_utils.py |
+++ b/build/android/gyp/util/build_utils.py |
@@ -197,7 +197,7 @@ def ExtractAll(zip_path, path=None, no_clobber=True): |
def DoZip(inputs, output, base_dir): |
with zipfile.ZipFile(output, 'w') as outfile: |
for f in inputs: |
- CheckZipPath(f) |
+ CheckZipPath(os.path.relpath(f, base_dir)) |
outfile.write(f, os.path.relpath(f, base_dir)) |