ci: pass GN_EXTRA_ARGS to the ffmpeg build

Both Electron and ffmpeg should have
the same value of the `target_cpu` build flag.
This commit is contained in:
Aleksei Kuzmin 2018-09-03 12:33:23 +02:00
Родитель 57a4d86669
Коммит b16bf6a95d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -25,7 +25,7 @@ build_script:
- cd src
- gn gen out/Default "--args=import(\"//electron/build/args/%GN_CONFIG%.gn\") %GN_EXTRA_ARGS%"
- ninja -C out/Default electron:electron_app
- gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\")"
- gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\") %GN_EXTRA_ARGS%"
- ninja -C out/ffmpeg third_party/ffmpeg
- ninja -C out/Default electron:electron_dist_zip
test_script: