Compare commits
13 Commits
v97.0.4692
...
v99.0.4844
Author | SHA1 | Date | |
---|---|---|---|
|
7d83b64cc9 | ||
|
45dff72f43 | ||
|
cfabccd77f | ||
|
d6bbb56bc3 | ||
|
d184899841 | ||
|
cc085e6ebb | ||
|
0978237d5c | ||
|
94ad7d9a1d | ||
|
f16bbde3d2 | ||
|
7d34ccc024 | ||
|
2390b1c274 | ||
|
33026c916b | ||
|
2c9faf66b3 |
12
.github/workflows/build_bromite_dev.yaml
vendored
12
.github/workflows/build_bromite_dev.yaml
vendored
@@ -81,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
cd bromite-buildtools
|
cd bromite-buildtools
|
||||||
|
|
||||||
- name: Checking build-deps for ${{ env.VERSION }}
|
- name: Building build-deps container ${{ env.VERSION }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
IS_PRESENT=$(docker inspect --type=image uazo/build-deps:$VERSION > /dev/null ; echo $?)
|
IS_PRESENT=$(docker inspect --type=image uazo/build-deps:$VERSION > /dev/null ; echo $?)
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Checking chromium for ${{ env.VERSION }}
|
- name: Building chromium container ${{ env.VERSION }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
IS_PRESENT=$(docker inspect --type=image uazo/chromium:$VERSION > /dev/null ; echo $?)
|
IS_PRESENT=$(docker inspect --type=image uazo/chromium:$VERSION > /dev/null ; echo $?)
|
||||||
@@ -112,7 +112,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Checking bromite for ${{ env.BROMITE_SHA }}
|
- name: Building bromite container ${{ env.BROMITE_SHA }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
IS_PRESENT=$(docker inspect --type=image uazo/bromite:$BROMITE_SHA > /dev/null ; echo $?)
|
IS_PRESENT=$(docker inspect --type=image uazo/bromite:$BROMITE_SHA > /dev/null ; echo $?)
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Checking bromite-build for ${{ env.BROMITE_SHA }}
|
- name: Building bromite-build container ${{ env.BROMITE_SHA }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
IS_PRESENT=$(docker inspect --type=image uazo/bromite-build:$BROMITE_SHA > /dev/null ; echo $?)
|
IS_PRESENT=$(docker inspect --type=image uazo/bromite-build:$BROMITE_SHA > /dev/null ; echo $?)
|
||||||
@@ -250,9 +250,9 @@ jobs:
|
|||||||
|
|
||||||
echo "::group::-------- gn gen"
|
echo "::group::-------- gn gen"
|
||||||
[[ "$USEGOMA" = "true" ]] && \
|
[[ "$USEGOMA" = "true" ]] && \
|
||||||
gn gen --args="import(\"/home/lg/working_dir/bromite/build/GN_ARGS\") use_goma=true goma_dir=\"$WORKSPACE/goma\" $(cat ../../build_args.gni) " out/bromite \
|
gn gen --args="import(\"/home/lg/working_dir/bromite/build/bromite.gn_args\") use_goma=true goma_dir=\"$WORKSPACE/goma\" $(cat ../../build_args.gni) " out/bromite \
|
||||||
|| \
|
|| \
|
||||||
gn gen --args="import(\"/home/lg/working_dir/bromite/build/GN_ARGS\") $(cat ../../build_args.gni) " out/bromite
|
gn gen --args="import(\"/home/lg/working_dir/bromite/build/bromite.gn_args\") $(cat ../../build_args.gni) " out/bromite
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
echo "::group::-------- gn args"
|
echo "::group::-------- gn args"
|
||||||
|
@@ -70,14 +70,13 @@ if [[ DOBUILD -eq 1 ]]; then
|
|||||||
|
|
||||||
DOEXPORT=1
|
DOEXPORT=1
|
||||||
|
|
||||||
fi
|
if [[ OK -eq 1 ]]; then
|
||||||
|
|
||||||
if [[ OK -eq 0 ]]; then
|
|
||||||
if [ -z "$SILENT" ]; then
|
if [ -z "$SILENT" ]; then
|
||||||
echo "Read to add $PATCH. Press return"
|
echo "Read to add $PATCH. Press return"
|
||||||
read -n 1
|
read -n 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ DOEXPORT -eq 1 ]]; then
|
if [[ DOEXPORT -eq 1 ]]; then
|
||||||
until false
|
until false
|
||||||
|
@@ -10,7 +10,7 @@ fi
|
|||||||
|
|
||||||
if [ -z "$2" ]
|
if [ -z "$2" ]
|
||||||
then
|
then
|
||||||
PATCH_NEW_PATH="~/bromite/build/patches-new"
|
PATCH_NEW_PATH=~/bromite/build/patches-new
|
||||||
else
|
else
|
||||||
PATCH_NEW_PATH=$2
|
PATCH_NEW_PATH=$2
|
||||||
fi
|
fi
|
||||||
|
25
export-patch-list.sh
Normal file
25
export-patch-list.sh
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=$(cat ~/bromite/build/RELEASE)
|
||||||
|
CURRENT_RELEASE=$(git -C ~/chromium/src/ rev-parse --verify refs/tags/$VERSION)
|
||||||
|
|
||||||
|
ALLPATCHS_E=$(git -C ~/chromium/src/ rev-list HEAD...$CURRENT_RELEASE)
|
||||||
|
|
||||||
|
mkdir ~/bromite/build/patches-new
|
||||||
|
rm ~/bromite/build/patches-new/patch-list
|
||||||
|
|
||||||
|
NO_NAME=1
|
||||||
|
|
||||||
|
for patch in $ALLPATCHS_E; do
|
||||||
|
|
||||||
|
PATCH_FILE=$(git -C ~/chromium/src/ show -s $patch | grep FILE: | sed 's/FILE://g' | sed 's/^[ \t]*//;s/[ \t]*$//')
|
||||||
|
if [[ "$PATCH_FILE" == *"Automated-domain-substitution"* ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $PATCH_FILE >>~/bromite/build/patches-new/patch-list
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
tac ~/bromite/build/patches-new/patch-list >~/bromite/build/patches-new/zz-patch-list.txt
|
||||||
|
rm ~/bromite/build/patches-new/patch-list
|
@@ -33,8 +33,8 @@ sed -i '/^old mode /d' ~/bromite/build/patches-new/$PATCH_FILE
|
|||||||
sed -i '/^new mode /d' ~/bromite/build/patches-new/$PATCH_FILE
|
sed -i '/^new mode /d' ~/bromite/build/patches-new/$PATCH_FILE
|
||||||
|
|
||||||
echo "--" >> ~/bromite/build/patches-new/$PATCH_FILE
|
echo "--" >> ~/bromite/build/patches-new/$PATCH_FILE
|
||||||
echo "2.20.1" >> ~/bromite/build/patches-new/$PATCH_FILE
|
echo "2.25.1" >> ~/bromite/build/patches-new/$PATCH_FILE
|
||||||
echo "" >> ~/bromite/build/patches-new/$PATCH_FILE
|
#echo "" >> ~/bromite/build/patches-new/$PATCH_FILE
|
||||||
|
|
||||||
echo " done."
|
echo " done."
|
||||||
echo ""
|
echo ""
|
||||||
|
@@ -15,6 +15,7 @@ if(getenv("TARGET_CPU") != "") {
|
|||||||
|
|
||||||
enable_kythe_annotations = true
|
enable_kythe_annotations = true
|
||||||
clang_use_chrome_plugins = false
|
clang_use_chrome_plugins = false
|
||||||
|
chrome_public_manifest_package = "org.bromite.bromite.dev"
|
||||||
|
|
||||||
if(_is_debug_build == "true") {
|
if(_is_debug_build == "true") {
|
||||||
# print("Debug build on")
|
# print("Debug build on")
|
||||||
@@ -24,6 +25,11 @@ if(_is_debug_build == "true") {
|
|||||||
symbol_level = 1
|
symbol_level = 1
|
||||||
strip_debug_info = false
|
strip_debug_info = false
|
||||||
generate_linker_map = false
|
generate_linker_map = false
|
||||||
|
|
||||||
|
# since is_cfi require use_thin_lto
|
||||||
|
# but not work in debug mode
|
||||||
|
is_cfi = false # disable it
|
||||||
|
use_cfi_cast = false # disable it
|
||||||
} else {
|
} else {
|
||||||
generate_linker_map = true
|
generate_linker_map = true
|
||||||
}
|
}
|
||||||
|
@@ -34,8 +34,8 @@ vpython -vpython-spec .vpython -vpython-root $VPYTHON_VIRTUALENV_ROOT -vpython-l
|
|||||||
vpython3 -vpython-spec .vpython3 -vpython-root $VPYTHON_VIRTUALENV_ROOT -vpython-log-level debug -vpython-tool install
|
vpython3 -vpython-spec .vpython3 -vpython-root $VPYTHON_VIRTUALENV_ROOT -vpython-log-level debug -vpython-tool install
|
||||||
|
|
||||||
echo -e ${RED} -------- download x86_64 android image ${NC}
|
echo -e ${RED} -------- download x86_64 android image ${NC}
|
||||||
echo -e "\$ParanoidMode CheckIntegrity\n\nchromium/third_party/android_sdk/public/avds/android-31/google_apis/x86_64 Ur_zl6_BRKRkf_9X3SMZ3eH2auoOyJ2kLslpTZZwi3gC" | .cipd_client ensure -ensure-file - -root $WORKSPACE/chromium/src/.android
|
#echo -e "\$ParanoidMode CheckIntegrity\n\nchromium/third_party/android_sdk/public/avds/android-31/google_apis/x86_64 Ur_zl6_BRKRkf_9X3SMZ3eH2auoOyJ2kLslpTZZwi3gC" | .cipd_client ensure -ensure-file - -root $WORKSPACE/chromium/src/.android
|
||||||
echo -e "\$ParanoidMode CheckIntegrity\n\nchromium/third_party/android_sdk/public/emulator gMHhUuoQRKfxr-MBn3fNNXZtkAVXtOwMwT7kfx8jkIgC\nchromium/third_party/android_sdk/public/system-images/android-31/google_apis/x86_64 R6Jh5_P21Euu-kdb11zcNjdJKN4vV1mdQTb8t4gph4IC" | .cipd_client ensure -ensure-file - -root $WORKSPACE/chromium/src/.emulator_sdk
|
#echo -e "\$ParanoidMode CheckIntegrity\n\nchromium/third_party/android_sdk/public/emulator gMHhUuoQRKfxr-MBn3fNNXZtkAVXtOwMwT7kfx8jkIgC\nchromium/third_party/android_sdk/public/system-images/android-31/google_apis/x86_64 R6Jh5_P21Euu-kdb11zcNjdJKN4vV1mdQTb8t4gph4IC" | .cipd_client ensure -ensure-file - -root $WORKSPACE/chromium/src/.emulator_sdk
|
||||||
|
|
||||||
echo -e ${RED} -------- download kythe resources ${NC}
|
echo -e ${RED} -------- download kythe resources ${NC}
|
||||||
wget https://chromium.googlesource.com/chromium/tools/build/+/main/recipes/recipe_modules/codesearch/resources/add_kythe_metadata.py?format=TEXT -O ~/add_kythe_metadata.py.base64
|
wget https://chromium.googlesource.com/chromium/tools/build/+/main/recipes/recipe_modules/codesearch/resources/add_kythe_metadata.py?format=TEXT -O ~/add_kythe_metadata.py.base64
|
||||||
|
@@ -77,7 +77,7 @@ RUN useradd -m runner \
|
|||||||
|
|
||||||
# Build args
|
# Build args
|
||||||
ARG TARGETPLATFORM=amd64
|
ARG TARGETPLATFORM=amd64
|
||||||
ARG RUNNER_VERSION=2.302.4
|
ARG RUNNER_VERSION=2.302.5
|
||||||
WORKDIR /runner
|
WORKDIR /runner
|
||||||
|
|
||||||
# Runner download supports amd64 as x64
|
# Runner download supports amd64 as x64
|
||||||
|
@@ -48,7 +48,9 @@ echo "Registering runner ${runner_id}"
|
|||||||
--url "${registration_url}" \
|
--url "${registration_url}" \
|
||||||
--allowedauthorslist "${ALLOWEDAUTHORSLIST}" \
|
--allowedauthorslist "${ALLOWEDAUTHORSLIST}" \
|
||||||
--unattended \
|
--unattended \
|
||||||
--replace
|
--replace \
|
||||||
|
--disableupdate \
|
||||||
|
--ephemeral
|
||||||
|
|
||||||
trap 'remove_runner; exit 130' SIGINT
|
trap 'remove_runner; exit 130' SIGINT
|
||||||
trap 'remove_runner; exit 143' SIGTERM
|
trap 'remove_runner; exit 143' SIGTERM
|
||||||
|
Reference in New Issue
Block a user