diff --git a/tools_webrtc/android/build_aar.py b/tools_webrtc/android/build_aar.py index 047be7b0a2..9fc4bb0f39 100755 --- a/tools_webrtc/android/build_aar.py +++ b/tools_webrtc/android/build_aar.py @@ -54,9 +54,11 @@ def _ParseArgs(): parser = argparse.ArgumentParser(description='libwebrtc.aar generator.') parser.add_argument( '--build-dir', + type=os.path.abspath, help='Build dir. By default will create and use temporary dir.') parser.add_argument('--output', default='libwebrtc.aar', + type=os.path.abspath, help='Output file of the script.') parser.add_argument( '--arch', diff --git a/tools_webrtc/ios/build_ios_libs.py b/tools_webrtc/ios/build_ios_libs.py index 65ad6d3f5e..3be0eb1975 100755 --- a/tools_webrtc/ios/build_ios_libs.py +++ b/tools_webrtc/ios/build_ios_libs.py @@ -67,6 +67,7 @@ def _ParseArgs(): parser.add_argument( '-o', '--output-dir', + type=os.path.abspath, default=SDK_OUTPUT_DIR, help='Specifies a directory to output the build artifacts to. ' 'If specified together with -c, deletes the dir.')