Browse Source

Add script for debug

tags/75.0.3770.142-2
wchen342 2 years ago
parent
commit
46a25fef9e
Signed by: wchen342 GPG Key ID: 720B70365E800508
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      misc/android_studio_setup.sh

+ 20
- 0
misc/android_studio_setup.sh View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -eux -o pipefail
chromium_version=75.0.3770.142
target=monochrome_public_apk
# Create symbol links to gn, depot-tools
cd src
pushd buildtools/linux64
ln -s ../../tools/gn/out/gn
popd
pushd third_party
ln -s ../../depot_tools
popd
mkdir -p out/Debug
cat ../ungoogled-chromium/flags.gn ../android_flags.gn > out/Debug/args.gn
python build/android/gradle/generate_gradle.py --target //chrome/android:${target} --output-directory out/Debug -j 40

Loading…
Cancel
Save