Compare commits
11 Commits
v107.0.530
...
v110.0.548
Author | SHA1 | Date | |
---|---|---|---|
|
dda7cece8f | ||
|
d26cceccdf | ||
|
5c005551b8 | ||
|
4ca3d33584 | ||
|
775ca2f448 | ||
|
1dd51fda9b | ||
|
45836ce3ae | ||
|
e7381936fe | ||
|
c3b8d405e1 | ||
|
5d0b72827e | ||
|
31dd53a306 |
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
@@ -58,9 +58,9 @@ jobs:
|
|||||||
|
|
||||||
cd bromite
|
cd bromite
|
||||||
|
|
||||||
GH=gh_2.18.1_linux_amd64/bin/gh
|
GH=gh_2.21.1_linux_amd64/bin/gh
|
||||||
wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz
|
wget https://github.com/cli/cli/releases/download/v2.21.1/gh_2.21.1_linux_amd64.tar.gz
|
||||||
tar xfz gh_2.18.1_linux_amd64.tar.gz
|
tar xfz gh_2.21.1_linux_amd64.tar.gz
|
||||||
|
|
||||||
echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token
|
echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token
|
||||||
|
|
||||||
@@ -117,6 +117,7 @@ jobs:
|
|||||||
cp $WINOUT/vulkan-1.dll chrome-win/
|
cp $WINOUT/vulkan-1.dll chrome-win/
|
||||||
cp -r $WINOUT/locales chrome-win/locales
|
cp -r $WINOUT/locales chrome-win/locales
|
||||||
|
|
||||||
|
#test chrome-win.zip && rm chrome-win.zip
|
||||||
zip -r chrome-win.zip chrome-win/
|
zip -r chrome-win.zip chrome-win/
|
||||||
|
|
||||||
echo Uploading chrome-win.zip
|
echo Uploading chrome-win.zip
|
||||||
|
27
README.md
27
README.md
@@ -64,3 +64,30 @@ drwxr-xr-x 3 root root 4096 Oct 5 13:20 'Windows Kits'
|
|||||||
cd bromite-buildtools/images/github-runner/
|
cd bromite-buildtools/images/github-runner/
|
||||||
./start-runner.sh
|
./start-runner.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Test Android Version
|
||||||
|
|
||||||
|
Simply download latest build on https://github.com/uazo/bromite-buildtools/releases/latest
|
||||||
|
|
||||||
|
### Test Windows Version
|
||||||
|
|
||||||
|
1. Download https://github.com/henrypp/chrlauncher/releases
|
||||||
|
2. Create a `chrlauncher.ini`
|
||||||
|
|
||||||
|
```
|
||||||
|
[chrlauncher]
|
||||||
|
|
||||||
|
# Custom Chromium update URL (string):
|
||||||
|
ChromiumUpdateUrl=https://github.com/uazo/bromite-buildtools/releases/latest/download/updateurl.txt
|
||||||
|
|
||||||
|
# Command line for Chromium (string):
|
||||||
|
# See here: http://peter.sh/experiments/chromium-command-line-switches/
|
||||||
|
ChromiumCommandLine=--user-data-dir=".\User Data" --no-default-browser-check
|
||||||
|
|
||||||
|
# Chromium executable file name (string):
|
||||||
|
ChromiumBinary=chrome.exe
|
||||||
|
|
||||||
|
# Chromium binaries directory (string):
|
||||||
|
# Relative (to chrlauncher directory) or full path (env. variables supported).
|
||||||
|
ChromiumDirectory=.\bin
|
||||||
|
```
|
||||||
|
@@ -10,6 +10,7 @@ if(getenv("TARGET_CPU") != "") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (target_os == "android") {
|
if (target_os == "android") {
|
||||||
|
target_os = "android" # fix traffic annotation auditor
|
||||||
enable_kythe_annotations = true
|
enable_kythe_annotations = true
|
||||||
chrome_public_manifest_package = "org.bromite.bromite.dev"
|
chrome_public_manifest_package = "org.bromite.bromite.dev"
|
||||||
|
|
||||||
@@ -33,9 +34,15 @@ if (target_os == "android") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (target_os == "win") {
|
if (target_os == "win") {
|
||||||
|
target_os = "win" # fix traffic annotation auditor
|
||||||
target_cpu = "x64"
|
target_cpu = "x64"
|
||||||
symbol_level = 0
|
symbol_level = 0
|
||||||
use_large_pdbs = true
|
use_large_pdbs = true
|
||||||
|
|
||||||
|
enable_pdf = true
|
||||||
|
pdf_is_complete_lib = true
|
||||||
|
enable_plugins = true
|
||||||
|
enable_ppapi = false
|
||||||
|
|
||||||
is_cfi = false # disable it
|
is_cfi = false # disable it
|
||||||
use_cfi_cast = false # disable it
|
use_cfi_cast = false # disable it
|
||||||
|
@@ -59,7 +59,7 @@ cd $WORKSPACE/
|
|||||||
git clone https://github.com/ninja-build/ninja.git -b v1.8.2
|
git clone https://github.com/ninja-build/ninja.git -b v1.8.2
|
||||||
cd ninja
|
cd ninja
|
||||||
git apply $WORKSPACE/bromite-buildtools/ninja-one-target-for-compdb.patch
|
git apply $WORKSPACE/bromite-buildtools/ninja-one-target-for-compdb.patch
|
||||||
./configure.py --bootstrap
|
CXX=clang++ ./configure.py --bootstrap
|
||||||
|
|
||||||
echo -e ${RED} -------- download clang indexer ${NC}
|
echo -e ${RED} -------- download clang indexer ${NC}
|
||||||
cd $WORKSPACE/
|
cd $WORKSPACE/
|
||||||
|
@@ -1,19 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "${DOCKER_SOCK}" ]]; then
|
if [[ -z "${INDEX_VERSION}" ]]; then
|
||||||
echo "Please set DOCKER_SOCK env variable"
|
echo "Please set INDEX_VERSION env variable"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${DEV_CONTAINER}" ]]; then
|
cp /storage/images/android/x64/$INDEX_VERSION/bromite.idx .
|
||||||
echo "Please set DEV_CONTAINER env variable"
|
cp /storage/images/android/x64/$INDEX_VERSION/RELEASE .
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo docker -H $DOCKER_SOCK cp $DEV_CONTAINER:/home/lg/working_dir/chromium/src/out/bromite/bromite.idx .
|
|
||||||
sudo docker -H $DOCKER_SOCK cp $DEV_CONTAINER:/home/lg/working_dir/bromite/build/RELEASE .
|
|
||||||
|
|
||||||
#INDEX_VERSION=$(cat RELEASE)
|
|
||||||
DOCKER_BUILDKIT=1 docker build -t uazo/bromite-remote-index:$INDEX_VERSION \
|
DOCKER_BUILDKIT=1 docker build -t uazo/bromite-remote-index:$INDEX_VERSION \
|
||||||
--progress plain \
|
--progress plain \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
|
@@ -73,6 +73,7 @@ index ed004ac8f1fe1a5107db8b1f5c02c4ba957daef4..bbb79da561ddec497863230cd99ffbe9
|
|||||||
+
|
+
|
||||||
int NinjaMain::ToolCompilationDatabase(const Options* options, int argc, char* argv[]) {
|
int NinjaMain::ToolCompilationDatabase(const Options* options, int argc, char* argv[]) {
|
||||||
+ std::vector<Edge*>* edges_to_process = &(state_.edges_);
|
+ std::vector<Edge*>* edges_to_process = &(state_.edges_);
|
||||||
|
+ std::vector<Edge*> user_interested_edges;
|
||||||
+
|
+
|
||||||
+ if (options->user_given_target) {
|
+ if (options->user_given_target) {
|
||||||
+ string err;
|
+ string err;
|
||||||
@@ -83,7 +84,6 @@ index ed004ac8f1fe1a5107db8b1f5c02c4ba957daef4..bbb79da561ddec497863230cd99ffbe9
|
|||||||
+ return 1;
|
+ return 1;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ std::vector<Edge*> user_interested_edges;
|
|
||||||
+ if (!GetAllDependentEdges(user_given_target, &user_interested_edges))
|
+ if (!GetAllDependentEdges(user_given_target, &user_interested_edges))
|
||||||
+ return 1;
|
+ return 1;
|
||||||
+ edges_to_process = &user_interested_edges;
|
+ edges_to_process = &user_interested_edges;
|
||||||
|
Reference in New Issue
Block a user