Commit graph

26 commits

Author SHA1 Message Date
Michael Weiss 4b2c7fb106
gn: Add myself as maintainer
Since I maintain Chromium (I'll have to make sure that gnChromium always
builds and it would be good to get notified on any PRs/issues).
2020-11-03 20:01:28 +01:00
Michael Weiss a1b4bfe34f
gn: 20190403 -> 2020-03-09
This updates gn to the required version for chromiumDev (the recommended
version for the stable release of Chromium isn't sufficient [0]).

[0]: The Chromium build fails during the configuration phase:
ERROR at //mojo/public/tools/bindings/mojom.gni:393:16: Undefined identifier
               "cpp_typemaps",
               ^-------------
2020-03-24 14:41:11 +01:00
Jan Tojnar c72e388b7f
gn: switch to python 3 2019-12-29 11:21:08 +01:00
John Ericson b7f4bda282 treewide: *Phase(s)? variables are optional
If these aren't defined, the stdenv defaults are used in the `*Phase`
case, or no extra phases are done, in the `*Phases` case.
2019-11-01 14:44:44 -04:00
John Ericson 1290e532ea treewide: Make more dont* variables OK to be undefined in setup hooks 2019-11-01 14:44:44 -04:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ben Wolsieffer 8c73d4b14f gn: 20190726 -> 20190403
Downgrade to fix Chromium.
2019-07-29 22:30:53 -04:00
Ben Wolsieffer 2547d6cb18 gn: 20181031 -> 20190726 2019-07-28 15:58:51 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer e7f57503e0 v8: 5.4.232 -> 7.4.255 2019-04-11 00:25:12 -04:00
Léo Gaspard cf8383810e gn: use python2 as gn is incompatible with python3 2019-01-19 14:17:22 +01:00
Will Dietz 7e470fdac7 gn: 20180830 -> 20181031 2018-11-01 11:13:06 -05:00
Yuriy Taraday b53e495a38 gn: generate last_commit_position.h without git
For Git to work properly, I used fetchgit with leaveDotGit. This seems
to be causing hash to change on different systems in different times.
I've replaced generation of last_commit_position.h in tools/gen.py with
just plain nix template. "gn --version" will loose a bit (just commit
hash, without commit height in front of it), but I hope noone relies on
it.
2018-09-16 01:58:11 +04:00
volth 9dc249fceb
gn: fix hash 2018-09-15 20:29:48 +00:00
Yuriy Taraday 55d8a539ad gn: 20180423 -> 20180830
gn sources have been moved into separate repository which greatly
simplify build process.
2018-09-07 22:04:22 +04:00
Matthew Bauer 02297beade treewide: add version to packages
Lots of packages are missing versions in their name. This adds them
where appropriate. These were found with this command:

 $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$'

See issue #41007.
2018-05-25 15:48:05 -05:00
Matthew Justin Bauer 050d07d672
gn: fix patch url
Fixes #40891
2018-05-21 17:43:22 -05:00
aszlig a3502ba765
gn: Add libc++ and libc++abi from third_party
On GNU/Linux the build references these files, so let's fetch them from
the Chromium repository. I haven't checked whether they are heavily
patched or whether we can use the version from LLVM, but when looking at
the changes, they do seem to divert a bit from upstream LLVM.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @matthewbauer, @stesie
2018-04-25 15:01:41 +02:00
aszlig ac61ae50b7
gn: Switch to fetchzip for apple_apsl directory
The tarball from upstream seems to be generated on the fly, so the
output is not deterministic and using fetchzip makes this more reliable
as we have a recursively hashed output path without any of the
non-determinisms in tarballs.

Unfortunately, the build still fails on NixOS systems, because we need a
few more stuff in the build tree.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @matthewbauer, @stesie
2018-04-25 15:01:38 +02:00
Matthew Bauer 04e13de94f gn: fix Darwin build 2018-04-24 20:54:36 -05:00
Stefan Siegl 24ab22bea8
gn: fix sandbox build 2017-09-24 19:23:20 +02:00
Stefan Siegl 665918c24a
gn: init at 0.0.0.20170629 2017-09-24 11:37:28 +02:00
Nikolay Amiantov 003fa8fed5 gn: remove
Chromium depends on bundled versioon of gn. It's also chromium-specific build
tool, so it's not feasible to package.
2017-02-08 22:52:40 +03:00
Frederik Rietdijk 9b88697bbd gn: use python2 2016-11-24 22:28:04 +01:00
aszlig 09f87eeb7f
gn: Init at 0.0.0.20161008
This is the standalone version of GN used currently solely for building
Chromium. An upstream bug report is available at
https://crbug.com/504074 to support a standalone build without needing
various components from the Chromium source tree.

Because there isn't a standalone vrsion available, I'm choosing
0.0.0.${date} as the version scheme here so that we don't conflict with
versioned releases from upstream someday[TM].

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-11-08 20:11:48 +01:00