diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2017-10-12 14:58:03 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-10-12 20:53:26 +0000 |
commit | 4fd6eb328820d7f6657c223bf1b1a19e8c864a03 (patch) | |
tree | c6335ec1201267d5b4f5a51f4a0c7ac05dc4a271 /recipes-devtools/gn/gn.inc | |
parent | e3a4827db9283ec9a037d76e225cb4d32fb46f00 (diff) |
SDK: add native+target packages to build chromium
This adds the following recipes/adjustements:
* recipes-devtools/gn (copied from https://github.com/Igalia/meta-browser, branch ozone/wayland/20170928, rev a01cf92)
* recipes-devtools/ninja
* recipes-extended/gperf
Bug-AGL: SPEC-942
Change-Id: Ibc34a055ead85aeea24c66665655c9070b47d032
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'recipes-devtools/gn/gn.inc')
-rw-r--r-- | recipes-devtools/gn/gn.inc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-devtools/gn/gn.inc b/recipes-devtools/gn/gn.inc new file mode 100644 index 000000000..2728bc1eb --- /dev/null +++ b/recipes-devtools/gn/gn.inc @@ -0,0 +1,21 @@ +SUMMARY = "Meta-build system from Google" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" + +DEPENDS = "python-native ninja-native" + +SRC_URI = "http://gsdview.appspot.com/chromium-browser-official/chromium-${PV}.tar.xz" + +S ?= "${WORKDIR}/chromium-${PV}" + +do_compile () { + cd ${S}/tools/gn + ./bootstrap/bootstrap.py -s +} + +do_install () { + install -d ${D}${bindir} + install -m 0755 out/Release/gn ${D}${bindir}/gn +} + +BBCLASSEXTEND = "native nativesdk" |