Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DelphianCalamity authored Oct 8, 2024
1 parent c9f1ac9 commit e773fa0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions chromium-prototype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ fetch --nohooks chromium
```

Press `n` to the following:
`OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n`

`OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n`\
(don't press `enter` after pressing `n`!)

#### Install dependencies
```bash
Expand All @@ -38,7 +38,8 @@ gclient runhooks
```

Press `n` to the following:
`OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n`
`OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n`\
(don't press `enter` after pressing `n`!)

#### Setup the build
```bash
Expand All @@ -50,7 +51,7 @@ gn gen out/Default
Hacky way to pull changes from our devtools-frontend.
Previous command fetched the google repos instead. TODO: fix that.
```bash
cd src/third_party/devtools-frontend/src/
cd third_party/devtools-frontend/src/
git remote add cu https://github.com/columbia/devtools-frontend.git
git fetch cu
git checkout cu/cu-ara
Expand All @@ -59,16 +60,18 @@ git checkout cu/cu-ara

#### Build chromium
```bash
cd ../../../../
autoninja -C out/Default chrome
```

#### Setup Exporting Display
#### Setup Exporting Display (if running Chromium in a remote node)
```bash
sudo apt-get install xorg
sudo apt-get install xvfb
Xvfb :99 -screen 0 1024x768x24 &
export DISPLAY=:99
```
Also make sure you SSH using the -X flag and download a tool like XQuartz in your local machine.


#### Run Chromium:
Expand Down

0 comments on commit e773fa0

Please sign in to comment.