Ecosyste.ms: OpenCollective

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

github.com/electron/gyp


https://github.com/electron/gyp

Initial support for VS 2012.

Works insofar as the project files load in VS2012, the ninja environment points to the correct c...

1b529a39fe3102509392f063ac6543dd2d7d4129 authored over 12 years ago
fix link deadlock when setting LINK.host to $(LINK)

This resulted in double call to flock on linux/make.

BUG=http://code.google.com/p/chromium/issu...

9906173b9c02491d6c88f43dd4338ddf2829aae0 authored over 12 years ago
Fixes msvs generator for projects with non-default IntermediateDirectories.

Issue was introduced by r1466.

R=bradnelson,scottmg
Review URL: https://chromiumcodereview.apps...

2904b98420a123021f7684fad32149c8bd2488d5 authored over 12 years ago
Honor $CC_target and friends in make generator.

These get baked into the generated build file if they
are set at gyp time.

BUG=
TEST=compiler-o...

54d2f6fe6d8a7b9d9786bd1f8540df6b4f46b83f authored over 12 years ago
Prepend 'call' to all non-cygwin commands to prevent incredibuild from aborting

the scripts early.

There are three cases:
* Command is a batch file
* Command is an exe/com
...

7ba826136cc6a3c904a112dc6a4e739658465909 authored over 12 years ago
Fix the Android Eclipse CDT generator.

This fixes a couple of problems:
- CONFIGURATION_NAME is now getting set. This seems to be a req...

4051c257283eb3ca07dfdedefa34d7e2cd8c1975 authored over 12 years ago
This makes it easier to test combinations of msvs version without having to

muck with environment variables
Review URL: https://chromiumcodereview.appspot.com/10830232

git-...

899e6788a10e995dd40f650dccbd916a0fc0530c authored over 12 years ago
Fixes an issue where OutputDirectory and IntermediateDirectory were being

incorrectly generated without a trailing slash on MSVS 2008.

This only manifested as an issue wh...

d3048f9eb2ac620ee316a5e3d773167e17dc2784 authored over 12 years ago
Fix usage of shlex in unit tests on windows.

When shlex was getting an arg like:
r'"some\interesting\path.file" other_file'

shlex was turn...

0c46e715e6b0ac45348164dce66d3e3bab94a349 authored over 12 years ago
Use flock-style lock on Windows to limit number of concurrent links

This is mostly for goma builds.
Review URL: https://chromiumcodereview.appspot.com/10837168

git...

d1ee989663869e8bc26daf04860593a6861d5da9 authored over 12 years ago
ninja: make cross-compilation use $CC/$CXX for the target compiler

This new patch should fix the mac bot issue.

Took over from http://codereview.chromium.org/9649...

84f03b9a36029f21b40492e58851ca20268a54bf authored over 12 years ago
Revert 1461

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

05b8db2c55c0722a674f0c8a77973f7e29717ff0 authored over 12 years ago
ninja: make cross-compilation use $CC/$CXX for the target compiler

Should fix mac bot this time

Took over from http://codereview.chromium.org/9649016/

BUG=14090...

337cbe587e92641c6a4400716827bc432f55ca3a authored over 12 years ago
Revert 1458 as mac bot still broke

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

1a2ba4a25aedc67324c6caee68b702abd76adeec authored over 12 years ago
Reverting r1457, r1452, r1450, r1449.

BUG=chromium:141132
[email protected]

git-svn-id: http://gyp.googlecode.com/svn/trunk@...

b229ae0751649a2d94c9e7a1be86d5e44ba30411 authored over 12 years ago
ninja: make cross-compilation use $CC/$CXX for the target compiler

Fixed mac bot issue.

Took over from http://codereview.chromium.org/9649016/

BUG=140900
TEST=se...

21df407cfda4be355e2523f919b0ca3f8e1140d7 authored over 12 years ago
Do not use shell for tools take defines in the command line. Angle brackets are passed in the value of GR_GL_CUSTOM_SETUP_HEADER breaking subprocess.Popen when shell=True.

Code review: https://chromiumcodereview.appspot.com/10836144/

