Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: tools_webrtc/ios/build_ios_libs.py

Issue 3011613002: License generation script for build_aar.py. (Closed)
Patch Set: License generation script for build_aar.py Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools_webrtc/ios/build_ios_libs.py
diff --git a/tools_webrtc/ios/build_ios_libs.py b/tools_webrtc/ios/build_ios_libs.py
index 98a2407da2d24fd3c83b76c61bffc7ef939760ab..7dae601756896d777adaa313da1235cec4d74b5c 100755
--- a/tools_webrtc/ios/build_ios_libs.py
+++ b/tools_webrtc/ios/build_ios_libs.py
@@ -224,11 +224,11 @@ def main():
_RunCommand(cmd)
# Generate the license file.
- license_script_path = os.path.join(SCRIPT_DIR, 'generate_licenses.py')
+ license_script_path = os.path.join(SCRIPT_DIR, '..', 'generate_licenses.py')
ninja_dirs = [os.path.join(args.output_dir, arch + '_libs')
for arch in architectures]
gn_target_full_name = '//webrtc/sdk:' + gn_target_name
- cmd = [sys.executable, license_script_path, gn_target_full_name,
+ cmd = [sys.executable, license_script_path, '--target', gn_target_full_name,
os.path.join(args.output_dir, SDK_FRAMEWORK_NAME)] + ninja_dirs
_RunCommand(cmd)

Powered by Google App Engine
This is Rietveld 408576698