Igalia / chromium

Old repo. See https://crbug.com/578890 instead.

Home Page:https://chromium.googlesource.com/chromium/src.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Properly clone/checkout the code

etna opened this issue · comments

commented

Hi, may I know how should one checkout the repo properly? There are no instructions on how this should be done; the only instructions on the README are for building.

i did a git clone of this repo but gclient runhooks always fails with 'gclient not configured'. Trying the steps listed in #301 (comment) allows for gclient runhooks to run, but only results in more problems about missing libraries during the build.

Specifically, I notice that following the upstream instructions results in a copy of Debian Sid being pulled to build/linux, but this does not happen in my clone of this repo. I suspect this is where my issues with missing libraries are originating from.

Right, the instructions are missing.

You need to checkout upstream first and add remote to this repo. Then switch to it and gclient will be able to fetch needed dependencies.

If you have more questions, feel free to reopen

commented

@msisov
Sorry, I still need help (and a little hand holding here).

As per the upstream instructions, I use depot_tools to perform fetch --nohooks chromium
The next step immediately after that is to run the dependencies script, which I omit because it's only useful for Ubuntu and Debian, following by gcllient runhooks.

I'm certain your add remote to this repo' step comes before gclient runhooks, but I still have no idea how this is done.

mkdir chromium
fetch --nohooks chromium
git remote add igalia https://github.com/Igalia/chromium
git fetch igalia
git checkout -b ozone-wayland-dev
git reset --hard igalia/ozone-wayland-dev
git pull igalia ozone-wayland-dev
gclient sync