Compare commits
23 Commits
v98.0.4758
...
v103.0.506
Author | SHA1 | Date | |
---|---|---|---|
|
4893074e00 | ||
|
abf39d8c09 | ||
|
fd177a7772 | ||
|
2de67fd5af | ||
|
a284b224fb | ||
|
d5b30106a5 | ||
|
729ad9b695 | ||
|
ffc028a0e9 | ||
|
20f617fd4a | ||
|
dce1324300 | ||
|
dacc20b60d | ||
|
fe2587d942 | ||
|
bafaa5f167 | ||
|
64df7a0a73 | ||
|
aede203911 | ||
|
7dc817d819 | ||
|
81f793ed34 | ||
|
a716f182be | ||
|
cfbb923b0d | ||
|
f12c3e78b4 | ||
|
854b6356d5 | ||
|
89497b252b | ||
|
58fe440996 |
5
.github/workflows/build_bromite_dev.yaml
vendored
5
.github/workflows/build_bromite_dev.yaml
vendored
@@ -368,7 +368,10 @@ jobs:
|
|||||||
-t compdb cc cxx objc objcxx >$WORKSPACE/chromium/src/out/bromite/compile_commands.json
|
-t compdb cc cxx objc objcxx >$WORKSPACE/chromium/src/out/bromite/compile_commands.json
|
||||||
|
|
||||||
test -f out/bromite/bromite.idx || \
|
test -f out/bromite/bromite.idx || \
|
||||||
/home/lg/working_dir/clangd_snapshot_20211205/bin/clangd-indexer --executor=all-TUs out/bromite/compile_commands.json >out/bromite/bromite.idx
|
cp -r out/bromite/ out/clangd && \
|
||||||
|
gn gen --args="import(\"/home/lg/working_dir/bromite/build/bromite.gn_args\") $(cat ../../build_args.gni) skip_clangd_unsupported_options = true" out/clangd && \
|
||||||
|
/home/lg/working_dir/clangd_snapshot_20211205/bin/clangd-indexer --executor=all-TUs out/clangd/compile_commands.json >out/bromite/bromite.idx && \
|
||||||
|
rm -rf out/clangd
|
||||||
|
|
||||||
- name: Generate Supersize data
|
- name: Generate Supersize data
|
||||||
if: ${{ github.event.inputs.debug == 'false' }}
|
if: ${{ github.event.inputs.debug == 'false' }}
|
||||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip
|
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
|
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{} | xargs)
|
||||||
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
|
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
|
||||||
|
|
||||||
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz
|
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
cd bromite
|
cd bromite
|
||||||
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
|
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
|
||||||
../gh_2.4.0_linux_amd64/bin/gh release create $VERSION-$BROMITE_SHA \
|
../gh_2.4.0_linux_amd64/bin/gh release create $VERSION-$BROMITE_SHA \
|
||||||
../$APK --notes ""
|
../$APK --notes "" -p
|
||||||
|
|
||||||
# - name: Enable proxy on container
|
# - name: Enable proxy on container
|
||||||
# shell: bash
|
# shell: bash
|
||||||
|
@@ -32,3 +32,16 @@ for patch in $ALLPATCHS_E; do
|
|||||||
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
bash ~/bromite-buildtools/export-single-patch.sh $patch $PATCH_FILE
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
PATCH_LIST=~/bromite/build/bromite_patches_list.txt
|
||||||
|
mkdir ~/bromite/build/patches-new/changed
|
||||||
|
mkdir ~/bromite/build/patches-new/contrib
|
||||||
|
for current_file in $(cat $PATCH_LIST); do
|
||||||
|
if [[ "$current_file" == *".patch" ]]; then
|
||||||
|
if [[ $current_file =~ ^changed/.* ]]; then
|
||||||
|
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/changed
|
||||||
|
elif [[ $current_file =~ ^contrib/.* ]]; then
|
||||||
|
mv ~/bromite/build/patches-new/$(basename $current_file) ~/bromite/build/patches-new/contrib || true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
@@ -14,7 +14,7 @@ if(getenv("TARGET_CPU") != "") {
|
|||||||
# print("Target " + target_cpu)
|
# print("Target " + 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"
|
chrome_public_manifest_package = "org.bromite.bromite.dev"
|
||||||
|
|
||||||
if(_is_debug_build == "true") {
|
if(_is_debug_build == "true") {
|
||||||
|
@@ -10,6 +10,7 @@ cd chromium/src
|
|||||||
echo -e ${RED} ------- apply patchs ${NC}
|
echo -e ${RED} ------- apply patchs ${NC}
|
||||||
for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
|
for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
|
||||||
|
|
||||||
|
if [[ "$file" == *".patch" ]]; then
|
||||||
#if [[ "$file" == *"Automated-domain-substitution"* ]]; then
|
#if [[ "$file" == *"Automated-domain-substitution"* ]]; then
|
||||||
# echo -e ${RED} " -> Excluding $file" ${NC}
|
# echo -e ${RED} " -> Excluding $file" ${NC}
|
||||||
# continue
|
# continue
|
||||||
@@ -17,7 +18,7 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
|
|||||||
|
|
||||||
echo -e ${RED} " -> Apply $file" ${NC}
|
echo -e ${RED} " -> Apply $file" ${NC}
|
||||||
|
|
||||||
REPL="0,/^---/s//FILE:"$file"\n---/"
|
REPL="0,/^---/s//FILE:"$(basename $file)"\n---/"
|
||||||
cat ../../bromite/build/patches/$file | sed $REPL | git am
|
cat ../../bromite/build/patches/$file | sed $REPL | git am
|
||||||
|
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
@@ -27,4 +28,6 @@ for file in $(cat ../../bromite/build/bromite_patches_list.txt) ; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
@@ -16,13 +16,14 @@ RUN dpkg --add-architecture i386
|
|||||||
|
|
||||||
RUN apt-get update &&\
|
RUN apt-get update &&\
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get -f -y install sudo lsb-release cl-base64 bash wget apt-utils python sed tzdata build-essential lib32gcc-9-dev
|
apt-get -f -y install sudo lsb-release cl-base64 bash wget apt-utils python sed tzdata build-essential lib32gcc-9-dev g++-multilib
|
||||||
|
|
||||||
ENV user lg
|
ENV user lg
|
||||||
|
|
||||||
RUN useradd -m -d /home/${user} ${user} && \
|
RUN useradd -m -d /home/${user} ${user} && \
|
||||||
chown -R ${user} /home/${user} && \
|
chown -R ${user} /home/${user} && \
|
||||||
adduser ${user} sudo && \
|
adduser ${user} sudo && \
|
||||||
|
chmod 4755 /usr/bin/sudo && \
|
||||||
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
USER ${user}
|
USER ${user}
|
||||||
|
|
||||||
|
@@ -1,57 +1,60 @@
|
|||||||
diff --git a/gclient_scm.py b/gclient_scm.py
|
diff --git a/gclient_scm.py b/gclient_scm.py
|
||||||
|
index f58c07a8..c8409726 100644
|
||||||
--- a/gclient_scm.py
|
--- a/gclient_scm.py
|
||||||
+++ b/gclient_scm.py
|
+++ b/gclient_scm.py
|
||||||
@@ -1012,28 +1012,35 @@ class GitWrapper(SCMWrapper):
|
@@ -1137,31 +1137,29 @@ class GitWrapper(SCMWrapper):
|
||||||
gclient_utils.safe_makedirs(parent_dir)
|
clone_cmd.append(url)
|
||||||
|
|
||||||
template_dir = None
|
template_dir = None
|
||||||
+ use_fetch = False
|
+ use_fetch = False
|
||||||
+
|
+
|
||||||
+ tmp_dir = tempfile.mkdtemp(
|
+ tmp_dir = tempfile.mkdtemp(
|
||||||
+ prefix='_gclient_%s_' % os.path.basename(self.checkout_path),
|
+ prefix='_gclient_%s_' % os.path.basename(self.checkout_path),
|
||||||
+ dir=parent_dir)
|
+ dir=parent_dir)
|
||||||
+
|
+
|
||||||
if hasattr(options, 'no_history') and options.no_history:
|
if hasattr(options, 'no_history') and options.no_history:
|
||||||
if gclient_utils.IsGitSha(revision):
|
if gclient_utils.IsGitSha(revision):
|
||||||
# In the case of a subproject, the pinned sha is not necessarily the
|
- # In the case of a subproject, the pinned sha is not necessarily the
|
||||||
# head of the remote branch (so we can't just use --depth=N). Instead,
|
- # head of the remote branch (so we can't just use --depth=N). Instead,
|
||||||
# we tell git to fetch all the remote objects from SHA..HEAD by means of
|
- # we tell git to fetch all the remote objects from SHA..HEAD by means
|
||||||
# a template git dir which has a 'shallow' file pointing to the sha.
|
- # of a template git dir which has a 'shallow' file pointing to the
|
||||||
- template_dir = tempfile.mkdtemp(
|
- # sha.
|
||||||
- prefix='_gclient_gittmp_%s' % os.path.basename(self.checkout_path),
|
- template_dir = tempfile.mkdtemp(prefix='_gclient_gittmp_%s' %
|
||||||
- dir=parent_dir)
|
- os.path.basename(self.checkout_path),
|
||||||
- self._Run(['init', '--bare', template_dir], options, cwd=self._root_dir)
|
- dir=parent_dir)
|
||||||
- with open(os.path.join(template_dir, 'shallow'), 'w') as template_file:
|
- self._Run(['init', '--bare', template_dir],
|
||||||
- template_file.write(revision)
|
- options,
|
||||||
- clone_cmd.append('--template=' + template_dir)
|
- cwd=self._root_dir)
|
||||||
+ self._Run(['init', tmp_dir], options, cwd=self._root_dir)
|
- with open(os.path.join(template_dir, 'shallow'),
|
||||||
|
- 'w') as template_file:
|
||||||
|
- template_file.write(revision)
|
||||||
|
- clone_cmd.append('--template=' + template_dir)
|
||||||
|
+ self._Run(['init', tmp_dir], options, cwd=self._root_dir)
|
||||||
+
|
+
|
||||||
+ self._Run(['-C', tmp_dir, 'remote', 'add', 'origin', url], options, cwd=self._root_dir)
|
+ self._Run(['-C', tmp_dir, 'remote', 'add', 'origin', url], options, cwd=self._root_dir)
|
||||||
+
|
+
|
||||||
+ clone_cmd = cfg + ['-C', tmp_dir, 'fetch', '--progress']
|
+ clone_cmd = cfg + ['-C', tmp_dir, 'fetch', '--progress']
|
||||||
+ clone_cmd.append('--depth=1')
|
+ clone_cmd.append('--depth=1')
|
||||||
+ clone_cmd.append(url)
|
+ clone_cmd.append(url)
|
||||||
+ clone_cmd.append(revision)
|
+ clone_cmd.append(revision)
|
||||||
+ use_fetch = True
|
+ use_fetch = True
|
||||||
else:
|
else:
|
||||||
# Otherwise, we're just interested in the HEAD. Just use --depth.
|
# Otherwise, we're just interested in the HEAD. Just use --depth.
|
||||||
clone_cmd.append('--depth=1')
|
clone_cmd.append('--depth=1')
|
||||||
|
|
||||||
- tmp_dir = tempfile.mkdtemp(
|
- tmp_dir = tempfile.mkdtemp(prefix='_gclient_%s_' %
|
||||||
- prefix='_gclient_%s_' % os.path.basename(self.checkout_path),
|
- os.path.basename(self.checkout_path),
|
||||||
- dir=parent_dir)
|
- dir=parent_dir)
|
||||||
try:
|
|
||||||
- clone_cmd.append(tmp_dir)
|
- clone_cmd.append(tmp_dir)
|
||||||
+ if use_fetch == False:
|
+ if use_fetch == False:
|
||||||
+ clone_cmd.append(tmp_dir)
|
+ clone_cmd.append(tmp_dir)
|
||||||
+
|
|
||||||
if self.print_outbuf:
|
try:
|
||||||
print_stdout = True
|
self._Run(clone_cmd,
|
||||||
filter_fn = None
|
@@ -1452,6 +1450,9 @@ class GitWrapper(SCMWrapper):
|
||||||
@@ -1328,6 +1335,9 @@ class GitWrapper(SCMWrapper):
|
|
||||||
if refspec:
|
if refspec:
|
||||||
fetch_cmd.append(refspec)
|
fetch_cmd.append(refspec)
|
||||||
|
|
||||||
+ if hasattr(options, 'no_history') and options.no_history:
|
+ if hasattr(options, 'no_history') and options.no_history:
|
||||||
+ fetch_cmd.append('--depth=1')
|
+ fetch_cmd.append('--depth=1')
|
||||||
+
|
+
|
||||||
|
@@ -22,6 +22,8 @@ echo -e ${RED} -------- download chromium repo ${NC}
|
|||||||
mkdir ./chromium
|
mkdir ./chromium
|
||||||
cd ./chromium
|
cd ./chromium
|
||||||
|
|
||||||
|
export DEPOT_TOOLS_UPDATE=0
|
||||||
|
|
||||||
gclient root
|
gclient root
|
||||||
|
|
||||||
mkdir ./src
|
mkdir ./src
|
||||||
|
@@ -4,6 +4,13 @@
|
|||||||
.githubusercontent.com
|
.githubusercontent.com
|
||||||
.ubuntu.com
|
.ubuntu.com
|
||||||
|
|
||||||
|
# for .net
|
||||||
|
.dot.net
|
||||||
|
dotnet.microsoft.com
|
||||||
|
dotnetcli.azureedge.net
|
||||||
|
aka.ms
|
||||||
|
packages.microsoft.com
|
||||||
|
|
||||||
# for buildeps
|
# for buildeps
|
||||||
#chromium.googlesource.com
|
#chromium.googlesource.com
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user