chromium: Correct tools path in blink_idl_parser.

This is because of our symlink mess, as Chromium's build support scripts
are trying to resolve everything based on absolute paths and we split
off the bundled sources from the main derivation.

Yes, I'm refering to this as a mess, because in the end, we're going to
patch up the gyp files and use references someday.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-03-23 16:29:07 +01:00
parent d8ba5b3eff
commit cce984b324
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -222,6 +222,14 @@ in stdenv.mkDerivation rec {
s|$|if parts[0].startswith("../") else parts[0]|;
}' third_party/WebKit/Source/build/scripts/in_file.py \
third_party/WebKit/Source/build/scripts/make_event_factory.py
'' + optionalString (!versionOlder source.version "35.0.0.0") ''
# Transform symlinks into plain files
sed -i -e "" third_party/jinja2/__init__.py \
third_party/jinja2/environment.py \
third_party/WebKit/Source/bindings/scripts/idl_compiler.py
sed -i -e '/tools_dir *=/s|=.*|= "'"$(pwd)"'/tools"|' \
third_party/WebKit/Source/bindings/scripts/blink_idl_parser.py
'';
postPatch = ''