Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/electron/gyp


https://github.com/electron/gyp

On Windows, don't try to create relative paths across different drives

This is problematic when the generator output is set to a different drive
from the gyp files and...

ecf073cd05739a0848ad6b0928b48b4776ef1ff2 authored over 11 years ago
Add msvs_emulation expansion for $(TargetName) and $(TargetDir)

* $(TargetDir) is equivalent to $(OutDir)
* $(TargetName) logic is taken from the logic that set...

172357f39aae2e09793d6b2dddec3b2ce518ff8d authored over 11 years ago
xcode_emulation: added support for -fobjc-arc

This is needed for projects that want to use ARC
(http://clang.llvm.org/docs/AutomaticReferenceC...

d3a78a9cab563bf52c69a382ac65dda2c1c8b5cf authored over 11 years ago
Fix MSVS 2013 generator to use correct version numbers

[email protected]

Review URL: https://codereview.chromium.org/19802007

git-svn-id: http:/...

a6f2de30bdc9aefbb10f8e8c9dca9cb0c3f65508 authored over 11 years ago
Add support for map file, string pooling, fiber optimizations

[email protected]
BUG=

Review URL: https://codereview.chromium.org/19729004

git-svn-id: h...

8f717ced47c73baac10bd42805423ac6948ddd46 authored over 11 years ago
ninja/mac: Implement GCC_STRICT_ALIASING support.

[email protected]

Review URL: https://codereview.chromium.org/19420002

git-svn-id: http:/...

dc4f7194a410b59b21e3d3df9d65b2bce985853c authored over 11 years ago
Fixed "RC4011: identifier truncated" warning when embedding manifests.


Including <winuser.h> directly caused the following warning on VS2010:

string.h(54) :...

4576b7cb1eddb7847b272d73275b2efe8bd8ab23 authored over 11 years ago
Add Visual Studio 2013 support

Copy of VS 2012. This code is increasingly icky.

[email protected]

Review URL: https://cod...

bbefcd36c9c4f5158d93cb47b0e712f2f4ca940f authored over 11 years ago
Fixing a typo in the copyright message.

[email protected]

Review URL: https://codereview.chromium.org/19283002

git-svn-id: http:...

1cd806ab9cd545ad9c7b5d84a2aed23c3af5e50d authored over 11 years ago
ninja/win: Don't write "depfile" on cc / cxx rules.

Since these rules now use "deps = msvc", the depfile attribute is not used.

R=scottmg@chromium....

c8cc01af98572af0ea33af6c92bdad1a45a9ec0e authored over 11 years ago
Added support of 'EnableUAC', 'UACExecutionLevel' and 'UACUIAccess' linker options.

[email protected]

Review URL: https://codereview.chromium.org/18810003

git-svn-id: http:/...

32ece93b4a75830df422f67434d8804127db1b8b authored over 11 years ago
fix +x on gyp_main.py

Should fix -regen tests on Mac under make.

[email protected]

Review URL: https://coderevie...

b8c2ab69b417009ab5d2a4228368563b33c19d37 authored over 11 years ago
Revert GYP_PARALLEL-on-by-default (r1666).

Tests fail on the bots, see http://crbug.com/154205

[email protected]

Review URL: https:/...

ee8b4571e3d6c5f39ba72c6885b53e9404642985 authored over 11 years ago
Fix the *nix invocation script after r1667

[email protected]

Review URL: https://codereview.chromium.org/18856011

git-svn-id: http://...

23bf005de90eaae1bb13f6d230de42b324d18964 authored over 11 years ago
fix interpreter and line endings for 'gyp'

After r1667.

[email protected]

Review URL: https://codereview.chromium.org/18778003

git...

998b034898de7433e13f4401e42ca39c10087050 authored over 11 years ago
Fix fake assembler on vs2012

(causing tests to fail currently)

[email protected]

Review URL: https://codereview.chr...

51f8671e56c9001aa7781111bd141219b343dde9 authored over 11 years ago
Make root invocation less crazy so that multiprocessing works on Windows

Previously gyp.bat runs "python gyp" and "gyp" imports "gyp" expecting to
get pylib/gyp/__init__...

7ebf72ab00fe6f66934d857bdaff2e0475de03bf authored over 11 years ago
Default to parallel gyp on non-win platforms

Setting GYP_PARALLEL=0 on posix will turn off parallel gyp.

BUG=chromium:154205
R=dmazzoni@chro...

423512d5ab038504e83877a7ba780d7411bbe126 authored over 11 years ago
ninja: Only write ar_host, cc_host, cxx_host, ld_host in multi-toolset builds.

No intended functionality change: They are only used for targets with a toolset
of 'host', which...

ad617c17daad58cf225fc030081a2d663552b096 authored over 11 years ago
ninja: Don't add a new ninja-level variable for libdirs.

$libdirs was always in front of $libs, so there's no need for a second variable.
If $libdirs is ...

9609d38a9099677e2daaf4fff77ef42d33b41803 authored over 11 years ago
Properly escape Xcode defines containing '

BUG=gyp:257
TEST=python gyptest.py -a -f xcode,make

Patch by Jan Svarovsky <[email protected]>
R...

c1acc4ec18f3c15510d36c85e2b9f737df375c32 authored over 11 years ago
ninja/mac: Drop a few useless "./" prefixes on built product paths.

Use `ExpandSpecial(join('$!PRODUCT_DIR', path))` instead of
`join(ExpandSpecial('$!PRODUCT_DIR')...

23e7e64acc5aed4e50358244687bc48257ada9bd authored over 11 years ago
ninja/mac: Only write pch flag variables if needed.

No intended functionality change:
These variables are empty in the majority of targets, they are...

6e41bc5ee9ac310eccd6c93ff958733699b7c77d authored over 11 years ago
Delete a variable that's no longer used.

[email protected]

Review URL: https://codereview.chromium.org/18143003

git-svn-id: http:/...

8a562f0e1daaeda1df0c656cac1e971606b85825 authored over 11 years ago
Add .def file to implicit deps

This is so that when the .def file is modified, a relink will be triggered.

R=scottmg@chromium....

f56db7686981c8574691182502743527847d9fc1 authored over 11 years ago
Fix handling of $(inherited): Renamed EscapeXCodeArgument to

EscapeXCodeDefine, changed escaping method for spaces, added test.

BUG=gyp:257
TEST=Run small te...

c00a2e4dd4094100a45651d8ef48e68df1453a5c authored over 11 years ago
Adds support for the library_dirs key, which appears in the documentation but

was never actually implemented.
library_dirs is essentially equivalent to adding "-Lfoo" to ldfl...

f37c83ad866169311ce41cb09b32116c00c82244 authored over 11 years ago
Take the generator output directory into account when trying to invoke gyp

Otherwise, the gyp binary won't be found when trying to regenerator the output
files

R=thakis@c...

a497eec67cb0ed918e7eaef070b02349114837f9 authored over 11 years ago
Implement EmbedManifest handling for ninja windows.

BUG=gyp:321
[email protected], [email protected]

Review URL: https://codereview.chromi...

4e2c8086835d6e768b2e1dde82bff8f87165d257 authored over 11 years ago
Android backend: support multiple configurations.

Support building multiple configurations in the Android backend (by
setting GYP_CONFIGURATION wh...

6596ed93cd32d193397ce96cf9a5875624202efd authored over 11 years ago
Some enhancements to the msvs-ninja integration

As a follow up to r1618, these are some changes that make the generated msvs
projects easier to ...

dd4c0f9683397de0380b11d94dd045c3b75a1e9e authored over 11 years ago
Make the ninja pool math correct.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/17087010

git-svn-id: h...

2cca8c276906464e6d8576f603d7eadc129ac3ef authored over 11 years ago
Bump memory per linker to 4 to account for system overhead.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/17121012

git-svn-id: h...

878ee285239e5777028c31d6b9d10fbc930ccda2 authored over 11 years ago
Squelch warnings from gyp where certain exclusion directives are used

When AdditionalDependencies! and DelayLoadDLLs! directives are used e.g.
in chrome_dll.gypi, war...

19d8e1b108bc0a7fc3dbe6e3eb3e684104338388 authored over 11 years ago
switch go/gypbot from vs2008 to vs2012

Per
https://groups.google.com/forum/?fromgroups#!topic/gyp-developer/OviErZ6vR1A
move 2008 to 20...

f9f6c9cc9d55a2025e5300a5addca3c6d290c330 authored over 11 years ago
fix flock-related tests on linux/mac after r1646

flock not used on ninja now in favour of pool functionality.

[email protected]

Review URL:...

88c44e39c57787edf6593c4714f3a3937d2e3326 authored over 11 years ago
enable deps mode on windows too

already enabled on non-windows. keeps use_deps=0 available as opt-out.

[email protected]
BU...

bf32d630cb4c4700185c2a801eab505cf185d2e5 authored over 11 years ago
ninja: put links into a pool

This uses the ninja "pool" feature to limit the number of concurrent
links to a reasonable numbe...

38a04225b5ae1effcfea3aad585baefdd2266785 authored over 11 years ago
Add test for the "generate mixed-case header" bug.

This test failed on Windows with ninja 1.3.3 but
should pass with ninja 1.3.4 which has
https://...

2485cd3392cfc1e61ed3c76dd173b09f3a26d85b authored over 11 years ago
ninja: Enable deps mode on non-windows.

We landed ninja 1.3.4, which should have fixed crbug.com/245034. Trying this
again.

BUG=chromiu...

8f42386eafcd7ddf1947cab2808a76c315ff30cc authored over 11 years ago
Often times, rules are used with a 'host' built generator serving as an 'input' with the 'sources' selected by 'extension' being normal source files. However, in this case it is desired that some of the 'sources' selected by 'extension' be built files from the build output directory.

The xcode gyp generator has no issue with this, but the msvs, make, and ninja gyp generators hav...

10ee636f7e461c819a6d23dac93c4bfe871ee8de authored over 11 years ago
Revert r1641 (deps mode on by default), it broke compilation on the chromium bots.

See crbug.com/245034

TBR=scottmg
Review URL: https://codereview.chromium.org/15927010/

git-s...

a6765f1540d7acab043fba75ef0ddbc686811292 authored over 11 years ago
ninja: Enable deps mode on non-windows.

Windows will follow soon, if the new 1.3.0.git binary has worked well for a week
or so.

The Ope...

b0063b0c9b2d3e0903d3cfe9510264908e310ca9 authored over 11 years ago
Revert r1637, it broke gyp for chromium (due to use_titlecase_in_grd_files in

build/common.gypi).

Also revert r1638 since it's no longer needed.

Add tests for default variab...

31e6339d3184649ce072979d420786bd3e4e5f6b authored over 11 years ago
Fix test/variables/commands/update_golden.

Without this fix,

cd test/variables/commands && ./update_golden && cd - && \
./gyptest.py tes...

0c6367906a8739ed89dc2766512e81568c229407 authored over 11 years ago
Fix for empty default variables used as paths.

With r1637 default varaibles used as paths are now being relativized.
However, if the default va...

cebbcf747c2899132e1cfdb09957c11fb817519e authored over 11 years ago
Fix pathname relativisation of variable defaults.

Variables set as defaults with the "foo%" syntax were not being
relativized because the % was be...

de62da5764c5ecd810212a2012428391695a3fb8 authored over 11 years ago
Android backend: fix references to source top dir.

$(gyp_intermediate_dir) is sometimes an absolute path, and so trying to
convert it from relative...

18b4fe66fcd511b3f8968a94b026a7fa8cf5b23a authored over 11 years ago
Fix _wrapper vars on win.

Workaround for environment vars being uppercase on Windows Python.

Quote the path to cl.exe in ...

a550dd22b6c28bb1a16fe9d406030a0f755ad79d authored over 11 years ago
Android backend: use 'match' parameter in test harness.

We were using the wrong variable in the Android stub version of
run_built_executable. This doesn...

3c714f50278ccbaed2ee11a86e78338684db9479 authored over 11 years ago
ninja: Implement -Guse_deps=1 for Windows.

Let it use deps=msvc, but still use -t msvc to set up the environment.

BUG=chromium:232421
TBR=...

4043b11dabf4ead5e930b9bdc113362144932dcd authored over 11 years ago
Android backend: fix multi-output rules.

Rules that generate multiple output files (like protoc) need the same
workaround as actions; the...

4aeee52f36aeac0d31ac612f513c605406a98137 authored over 11 years ago
Change iOS test target to 4.2

Target iphonesimulator6 or 5 aren't on the bots.
Review URL: https://codereview.chromium.org/149...

5ff0e575e9aedf05a31fe06eed5661f757c22bc1 authored almost 12 years ago
Support iOS application bundle structure.

Ninja was defaulting to building the mac desktop bundle structure. Added a way
to build the iOS ...

c0d279c53da37dfdb2984a13a802c622e13af728 authored almost 12 years ago
Don't use thin archives on OpenBSD

OpenBSD's binutils doesn't support thin archives. The make generator
backend already knows to a...

15da062f52745dd29a44de9bde83be083ba6dd9b authored almost 12 years ago
This adds the --config-dir option to specify an alternative to ~/.gyp

for finding include.gypi (and other configuration options).

The user may also set GYP_CONFIG_DIR...

7e2399c80b851754358adffc821699045534cd0e authored almost 12 years ago
android: Simplify ldflags processing.

NormalizeLdFlags existed to filter out various linker arguments that
don't belong in the Android...

e5ac481e99a5011f0ae3cb7e3ef0f8c4f9aa998f authored almost 12 years ago
Only generate output for each configuration once. https://codereview.chromium.org/14139030

git-svn-id: http://gyp.googlecode.com/svn/trunk@1624 78cadc50-ecff-11dd-a971-7dbc132099af

5d7caaa2372731d18a3cd134277a0ab596a49314 authored almost 12 years ago
Strip unsused keys from plist.

Remove keys with associated values that have not been replaced by
environment variables. This du...

4eace4f5d8a1f4cdfc2fb1c9452f735926390557 authored almost 12 years ago
Handle non binary bundles and environment variables in include paths.

BUG=chromium:236517
TEST=Added test to non-strs-flattened-to-env and postbuilds
Review URL: http...

d3a6a0b094f015405e1ca4dfd77e4d00a3a0d9cb authored almost 12 years ago
don't run external_builder test on < VS2010

msvs_external_builder is MSBuild-specific and so fails on 2008. Fixes currently red win32/64 bot...

1732d0f1afd0dac7f4b28e99d658c497982e8cfb authored almost 12 years ago
ninja windows: keep cc as something valid for c99conv

Keep "cc = cl.exe" around because c99conv uses it to try to find what it
should use to preproces...

de8379524471d7e3833f8c897a877b5e5c6ff1d0 authored almost 12 years ago
Add forgotten tests from r1618.

git-svn-id: http://gyp.googlecode.com/svn/trunk@1619 78cadc50-ecff-11dd-a971-7dbc132099af

9b6021dbd8077b598390be02cb4b9fd93774f351 authored almost 12 years ago
Integrate ninja build with Visual Studio

This change allows plugging in external builders to the
msvs projects. This is activated by def...

126a82ef6a89c06a38045022c2dc602970cf4756 authored almost 12 years ago
Review fix for https://codereview.chromium.org/13864005/, 4 -> len(str)

git-svn-id: http://gyp.googlecode.com/svn/trunk@1617 78cadc50-ecff-11dd-a971-7dbc132099af

dbdab4f651940651b748feae9feda1d624aaaf2f authored almost 12 years ago
Handle ninja_use_custom_environment_files case in GenerateEnvironmentFiles.

(More fallout from r1612)

[email protected]

Review URL: https://codereview.chromium.org/...

8f93a7f326c7bf51e8ff190e2284a51e6646cd16 authored almost 12 years ago
Yet another attempt at fixing Windows bot after r1612

[email protected]

Review URL: https://codereview.chromium.org/13864005

git-svn-id: http:...

9c1c11ecc286e86e1d80b11ebc16317632c620f9 authored almost 12 years ago
Fix build break caused by r1612

- Don't generate windows environment files on non-Windows
- Don't use `where` to locate cl.exe -...

c07176d73ecf815c767b24dee72088edfa4d6b6f authored almost 12 years ago
Dropping the scons generator.

The scons generator has not been used for some time and is known to no longer
be at parity with ...

46b4f67e79748c751cb2ec7e769bc2cfbcfb9f79 authored almost 12 years ago
ninja windows: Fully qualify path to cl.exe

Part of upgrading to ninja trunk with more efficient dependency
tracking.

Does path search for ...

6ebcc46a4bf2fd4bf120c5b8855fb72ba78b9f1a authored almost 12 years ago
xcode_emulation: Do not redirect stderr when calling xcodebuild.

For someone, `xcodebuild -version -sdk macosx10.6 Path` would print

2013-04-12 17:18:59.803...

b36d6203101d7bfc3311e4099ac3ecd5e0dc5aa9 authored almost 12 years ago
ninja: Add an opt-in option for the new deps feature.

This is supposed to be used for letting a couple of folks opt in to this new
feature (which requ...

1ceaf96d2b0b7f9825ddce772a58d934cb857a68 authored almost 12 years ago
Update ninja_syntax.py from upstream.

This is ninja_syntax.py as of ninja commit
368f5bc64ddd2dcea2662d6c932157314be3e09b . It's newer...

a46c8832ac3d33d9d2ef8b743e968a7cd603c4d8 authored almost 12 years ago
Human readable error if the gyp file isn't a dictionary

Add a human-readable error if a gyp file doesn't evaluate to a
dictionary. I lost about 30 minu...

6916d3b92b0fbef8bc96d9153d28c6bd70cf03c9 authored almost 12 years ago
Fix rpath for components when cross-compiling.

This came up while bringing up the components build for Android. Trying
to run v8_shell failed: ...

6b00a9ff28317a25380e1f1157afaf4337e8fb44 authored almost 12 years ago
ninja/make (Xcode emulation): permit SDKROOT to be an absolute path (again)

This broke in r1595. The old logic was to compute a path for anything that
began with "macosx". ...

0f416e49e716f6aded6b1a6422d88b9d6c9d5adb authored almost 12 years ago
Speculative fix for spurious xcode test failures on the bots.

Filter out "No recorder, buildTask: <Xcode3BuildTask:" lines from stderr
when using Xcode. They ...

d1980cae9cb7c2e16a57fe6715d7f9399c9dd868 authored almost 12 years ago
make: Add rpath when linking shared objects with a non-standard suffix

The make generator does not keep track of which targets are shared
objects and instead relies o...

4ca4ae996466c45ff14152560f923a86ead33e68 authored almost 12 years ago
Fixes to msvs_large_pdb functionality to make it work with ninja.

The target_list has to be in topological order (any dependencies come before those targets that ...

b91ac3c024ca836327c66428877fe9dc67ed59e8 authored almost 12 years ago
Make pymod_do_main work when no path is given to the .gyp file.

Review URL: https://codereview.chromium.org/12973005

git-svn-id: http://gyp.googlecode.com/svn/t...

b0268d40fe37dc03e38c771fbb04c4a356b0a613 authored almost 12 years ago
Use flock on OpenBSD.

This undoes the change made in https://codereview.chromium.org/12389082 .

I have tested this on...

bc5a25d06d47b9e1bb0bb0c4d6b3c678e3e721a0 authored almost 12 years ago
Create msvs_large_pdb workaround.

This creates a workaround for targets whose PDB sizes exceeds 1GB, using the same trick original...

9ee1e40e50f3148f691965a0829709f0d25b0412 authored almost 12 years ago
mac: Try to get tests green on xcode as well.

Two tests currently fail with
error: can't exec '/Developer/Library/Xcode/PrivatePlugIns/Xcode3C...

82e74024bea550ad1c0262e4ffdfe30fc61d3738 authored almost 12 years ago
mac: More flailing trying to get tests green on the bot.

TBR=mark
Review URL: https://codereview.chromium.org/12916006

git-svn-id: http://gyp.googlecode...

5c5f6fed4e1997ca2a21c3bea78b712e47f9c3f2 authored almost 12 years ago
mac: Try to get test/mac/gyptest-sdkroot.py to pass on both bots and dev boxes.

Fallout from r1594.

TBR=mark
Review URL: https://codereview.chromium.org/12901002

git-svn-id: ...

e0ac41598b40cf16d15f719e2adeea0b7885c908 authored almost 12 years ago
mac: Try to get the two new clang-specific tests pass on the gyp bot (Xcode 4.2)

Not sure if 4.2 can target 10.7, so maybe it won't work.

TBR=mark
Review URL: https://coderevie...

bac8efc8bcffe74323e9e05d8b46d8465b97dc70 authored almost 12 years ago
improve xcode_emulation.py

+ Improved SDK path lookup: now also supports iPhoneOS and iPhoneSimulator SDKs
+ Adds support f...

07729ba52e877ad288263b39bd67743e5a238b10 authored almost 12 years ago
mac: Fix gyp tests to pass with Xcode 4.6

Changes:
* cc is now clang, not gcc
* move sdk to 10.7
* make an error message slightly less spe...

b26acf5e5b3caac5b10c0027b63c8633a7c82c3d authored almost 12 years ago
emacs gyp-mode: Fix very slow string tokenization problem.

Gyp-mode uses forward-sexp which can be very slow on Emacs 24.3.50.1,
making it appear that Ema...

7ab1ab090dfda4d004430d2f579edfc154158aa1 authored almost 12 years ago
Make gyp work on OpenBSD.

BUG=none

Patch by Pawel Hajdan <[email protected]>
Review URL: https://codereview.chromiu...

1ceb9318fc52c93e50c74028f81fc858ab0284a7 authored almost 12 years ago
Command wrapper support for cc_host and cxx_host in ninja

[email protected]
BUG=

Review URL: https://codereview.chromium.org/12423002

git-svn-id: ht...

ae92c3438d84b1149ff499a0ab2cbf91e07d9fa7 authored almost 12 years ago
make generator: make gyp recognize OpenBSD

BUG=311
Review URL: https://codereview.chromium.org/12389082/
Patch from Aaron Bieber <deftly@gm...

a0d04986c479a6b48f496d2b377ea2b657ab89fd authored almost 12 years ago
Allow GYP targets to depend on themselves if they have the

'prune_self_dependencies' set to 1.

See https://codereview.chromium.org/11642018/ for more conte...

276a19331326c397f944ce092554fafc2e841210 authored almost 12 years ago
Support command wrapper in make_global_settings

If $cmd_wrapper is defined in make_global_settings, it will be
prepend to $cmd. For example,
'...

3951e9b4c490b0a7c822b93384e5f3ebc8abd312 authored almost 12 years ago
Remove default import library inheritance/configuration.

BUG=176040

Review URL: https://codereview.chromium.org/12256017

git-svn-id: http://gyp.googlec...

fb064d80ea22891a8d1e9e2c065f6ed7a5c9ad61 authored almost 12 years ago
Improve performance of gyp hot functions

Improve performance of several hot functions identified through
profiling.
__init__::DebugOutp...

e57bc16e9c9dfa3cd39b9c0fc7a1a5fa66a1903c authored almost 12 years ago
Turning back on gold as it should now be on the bots.

BUG=http://code.google.com/p/chromium/issues/detail?id=108251
TEST=None
[email protected]
Re...

abb209fde1a5434477d72e96fa6d20362b778c68 authored almost 12 years ago
ninja: Pass -rpath-link when passing -rpath.

Gold works fine without -rpath-link, but GNU ld needs it. The make generator already does this.
...

15f79e0c5cf9bf10c964d40af83a03750effadb7 authored almost 12 years ago
Set the correct architecture for the MIDL compiler

Patch from [email protected]

git-svn-id: http://gyp.googlecode.com/svn/trunk@1577 78cadc50-ec...

1dde5400da286b65346f70da2dee4e1fbbe70b16 authored almost 12 years ago
make, ninja: Let a failing postbuild stop all later postbuilds for the same target.

Previously, all postbuilds would always be run. The old behavior matches Xcode 3,
the new behavi...

fbc898019b1a500324a0ad89894a2b8b366ec8c2 authored almost 12 years ago