Skip to content

Commit

Permalink
devops: fix chromium-win build (#5378)
Browse files Browse the repository at this point in the history
- add missing build targets
- do not copy *.pdb files in folders
  • Loading branch information
aslushnikov authored Feb 9, 2021
1 parent 1efcf44 commit d5a51a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion browser_patches/chromium/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ compile_chromium() {
"nacl_irt_x86_64.nexe"
"notification_helper.exe"
"resources.pak"
"swiftshader"
"swiftshader/libEGL.dll"
"swiftshader/libGLESv2.dll"
"v8_context_snapshot.bin"
)
else
Expand Down Expand Up @@ -202,6 +203,7 @@ EOF
COPY_COMMAND="ditto"
fi
for file in ${CHROMIUM_FILES_TO_ARCHIVE[@]}; do
mkdir -p "output/${CHROMIUM_FOLDER_NAME}/$(dirname $file)"
$COPY_COMMAND "${CR_CHECKOUT_PATH}/src/out/Default/${file}" "output/${CHROMIUM_FOLDER_NAME}/${file}"
done
if [[ $1 == "--compile-win"* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion browser_patches/chromium/buildwin.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CALL gn gen out/Default
CALL autoninja -C out/Default chrome
CALL autoninja -C out/Default chrome eventlog_provider
2 changes: 1 addition & 1 deletion browser_patches/chromium/buildwingoma.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CALL gn gen out/Default
CALL ninja -j 200 -C out/Default chrome
CALL ninja -j 200 -C out/Default chrome eventlog_provider

0 comments on commit d5a51a2

Please sign in to comment.