BUG=chromium:141132

git-svn-id:...

06f1458f493674eaec1999e1de725f82c3380ffb authored over 12 years ago
Reverting r1453 "ninja: make cross-compilation use $CC/$CXX for the target compiler because it broke in mac build

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

d9d5c0c7552baef8449870753e9966448d57ab4e authored over 12 years ago
fix _FindDirectXInstallation (precommit was complaining)

minor python style cleanups

Add GypError exception class for user visible errors

BUG=

Review ...

2fc70cd0cddfc54809a3ab21b193f778343a3a89 authored over 12 years ago
add support for custom (out-of-tree) gyp generators

BUG=http://code.google.com/p/gyp/issues/detail?id=290

Review URL: https://chromiumcodereview.ap...

1a7515121a2dc972e05cfec42a70fb98544cd8c1 authored over 12 years ago
ninja: make cross-compilation use $CC/$CXX for the target compiler

Took over from http://codereview.chromium.org/9649016/

BUG=140900
TEST=set CC/CXX to cross-com...

b9d1bb5af3bbd9742dfb7e74a3cd34408faf39b6 authored over 12 years ago
Pass include directorites to midl.exe.\r\n\r\nReview URL: https://chromiumcodereview.appspot.com/10823194/

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

f2661a98246f18d0f09e06be468feaf98035fadf authored over 12 years ago
Reverting r1448 "ninja: make cross-compilation use $CC/$CXX for the target compiler" because it breaks Mac build.

[email protected]

git-svn-id: http://gyp.googlecode.com/svn/trunk@1451 78cadc50-ecff-11dd...

9d0ee5cf35e0572c37a7943c6c49ae69382f8b76 authored over 12 years ago
Fixing bogus commit message for r1449:

======
Pass defines to midl.exe.

Code review: https://chromiumcodereview.appspot.com/10843056/
...

b4e426869b012aede842bb2b0454f0ccc3ea1842 authored over 12 years ago
Let GYP recognize the 'WDK_DIR' environment variable when generating ninja output on Windows.

TEST=Build chrome.exe using the compiler from Windows SDK 7.1

Review URL: https://chromiumcoder...

df03f848fbe3f8a1d7e9279afdc6577625e7982d authored over 12 years ago
ninja: make cross-compilation use $CC/$CXX for the target compiler

Took over from http://codereview.chromium.org/9649016/

BUG=None
TEST=set CC/CXX to cross-comp...

77914e670b6661a8f77c2583568db9f818ffcff0 authored over 12 years ago
ninja windows: Add build.ninja variable to turn on dep_database

Part of upstreaming, adding top-level ninja flag indicating that 'depfile'
entry is a key for th...

5148a2dba64db41dc309224546dd5c40e84045f8 authored over 12 years ago
ninja windows: unfork back to 'depfile' name rather than 'deplist'

Windows ninja binary in depot_tools currently supports both as synonyms. One
suggestion Evan had...

8731a9a2d0a6aef6250d5ad40bc3ce01745b1bfe authored over 12 years ago
Fixing issues with path.

For XCode: Fixing problem when 2 sources have the same normalize path, but not
the ...

ec39c78e848f49d3ed33b3775b04b53d9361a67f authored over 12 years ago
make unitests less fragile in the face of debug output changes. This is achieved by ignoring line number differences when comparing gyp output.

Don't report backtrace of skipped tests by default.

Use dict.pop() to retrieve and remove eleme...

3afe3277af466c60b6d35a56f578c09a4c5f4c98 authored over 12 years ago
ninja windows: don't spam reg.exe calls if we can't find DirectX installation

[email protected]
BUG=gyp:289

Review URL: https://chromiumcodereview.appspot.com/10837010

...

30f188cc7920c272371b7c4364f5e948197db1eb authored over 12 years ago
Allow <(CONFIGURATION_NAME) to be used in path for ninja.

The handling of $! variable was supposing that the path was starting with the
variable, and was ...

066d5e75c5f5b006aca02774cb85a3ef0b99b4e5 authored over 12 years ago
Fix bug: non-cygwin actions incorrectly run options through _FixPath.

