Do I have to run gclient runhooks at all?

43 views
Skip to first unread message

Christian Schwarzgruber

unread,
Jun 24, 2015, 10:40:32 AM6/24/15
to chromium...@chromium.org
Hey,

I'm asking my self, if I do have to run 'gclient runhooks' at all? Why...
...because I create the toolchain and all the libraries with buildroot.

I would have to run some of the commands 'gclient runhooks' runs from another script.

Like:
'/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '.../chromium'
'/usr/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '.../chromium'

As the file LASTCHANGE is missing otherwise, when building the 'content_shell'.

Thanks in advance.


Message has been deleted

Christian Schwarzgruber

unread,
Jun 26, 2015, 8:46:36 AM6/26/15
to chromium...@chromium.org
I'll answer my own question.

Yes it is possible to build chromium (content_shell) for an arm based platform without running

gclient --runhooks


However, as stated above you need to run the following two comments prior building, otherwise the build will fail.

/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE

/usr/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink

And of course you have to build the dependencies somehow, in my case I used buildroot,
to build the toolchain and the dependencies.

Regards,
Christian
Reply all
Reply to author
Forward
0 new messages