Compare commits
8 Commits
v103.0.506
...
v105.0.519
Author | SHA1 | Date | |
---|---|---|---|
|
dc0253788a | ||
|
ddc84733e9 | ||
|
3d2a3fb5fd | ||
|
6e62f4a85d | ||
|
406a5d83c2 | ||
|
963ab065f9 | ||
|
e15c9f918b | ||
|
aa33b64d6c |
7
.github/workflows/build_bromite_dev.yaml
vendored
7
.github/workflows/build_bromite_dev.yaml
vendored
@@ -363,13 +363,12 @@ jobs:
|
||||
run: |
|
||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||
cd $WORKSPACE/chromium/src
|
||||
|
||||
$WORKSPACE/ninja/ninja -C $WORKSPACE/chromium/src/out/bromite -a chrome_public_apk \
|
||||
-t compdb cc cxx objc objcxx >$WORKSPACE/chromium/src/out/bromite/compile_commands.json
|
||||
|
||||
test -f out/bromite/bromite.idx || \
|
||||
cp -r out/bromite/ out/clangd && \
|
||||
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 && \
|
||||
$WORKSPACE/ninja/ninja -C $WORKSPACE/chromium/src/out/clangd -a chrome_public_apk \
|
||||
-t compdb cc cxx objc objcxx >$WORKSPACE/chromium/src/out/clangd/compile_commands.json && \
|
||||
/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
|
||||
|
||||
|
@@ -32,18 +32,13 @@ USER ${user}
|
||||
|
||||
WORKDIR /home/${user}
|
||||
|
||||
RUN wget https://chromium.googlesource.com/chromium/src/+/refs/tags/$VERSION/build/install-build-deps.sh?format=TEXT -O install-build-deps.sh.base64 \
|
||||
RUN wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps.sh \
|
||||
&& \
|
||||
wget https://chromium.googlesource.com/chromium/src/+/refs/tags/$VERSION/build/install-build-deps-android.sh?format=TEXT -O install-build-deps-android.sh.base64 \
|
||||
wget https://raw.githubusercontent.com/chromium/chromium/$VERSION/build/install-build-deps-android.sh \
|
||||
&& \
|
||||
base64 -d install-build-deps.sh.base64 >install-build-deps.sh && \
|
||||
base64 -d install-build-deps-android.sh.base64 >install-build-deps-android.sh && \
|
||||
sed -i 's/snapcraft/wget/' install-build-deps.sh && \
|
||||
chmod +x ./install-build-deps.sh && \
|
||||
chmod +x ./install-build-deps-android.sh && \
|
||||
sudo ./install-build-deps.sh --no-prompt --lib32 --no-chromeos-fonts && \
|
||||
sudo ./install-build-deps-android.sh --no-prompt
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -10,7 +10,7 @@ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
|
||||
echo -e ${RED} -------- apply depot_tools patch ${NC}
|
||||
cd depot_tools/
|
||||
git apply ../depot_tools.diff
|
||||
#git apply ../depot_tools.diff
|
||||
git apply ../remove_ninja_uploader.diff
|
||||
cd ..
|
||||
|
||||
@@ -29,16 +29,19 @@ gclient root
|
||||
mkdir ./src
|
||||
cd ./src
|
||||
|
||||
git init
|
||||
git remote add origin https://chromium.googlesource.com/chromium/src.git
|
||||
#CHR_SOURCE=https://chromium.googlesource.com/chromium/src.git
|
||||
CHR_SOURCE=https://github.com/chromium/chromium.git
|
||||
|
||||
git fetch --depth 2 https://chromium.googlesource.com/chromium/src.git +refs/tags/$VERSION:chromium_$VERSION
|
||||
git init
|
||||
git remote add origin $CHR_SOURCE
|
||||
|
||||
git fetch --depth 2 $CHR_SOURCE +refs/tags/$VERSION:chromium_$VERSION
|
||||
git checkout $VERSION
|
||||
VERSION_SHA=$( git show-ref -s $VERSION | head -n1 )
|
||||
|
||||
echo >../.gclient "solutions = ["
|
||||
echo >>../.gclient " { \"name\" : 'src',"
|
||||
echo >>../.gclient " \"url\" : 'https://chromium.googlesource.com/chromium/src.git@$VERSION_SHA',"
|
||||
echo >>../.gclient " \"url\" : '$CHR_SOURCE@$VERSION_SHA',"
|
||||
echo >>../.gclient " \"deps_file\" : 'DEPS',"
|
||||
echo >>../.gclient " \"managed\" : True,"
|
||||
echo >>../.gclient " \"custom_deps\" : {"
|
||||
|
Reference in New Issue
Block a user