Compare commits

..

9 Commits

Author SHA1 Message Date
uazo
854b6356d5 fix pup command 2022-03-09 08:57:06 +01:00
Carmelo Messina
89497b252b Revert "Update release.yaml"
This reverts commit 58fe440996.
2022-03-09 08:50:29 +01:00
uazo
58fe440996 Update release.yaml 2022-03-09 08:45:13 +01:00
uazo
7d83b64cc9 Create export-patch-list.sh 2022-02-25 14:27:13 +01:00
uazo
45dff72f43 fix argument 2022-02-23 15:28:48 +01:00
uazo
cfabccd77f remove last empty line like upstream 2022-02-22 15:42:20 +01:00
uazo
d6bbb56bc3 remove space after "-- " like upstream 2022-02-22 15:41:54 +01:00
uazo
d184899841 fix is_cfi build error in debug 2022-02-22 14:34:51 +01:00
uazo
cc085e6ebb change upstream gnargs file 2022-02-22 10:04:33 +01:00
6 changed files with 37 additions and 6 deletions

View File

@@ -250,9 +250,9 @@ jobs:
echo "::group::-------- gn gen"
[[ "$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 "::group::-------- gn args"

View File

@@ -45,7 +45,7 @@ jobs:
run: |
wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip
unzip pup_v0.4.0_linux_amd64.zip && rm pup_v0.4.0_linux_amd64.zip
BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$BROMITE_SHA | ./pup -p li.branch a text{})
BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$BROMITE_SHA | ./pup -p li.branch:last-child a text{})
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz

View File

@@ -10,7 +10,7 @@ fi
if [ -z "$2" ]
then
PATCH_NEW_PATH="~/bromite/build/patches-new"
PATCH_NEW_PATH=~/bromite/build/patches-new
else
PATCH_NEW_PATH=$2
fi

25
export-patch-list.sh Normal file
View 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

View File

@@ -32,9 +32,9 @@ sed -i '/^ mode change/d' ~/bromite/build/patches-new/$PATCH_FILE
sed -i '/^old 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.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 ""

View File

@@ -15,6 +15,7 @@ if(getenv("TARGET_CPU") != "") {
enable_kythe_annotations = true
clang_use_chrome_plugins = false
chrome_public_manifest_package = "org.bromite.bromite.dev"
if(_is_debug_build == "true") {
# print("Debug build on")
@@ -24,6 +25,11 @@ if(_is_debug_build == "true") {
symbol_level = 1
strip_debug_info = 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 {
generate_linker_map = true
}