This adds an additional heuristic to the existing one. Now if an option begins
with either a '/'...

d054b55aff352812fe6a0cc191fe5bf24b1cd122 authored over 12 years ago
ninja/mac: allow path-based specification of SDKROOT

This matches the Xcode behavior of SDKROOT treatment. For SDKROOT values that
don’t begin with m...

eaf01b0fc0c855b5feb90723fe01ea4ac7ed40f0 authored over 12 years ago
ninja windows: don't use /allowisolation with a .def file

Apparently (per http://build.chromium.org/f/client/gyp/) using a .def file
makes the linker thin...

62b326129ee85ec5c10e56b165cbf44fa4406cdd authored over 12 years ago
ninja windows: check correct condition for manifest warning

Was warning when value set to 'false'. Herp derp. :(

[email protected]

Review URL: https...

6d5e970af8bc94f0f9479cb9af65857018132b25 authored over 12 years ago
ninja windows: support basic generation of manifests at link time

Basic support of manifest files being generated. There's two steps to this,
the first is to have...

448a52dfe9691d2b24f152b950b773c59e8b0ee6 authored over 12 years ago
Make sure OutputDirectory, IntermediateDirectory, and TargetPath have their slashes

oriented correctly.

I'm not sure if this is the 'best' way to accomplish this. A better way migh...

8197942c7a463ec426e8a6f3ad10ecfcb44025a3 authored over 12 years ago
Fixing failing gyp-test-multiple-values.

Hermetic cygwin isn't part of the gyp checkout.
Bare actions can't be tested, without using msvs...

21fdfec927e6c146062c13e2eac79ccc655cef47 authored over 12 years ago
Add support for CONFIGURATION_NAME to ninja.

Patch from Benjamin Lerman <[email protected]>!
Review URL: https://chromiumcodereview.appspot.co...

bab5699f3f3689682595f9a5c898ae81d7c1f3f8 authored over 12 years ago
When linking an executable, add the -F options.

When linking an executable, every directory in mac_framework_dirs must be
added as a -F option.
...

1f13a89539cae882bbfbbb3d0cc358bade5aff44 authored over 12 years ago
Modify RegenerateAppendFlag() to skip duplicate values in environment values

This is useful in cases where environment variables are updated by scripts and
so may contain du...

831ee126ee146d0740953d95e586a45b9bdbe26d authored over 12 years ago
Fix how quotes are rendered in ninja and msvs under cygwin.

Specifically, action strings would render like:
'action': ['python', '-c', 'print \'Hello wor...

4bfc711e69c1fb69ec8a6c53286985c7d38c916c authored over 12 years ago
ninja windows: make solib avoid-relinking test work

Fix symbol export and exe extension to work on Windows. Enable incremental
linking which makes t...

df7e2881e053ea8acf2729eccaf3f4de9445ac7c authored over 12 years ago
Fix Make and Android backend to improve printing of lists

- Avoid trailing whitespace when list is empty
- Use new line for every entry, including first e...

235affafcd4202203bbad1bf789d6d5dd5dff57c authored over 12 years ago
Add android makefile generator backend to gyp.

Add a new backend to gyp, "android", which creates Android.mk style
makefiles. This can be used...

9be1d37a9a6561f135412db66806def9f82a29c1 authored over 12 years ago
Switch the default Visual Studio version to 2010.

You can still select 2008 or 2005 by setting GYP_MSVS_VERSION.

When running tests, try 2010 fir...

a5460aff8088b374f5b84e9cb5cacb909afe8ebc authored over 12 years ago
ninja mac: Smarter dylib linking.

This ports http://code.google.com/p/gyp/source/detail?r=1425 to mac.

Without this change, incre...

2f007a8551422a4bc24ce3b96763084dff015b79 authored over 12 years ago
Preserve the mtime of solibs whose API hasn't changed, and enable ninja restat.

This makes it so that changing component-internal implementation details only
causes the compone...

036fcef9173ae8040b42415ed8b9947c1bdda1e8 authored over 12 years ago
Remove the comment for CONFIGURATION_NAME

It's used for chrome build on Android. Ant needs
to know the build type from this variable:
http...

698a3158a493790a3cfe90c7c9d6b7d2f76af0f6 authored over 12 years ago
ninja windows: check for some required environment variables

If these variables aren't available, some tools error out (unable to create temp files, etc.)

R...

ea65280247137765bcccb5210994d49175f23455 authored over 12 years ago
Get ninja working for nacl.

- Add support for .asm files for win32
- Add support for msvs_target_platform
- Update x64 test ...

77b7833a5d31c72fb0e081cebea69a04ac28e767 authored over 12 years ago
ninja windows: workaround for too long names

Hash rule_name/unique_name for now to make the path shorter and get builds working again. We sho...

a99188e0166d99d66b12ce0c08fb1dc1bd171321 authored over 12 years ago
ninja windows: Use sys.executable rather than unqualified 'python'

Isolate from the running environment, and make sure we're directly using the correct python bina...

ec95517528b8f6f5da97be9d0ba101bbb6da15e5 authored over 12 years ago
ninja windows: extract environment during generation and set it per subprocess

Instead of having one wrapper that happens pre-ninja to set up the compiler
environment, extract...

e65925d956487b054ff74556bdc181f69564f708 authored over 12 years ago
ninja windows: Use $in_newline instead of $in in response files

Previously, local version of ninja had modified $in to be \n separated when in response files. U...

03f1812159b4481cfa9126556e077c35b334812a authored over 12 years ago
Print full path in diagnostic messages building with ninja on windows.

This allows to click on messages in visual studio to open file with error or warning.
By default...

ebabe8518b7b7aac9fed6c1a5a80c2ee22c74a4f authored over 12 years ago
Don't make the description for external rules contain the rules' commands.

The description for external rules (where msvs_external_rule != 0) had been set to the full comm...

9cb333281ac8e034ba14dee42de51dd79fe76551 authored over 12 years ago
Fix make and ninja backends to sensibly handle duplicate target names in different directories

Currently, if two multiple targets in different directories use the same name,
gyp's behaviour ...

159fe3f09a7398b3bf48200855888596c1b95110 authored over 12 years ago
Rename test/same-name to test/same-source-file-name

TEST=test/same-source-file-name

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

9c0cb14911f8ebeec921822ef69fbd2f7b7be47b authored over 12 years ago
Fix make backend to correctly handle rules with output files of the same name

TEST=test/same-rule-output-file-name
Review URL: http://codereview.chromium.org/10538055/
Patch ...

ba7d1a2a10920fe6675bc61dd4b4237f39ba7493 authored over 12 years ago
ninja windows: support alternative entrypoints.

'EntryPointSymbol' translates to /ENTRY: in linker flags. This is needed by Chrome's mini_insta...

b35cef2686658d274b39a835e5001139dd3ed8aa authored over 12 years ago
Make backends robust to rules and actions containing slashes

TEST=test/sanitize-rule-names/

Review URL: http://codereview.chromium.org/10535052/
Patch from ...

e7771c0907843e73a75222a2bde44c0cdfe3f6a7 authored over 12 years ago
Fix bug in ninja/msvs/scons generator when there's no default action.

In some cases, an action is only evaluated under certain conditions.
This works in the make gen...

952c8b185cc8152c887e04a4af9e6f1f6a79f75f authored over 12 years ago
ninja windows: support resource only DLLs

'ResourceOnlyDLL' translates to '/NOENTRY' in linker flags :/. Allows creating
DLLs that contain...

302b3e760a52bfcffc06f6cf3b063230cd24f8a7 authored over 12 years ago
ninja windows: include gyp dir in rc build include dirs

To match VS (and fix some .rc build steps in Chromium targets)

BUG=chromium:128729

Review URL:...

81056adf2f046ad554513f62f896a32858363351 authored over 12 years ago
Add toolset support to dump_dependency_json.

dump_dependency_json was only outputting #target targets, not #host. Add
generator_supports_mult...

de68fc77635d5aff76e52ca8255f7f4e16847116 authored over 12 years ago
Minor cleanup.

No functionality or performance change.
Review URL: https://chromiumcodereview.appspot.com/10442...

31d25f6942c7765fc8a4a09863b4e3a8f6ae91d1 authored over 12 years ago
Mac: Test to make sure valid C/C++/Obj-C/Obj-C++ files compile with different flags.

This change would, e.g., catch if -Wno-invalid-offsetof were given when building
a C (or Obj-C) ...

349b0313df76c029b88033bf2bd6c9e00c4f9d03 authored over 12 years ago
Assign value to LIB_DIR for ninja Linux build.

Building libvpx on Linux requires knowledge of the static library file.
Assign the directory pat...

f69a950fea85a78f5a1f1ad009c4d847e0cdc9a4 authored over 12 years ago
Fixing make generator handling of multiple actions in a dependent target.

Multiple actions in a single none target fail to all depend correctly on
the stamps from all the...

3b4fb7c911dee3f66a9df392a2becdab9ffacba7 authored over 12 years ago
Add a few early exits to ExpandVariables.

This makes the functions a bit less indented.
No functionality change.
Review URL: https://chrom...

57fef356c56f5ef3fe6a9397cc19a933cd7269f8 authored over 12 years ago
Update golden files after r1400.

cd test/variables/commands ; ./update_golden ; cd -
cd test/variables/filelist ; ./update_golden...

53183f79d10799d8caf69ebc6acbe8d627a27d1f authored over 12 years ago
Speed up gyp 10% by removing a debug statement that's never used for anything in practice.

If someone wants to debug this, they can just add a local print statement.

32s -> 29.5s for nin...

bfdc31c1c62614f9e12a2c33a51d90fb92ed7dd1 authored over 12 years ago
mac ninja/make: Do topological sort only once instead of at each access.

Speeds up ninja gyp time on mac from 34s to 31.8s.

BUG=chromium:82230
TEST=none
Review URL: ht...

477539a34ba23693c5d7ca49d212d9e99e058c02 authored over 12 years ago
mac ninja/make: Cache _sdk_base_dir at class level instead of instance level.

Makes gyp with GYP_GENERATORS=ninja file generation 20% faster.

BUG=82230
TEST=none
Review URL:...

de72f6cff5a2b60b9e4f611b26571c21f0e21b6b authored over 12 years ago
ninja windows: support precompiled headers

Make existing msvs-only test for PCH be msvs+ninja. Adds various flags to cflags and build rule ...

0ce03407c6be23855228b47338365a1fc038de25 authored over 12 years ago
Add support for GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO to xcode emulation.

Review URL: https://chromiumcodereview.appspot.com/10451028

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

21dc75405e91ff2473d834decf92c9a384e39b6e authored over 12 years ago
Fixing leftover from prior reveiew, plus more lint.

Prior review:
https://chromiumcodereview.appspot.com/10399131/

Fixing more lint warnings.

BUG=...

69c5522a3dc3d0906ab836350f53dae34a9897d3 authored over 12 years ago
ninja windows: support and test for AdditionalIncludeDirectories

Normally gyp files use 'includes', or 'msvs_system_include_dirs', but the msvs
generator support...

289880bf67baa833a7226a0d5a3b96890e6e31cf authored over 12 years ago
Made stab at fixing pylint warnings, supressing the rest.

BUG=None
TEST=None
[email protected],[email protected]
Review URL: https://chromiumcoderev...

46d34d835a9fb416adc83e8cf4aba29204bece0b authored over 12 years ago
Fixing mistake in the mapping of manifest settings from vcbuild to msbuild.

Mt should have been Manifest.
Perils of tests that recaptiulate the implementation.

BUG=http://...

f635090bed695f70f98e90cb933045d2ec465f04 authored over 12 years ago
Fixing hash escaping for msbuild.

Similar to:
http://code.google.com/p/gyp/source/detail?r=1388

BUG=None
TEST=None
R=thakis@chrom...

193868241a3957b8fbab098745458a1bc71311a3 authored over 12 years ago
Xcode: Allows mac_framework_headers to be included for non-bundle Mac targets.

This allows static library targets to export headers like frameworks so they
can be packaged up....

4cfea613522a978e2d34c4b7197fb460b6b4f8af authored over 12 years ago
Try to fix defines containing '#' characters with cl.exe.

Review URL: https://chromiumcodereview.appspot.com/10408026

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

6022df63791b9ee70af740d5ff2330560166ed49 authored over 12 years ago
Try to fix failing tests after 1386.

TBR=scottmg
Review URL: https://chromiumcodereview.appspot.com/10413004

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

2c4c7044f40fa9fc9bf27dd171d24dbed077ebf7 authored over 12 years ago
make: Support '#' characters in defines.

TBR=evan
Review URL: https://chromiumcodereview.appspot.com/10332236

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

63c3cfb35a2f1bdfc0362b626f2b2375804188be authored over 12 years ago
Allow multiple possibe error codes for the "status" parameter.

Use this to make gyptest-objc-gc pass with both Xcode 3 and 4.
Review URL: https://chromiumcoder...

ca50e4158e519b054520ed2a897503a991889a94 authored over 12 years ago
mac ninja and make: Add support for GCC_ENABLE_OBJC_GC.

Review URL: https://chromiumcodereview.appspot.com/10409007

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

84791a1bd5c7e5336b3dbc61d14c99130183aca2 authored over 12 years ago
Revert r1362: MSVS 2008: Fix to ensure that actions are re-run when the command changes

This change caused a performance regression in the Windows incremental
build on the Chromium bot...

18c2a16fdfd8b0aba4b691ceca6cabb839614abb authored over 12 years ago
msvs: add some touches to many-actions test to make sure incremental works correctly

Per discussion here: https://chromiumcodereview.appspot.com/10387164/

[email protected]

R...

16fb10a3f76e43a5bf946e88ac9ea03e5efe505b authored over 12 years ago
msvs: fix regression in r1378, environment not set up properly for multiple actions on one input

The previous method (only setup on first iteration of loop) didn't respect
that the actions migh...

6ef9e771fb083918f003f4c54b1b978f3cad9530 authored over 12 years ago
ninja: Change the default target from 'build everything' to 'build target "all"'.

'all' are all targets transitively referenced by all.gyp. For example:

all.gyp:
targets: [
...

63b8e356da0f86102bf817dadb3967af70e8b572 authored over 12 years ago
msvs: error out on actions w/o inputs

r1378 broke on ninja, not because of command line too long, but because there was no inputs spec...

b420d463019be9e69b08aec104c339d969a7f840 authored over 12 years ago
Two overflows when many actions are in one target/one script.

1. Commands were previously joined with &&, which resulted in the command line being too long
2....

dc21da263b77c43d4781d452e4b291bfa479947f authored over 12 years ago
Correct the order in which OutputDirectory and IntermediateDirectory are

defined, so that IntDir can use the definition of OutDir by topologically
sorting references to m...

5c770284c79f04c043b706f14e464d5ccf74569f authored almost 13 years ago
mac ninja: Don't retrict the file types that can be added as bundle resources.

Review URL: https://chromiumcodereview.appspot.com/10383117/
Patch from Marshall Greenblatt <mar...

0d2a30a2b06d3cb7605c3d8e5512f495ca9399f0 authored almost 13 years ago
mac ninja: Support LD_RUNPATH_SEARCH_PATHS.

Review URL: https://chromiumcodereview.appspot.com/10384109

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

55d19e83539fdc030589072ee9c448cb1556915f authored almost 13 years ago
mac make & ninja: Remove workaround for OTHER_CPLUSPLUSFLAGS being a string.

This is now fixed in the upstream gyp files and no longer necessary.
Review URL: https://chromiu...

90d3d0c4d76d6bcc95b4e42b5866bc4040346575 authored almost 13 years ago
ninja windows: fix long command lines in more cases

Discovered that: 1) the long command line test wasn't testing all the link
command line (.lib an...

9fba0ec74af2e48ee3ece82438ec5abb61db4ecd authored almost 13 years ago