Ecosyste.ms: OpenCollective

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

github.com/electron/gyp


https://github.com/electron/gyp

Detect all ninja's include dirs in Eclipse generator.

The Eclipse generator assumed that SHARED_INTERMEDIATE_DIR was at
out/ConfigName/obj/gen, which...

061b1ecd71abd3060d5646a84a7105e571516202 authored almost 12 years ago
xcode: Add support for storyboard files

Patch from Amit Joshi <[email protected]>!
Review URL: https://codereview.chromium.org/12213116/...

352eca398f07c4616f8b70f47504f0bfe254fb86 authored almost 12 years ago
Fix test/mac/gyptest-app.py with Xcode 4.2.

Xcode 4.2 got stricter about strings files. Make make and ninja stricter too.

BUG=chromium:1758...

508a41bbbe7d80a0e2371f21b0bb6c484fd579aa authored almost 12 years ago
xcode tests: Update exit codes for Xcode 4.

Fixes gyptest-ldflags-passed-to-libtool.py. Change other tests checking
the exit code for consis...

f59557f654455f51d47ccd1137c64d2f5e7ff0fc authored almost 12 years ago
xcodebuild: Fix most rebuild tests on Xcode 4.

BUG=chromium:175867
Review URL: https://codereview.chromium.org/12221156/

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

2e51f09663c40434f3f18b55bbabf80c36df4175 authored almost 12 years ago
mac strip test: Update expectations for Xcode 4 toolchain.

The bots switched to Xcode 4.2 recently. Like a comment in the
test says:

# The actual number...

941a2ea1954e8535256b4548b181e63e95489a40 authored about 12 years ago
windows: test for msvs_shard and support in ninja

Main code moved from msvs.py to MSVSUtil.py (named to correspond with the rest of the MSVS helpe...

3102ef6988023572afa56b6f0db321cd81790b63 authored about 12 years ago
Reverting accidental change to test/lib/TestGyp.py

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

e0457004c3634747b7786db53a5ed85106cea925 authored about 12 years ago
Speculative fix for mt.exe general error c101008a (The parameter is incorrect).

The fix makes sure that the target manifest file is deleted before running mt.exe.

BUG=173052

...

c53e73cade2f88639fe2759522cbb30a9abd4d30 authored about 12 years ago
Xcode: Coalesce multiple "copies" sections in the same target with the same

"destination" property into the same PBXCopyFilesBuildPhase.

TEST=gyptest.py test/copies/gyptest...

5f30bb815433b9feea320d7221182e79363848f1 authored about 12 years ago
ninja windows: Make pch work on VS2012, and simplify implementation

Previously, the chromium .gypi files injected a .cc file for PCH, which compiled "normally", and...

aa153a1bb19a7aac8a10243246f8703a7164e4a1 authored about 12 years ago
android: Filter host tools out of PATH.

When running actions/rules we need to filter the Android host tools out
of the PATH because they...

a31f072f1af2ce491aa13b144b08259f2fa8728e authored about 12 years ago
Android: use relative paths for action/rule/copy names.

qualified_target is an absolute path; create a relative version for use
when generating names of...

da4eb6493589791252c488509b4c45c238d2455a authored about 12 years ago
Update GYP PRESUBMIT.py to adhere to the new copyright boilerplace policy.

BUG=chromium:140977
Review URL: https://codereview.chromium.org/11967026

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

19501fb2a0a869e744ad9e3af0b71e7a1aa40a60 authored about 12 years ago
Add android test runner to buildbot_run.

Add a build step that can check out and build an Android tree suitable
for running the 'android'...

f1d6506f0acf422f5a5dbe0e7a3af47ee6c26c2c authored about 12 years ago
windows: Add support for overriding pdb name for compile step

And test for same for both msvs and ninja generator.

Part of solving http://crbug.com/170186
Re...

a1485fee37daca8c7a50742ea77e33aa3c857770 authored about 12 years ago
Change ninja rpath generation to be more like make.

Currently, the ninja generator adds -Wl,rpath in every executable for
linux targets, while the m...

b6d5e808adf452e7ec8168e12d39384a47ac0b42 authored about 12 years ago
Create intermediate PDB files in sub directories.

This patch does not fix any problem actually but makes the build results
cleaner. With this patc...

12d97efcb0d2cbe321ab6f050c2b2311e7048429 authored about 12 years ago
Fix typo in error message: PARELLEL -> PARALLEL

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

628959471e5a3d35150e21fe3bd1315d5d08bd3d authored about 12 years ago
Support overriding path to VS without referring to the registry.

Add GYP_MSVS_OVERRIDE_PATH to point directly to a compiler installation.
Previously, the registr...

0d06fcf1f666732f990d5643f3f8f35335027d1d authored about 12 years ago
Teach ninja to handle output directories outside the source dir.

Currently, ninja only works when the output directory is a subdirectory
of the source dir. Thi...

2724da9e5f57957af502ff40ed586fd6351a5f71 authored about 12 years ago
Add /LARGEADDRESSAWARE support for Ninja on Windows.

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

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

cb03a01102b6367f1705f4249b3896e6e67224e7 authored about 12 years ago
I found that msvs_settings/VCLibrarianTool/LinkTimeCodeGeneration is not supported by Ninja. As a result, you will see a warning message: "foo.obj : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance" when you build a static_library target with /GL option.

There were two issues:
1) GetLibFlags method did not recognize LinkTimeCodeGeneration, and 2) 'l...

13060de6262372db24b9b1078e32b599acb14dcd authored about 12 years ago
Add 'EnableIntrinsicFunctions' (/Oi) support into MSVS Emulator for Ninja.

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

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

20c0daea0ef87a5831eeccf2f16c292519e7a231 authored about 12 years ago
Add 'TerminalServerAware' (/TSAWARE) support into MSVS Emulator for Ninja.

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

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

92e211b6d2be60e32ec28a3099959e24604f0777 authored about 12 years ago
Ensure GYP_PARALLEL prints error messages. Errors sent to stdout were being swallowed by gclient runhooks; moved them to stderr. Also added an informational message when there's an error, and made it so that GYP_PARALLEL=0 disables parallel processing. Review URL: https://codereview.appspot.com/7000046/

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

b0e7c03c077bf4df54995565770e990df1846909 authored about 12 years ago
Define replacement rules for $(VSInstallDir) and $(VCInstallDir)

when and only when Visual Studio is actually installed.
This is because these locations may not b...

9717f51ccf41777ce5076164e736656c700811d4 authored about 12 years ago
Fix/disable various tests for the Android backend.

The Android backend doesn't support some of the features being tested;
disalbe the tests to fix ...

49f5a9877ff88aa5e04b305674a0b56eb378f1d6 authored about 12 years ago
Android backend: implement PerformBuild and fix configurations.

Implement the PerformBuild function for the Android backend, and make
CONFIGURATION_NAME expand ...

54aee1941b7d83836bef1d9553e1961e6aad1b71 authored about 12 years ago
Make generator now stores all toolchain overrides in

generated files.

For ninja, and in most cases in make, the CXX,CC,LD
settings sepecified at gyp ...

3ae45ea0689cdd8777d13f943ac3b73d87c6c0e7 authored about 12 years ago
Disable regyp in the Android backend.

It doesn't actually work in many situations (makefiles get regenerated
in the wrong place) and i...

dc9d50a9c015fa86d8ffae123d63173cf5bd7b73 authored about 12 years ago
Add TreatWChar_tAsBuiltInType option support for Ninja.

This change set also removes an unused directory, /trunk/test/ninja/force-include-files-win/, wh...

20e9eb8c512a54f8033d0a3c9669cc5021b3d30b authored about 12 years ago
Add support for AIX in GetFlavor().

BUG=gyp:298
Patch from Andrew Paprocki <[email protected]>
Review URL: https://codereview.chrom...

2324c0e93231f814f0022e55bf7e25a8433eb8e9 authored about 12 years ago
Complete migration to GypError for user-visible errors.

This is a follow-up to r1496 which removes the
remaining uses or python exceptions for user
gene...

448f2e0024707fa22f40ebd8c509dfbd72d70646 authored about 12 years ago
Allow a user to use custom environment files instead of ones generated by gyp for Ninja.

Our project would like to cl.exe/link.exe in hermetic build environment. In our case, current Ge...

d83e09e1fdbb577c0c9b1fa03f190d76cb7d93f4 authored about 12 years ago
Move a test from test/ninja to test/win/compiler-flags for the consistency.

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

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

c8cba1ceaef0eaf380283a5f8113e51fc9fcea2e authored about 12 years ago
Add support for /J (DefaultCharIsUnsigned) in Ninja.

This patch set enables msvs_emulator to emulate VCCLCompilerTool/DefaultCharIsUnsigned.

BUG=
TE...

2de5f0418dfcb175616561d5571b2060aee527eb authored about 12 years ago
Remove option "-r ." from msvc target for Ninja.

The latest Ninja/msvc tool does not recognize this option.

I found that the latest Ninja fails t...

472e93085f9efa1acb1d777382c2265163af4cce authored about 12 years ago
Enforce unique basenames within each individual target for shared and static libraries

Also add back the deleted test.

BUG=chromium:162859
TEST=test/same-source-file-name/gyptest-*.p...

ee3aad419712c8d9648695a8c716560329599624 authored about 12 years ago
Support VCCLCompilerTool/ForcedIncludeFiles in msvs_emulator.

This patch set enables msvs_emulator to emulate VCCLCompilerTool/ForcedIncludeFiles
fields, whic...

63258b1bd7053628d9cb06d64e674dd1756c3a6d authored about 12 years ago
Android backend: tidy up the --suffix handling.

Make --suffix .foo generate a makefile called GypAndroid.foo.mk,
instead of GypAndroid.mk.foo.
R...

aa8606012db2e9a370a32ced181e16b19e276f4b authored about 12 years ago
ninja windows: Support x64 configuration platform

This supports top-level x64 configuration so the entire
project can be built as 64 bit. Previous...

cb7a494ec635b2e8691af06ae557ed637e4e82f5 authored over 12 years ago
ninja/mac: Let copies sections that copy stuff inside a bundle mark the bundle

as dirty.

BUG=chromium:157077
Review URL: https://codereview.chromium.org/11362051/

git-svn-id:...

59faf13dc34ddce4d2572465e5cee4337a34470b authored over 12 years ago
Update ProgramDatabaseFile for Ninja

Replace simple text with OutputFile style expansion to
handle cases where $(OutDir) or other VS ...

10defb6b1dea70c51076dce765d2e359b7943de7 authored over 12 years ago
Insert empty line at to fix patch.

gyptest-link-pdb.py was checked in without a blank line. This appears
to cause a patch issue wi...

171d088c070742cfac3127f479eb2ad89a8b6b9c authored over 12 years ago
Add support for ProgramDatabaseFile to Ninja

Currently we ignore the ProgramDatabaseFile option in the linker
portion of the GYP file. This ...

7a9065df64cfbf8dd74a6d925d0df3ea7df78fde authored over 12 years ago
Add gyp support for Core Data datamodel (*.xcdatamodel) files

Contributed by [email protected]
Cloned from:
http://codereview.chromium.org/11275067/

BUG=303...

eff8be6492e26283d457ce7f6d13309d2390c712 authored over 12 years ago
ninja windows: emulate msvs generator behaviour for msvs_error_on_missing_sources=1

BUG=chromium:158651
Review URL: https://codereview.chromium.org/11347053

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

1bbc312e7c271e037242102d3cba22e2166f71c0 authored over 12 years ago
Add support at test for /PROFILE in Ninja

On Windows, have Ninja scan VCLinkerTool to a 'Profile' key.
If 'true', then set the '/PROFILE' ...

1617baef34bf4ffbab60c7578cd05b0fdcb92400 authored over 12 years ago
ninja/mac: Remove mac_tool variable, it wasn't used for anything.

No intended behavior change.
Review URL: https://codereview.chromium.org/11305011

git-svn-id: h...

5a42139077a04cbaa8955b7e55e2f77d1fadf27d authored over 12 years ago
Fix dump_dependency_json.

dump_dependency_json needs to define CONFIGURATION_NAME like the other
generators, otherwise it ...

20568c84a371274c21a763a5680bad0b9bea081a authored over 12 years ago
Android: replace NONE module class with GYP.

Instead of mapping gyp's target_type: 'none' to an Android module class of
NONE, map it to GYP. ...

b76ec9bdb6930dc7a493c901c8a4f72ab8a64ac9 authored over 12 years ago
ninja windows: add flag support for code analysis (aka PREfast)

Also add test for same for both MSVS and ninja. This test is
only enabled on VS2012 for now. The...

b5084b9b9bf95491ca350f1f1d15e517b40b9918 authored over 12 years ago
ninja: Don't try to use -MMD / .o.d depfiles with .s files.

BUG=gyp:297
Review URL: https://codereview.chromium.org/11186038/
Patch from Ami Fischman <fisch...

5e23f8c703406b6f4b3e82887ca76532f5e19ad3 authored over 12 years ago
Android backend: allow targets to have unmangled names.

The Android backend mangles gyp target names because the Android build
system requires that they...

15e31a45b472ac7916febbfc73c05c5daa1cdac8 authored over 12 years ago
Make Ctrl+C kill gyp when parallel processing is on.

Manually tested these cases:
* Normal success case
* Ctrl+C during input file processing
* Sy...

523297f43e0c96a84e53306f8fddebeb483b27f1 authored over 12 years ago
Parallelize ninja generation when GYP_PARALLEL=1.

This is a really easy approach, parallelizing by configs (Debug/Release).
It's probably not wor...

5a10131a4bf9462ebf86224278d8db66487064b5 authored over 12 years ago
Fix my patch-applying-fail from r1516.

TBR=borenet

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

6c312e39f631ee43008e8239a71a20ea1a2610d4 authored over 12 years ago
Add "standalone_static_library" target flag

This flag is only valid for targets of type "static_library"

Adding 'standalone_static_library'...

012857d966fb79be79a5cf51d43777428d538a39 authored over 12 years ago
Fix lint error in parallel processing.

gyp.input fails the presubmit lint check because of an uninitialised global.
The last rewrite of...

58f9b2fb6fe03d5e072d1522f847eebbeac5923d authored over 12 years ago
Android backend: add CONFIGURATION_NAME.

The recently added CONFIGURATION_NAME variable needs to be defined by the
generator in order to ...

0ec4ec596e8af4f091d6ae4193d34da0f6744600 authored over 12 years ago
Revert 1510-1512. The new test fails on all bots.

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

b3e6e5f9ac0c05993c7a38a7ddd68df8a80e6c47 authored over 12 years ago
Try to fix the bots after 1510.

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

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

9b14461b8a4687d0437dcaeb6458c2601934909a authored over 12 years ago
nit followup to r1510: Add '.'s at the end of two comments.

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

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

9e37d6b405bac9c9eca4a640b6c5217a0a84086c authored over 12 years ago
Add "standalone_static_library" target flag

This flag is only valid for targets of type "static_library"

Adding 'standalone_static_library'...

bc070f09a8f53fd47d8bd010b5f48e22d10668d2 authored over 12 years ago
Ninja --generator-output to match other generators.

https://codereview.appspot.com/6566059/

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

2ea5a877b867e93e1dcc42fabe39bba63ad17025 authored over 12 years ago
Load target build files in parallel using Python multiprocessing.

This parallelizes the portion of the processing that took the largest fraction of runtime previo...

9ab98f9c2e167392a6d47baaf3bc430a42dcf4c2 authored over 12 years ago
make: drop all system tests

Rather than probing for ARFLAGS at gyp time, just always use "crsT".
Linux and Android (the two ...

246e97211f7eb17cbdb12e93c74bf2f1463d5ab5 authored over 12 years ago
Correct dump_dependency_json on windows.

Fills in variables that are supplied by other generators and relied upon
by existing gyp files.
...

25bb94a194859e03fb9a7be8e34294c412d97db9 authored over 12 years ago
Allow library entries of the form '-lfoo' on MSVS.

This allows libraries to be specified in way that
works on all platforms.

BUG=

Review URL: htt...

9f65ec7afe80b1a5fc563f8490eee2babbba41d0 authored over 12 years ago
Adding a test to cover XCode UID collisions.

CL https://codereview.appspot.com/6476070/ fixed the issue, this
test verifies that the collisio...

ab7aa2db3022bf6e9264729b46ab1690b00215e7 authored over 12 years ago
Ensure that all entries in .sln files are sorted.

Previously this the NestedProjects section was sorted
according to dictionary key ordering which...

53ffee37d5a4d1af36b1c72104680753c2a902b6 authored over 12 years ago
Make gyp/win32 compatible with upstream ninja.

BUG=147451
Review URL: https://codereview.chromium.org/10907263

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

f7bc250ccc4d619a1cf238db87e5979f89ff36d7 authored over 12 years ago
Fix for msvs output on non-windows.

Its a useful feature of gyp that one can generate
msvs project on a non-windows machine. This ch...

3bd630c5d06d6a985745f24adf7013a5e5984591 authored over 12 years ago
Add support for building targets directly from gyp.

A new --build option has been added which can be used to
build configurations directly from gyp....

08fc464f96f4d8664ae6549d9b7767e8d7fbfa6b authored over 12 years ago
ninja: Hash another part of rsp file names to shorten file name length

BUG=chromium:148829
Review URL: https://codereview.chromium.org/10905247

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

6cf3fba4bae351d1d19b590d7e576e2c6779a77d authored over 12 years ago
ninja: When escaping rule descriptions, don't escape away the magic rule variables.

BUG=chromium:148509
Review URL: https://chromiumcodereview.appspot.com/10913215

git-svn-id: htt...

cea08add5b3b4fb3e346dccb1c64706b836d8a59 authored over 12 years ago
Use GypError for user visible errors.

Using standard python exceptions for errors in user input make it hard is
distingish between err...

d3d94fcdfb9745d6784065cade320c2462924df9 authored over 12 years ago
Revert an unintended part of r1494.

`gcl commit case` somehow committed all changes in my checkout,
not just the changes in CL `case...

806ce27a3ad095f49eb6c3a136178f0b0230e72f authored over 12 years ago
ninja: Survive case-only file renames on case-insensitive filesystems.

See https://github.com/martine/ninja/issues/402 for more information.
Review URL: https://chromi...

986c94a9dbf47043bb0d346fb5cde86ab10feea6 authored over 12 years ago
Fix ninja generator to recognize the 'default_target' flag.

The ninja generator ignore the flag, always using 'all' as the
default. This is a minor problem...

7fd6d6348eda44586628799a31fa6620aa47b124 authored over 12 years ago
ninja: Merge latest usptream ninja_syntax.py. Makes colons in filenames work.

Also add a test, which fails with the make generator. I took a stab at
making it pass, but it's ...

a77d1c0e8a279cf297bc1a3cc4f4e1e449e6a8c6 authored over 12 years ago
Keep going if the Mutex wasn't released by a previous process.

http://msdn.microsoft.com/library/windows/desktop/ms687032.aspx
explains the WAIT_ABANDONED 0x80...

b0797921248fbcd77804b8475c613d5e545f84b0 authored over 12 years ago
Fix eternal rebuild of ResourceOnlyDlls on winja.

A ResourceOnlyDll has no exports, so it generates no implib. This change makes the implib condi...

f7bf97fa22ed8935a2acf1ed6598e671e994eadd authored over 12 years ago
mac ninja&make: Be more compatible with xcode when handling env vars in rules.

Also add a test for env vars in rules.
Review URL: https://chromiumcodereview.appspot.com/109200...

ca4d672bb96a8ae94f2b4c80168e236ef6bc80ed authored over 12 years ago
ninja windows: Fix builtin special variables not getting emitted.

If the arguments to a rule include VS macros that turn into special variables,
they weren't gett...

814453d684ff8941706043fbd9e95aedbe957418 authored over 12 years ago
ninja: Don't replace spaces with '_' in action / rule descriptions.

I broke this in r1484. No behavior change, just looks nicer.
TBR=scottmg
Review URL: https://chr...

5932d035aaf2b8640c7f428c0a29f216792b8755 authored over 12 years ago
mac ninja&make: Expose SDKROOT to the environment.

BUG=chromium:131867
Review URL: https://chromiumcodereview.appspot.com/10898022

git-svn-id: htt...

0b7ad3866a1cc7fbed2e9c88629526bb9c0ccc2f authored over 12 years ago
Land an empty chmod+x file. gcl try can't deal with them else.

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

a6c2e3098fa9b6562475508ab5cd57bdac39def0 authored over 12 years ago
mac ninja&make: Handle env vars in action commands correctly.

An existing test tried to cover this, but failed. Fix it.

BUG=chromium:131867
Review URL: https...

7d3e822ae6077e22879aa1c937f53e02bf035a23 authored over 12 years ago
Removes the use of win32con so gyp works again on vanilla python.

The dependency on pywin32 was added in r1464.

Uses a mutex instead of file locking to increase ...

b844f8de18912e9576b762bf084d3cf695374fc8 authored over 12 years ago
Support for newer versions of Solaris and FreeBSD.

[email protected]
BUG=v8:2010
Review URL: https://chromiumcodereview.appspot.com/10876082/
...

4a9683bce5c77825c369f12f537d6503399cc9e0 authored over 12 years ago
Fixing ID collision if two gyp files share the same name.

If a project has one target that has a dependency on two gyp files of the same
name at different...

40d11e3b1fb259fec9048b3a91c2314a81edb026 authored over 12 years ago
Fix path normalization when a variable is followed by ..

When absolutifying paths, the make generator will no longer collapse
a gyp variable followed by ...

1a0fd49a725699cc439ca58aa5aca6c3baa76372 authored over 12 years ago
mac ninja&make: Pass OTHER_LDFLAGS to libtool for static libraries.

This is weird, but matches what xcode does.

BUG=chromium:113085
Review URL: https://chromiumcod...

5c809bab10c272ab2e34289a2505fc19ccd1da2c authored over 12 years ago
msvs: Ensure trailing slash on IntermediateDir and OutputDir.

Allow msbuild_configuration_attributes to set
ConfigurationType.

Use $(TargetExt) for extension...

7b5c23541a9153f992d6b0ab83e0bea77ed5b486 authored over 12 years ago
Enable pretty xml generation.

Don't overquote in attribute names: No need to escapte apos and if
we do it makes the VS project...

a57c7f05885f986003de09e2ff6f2486e0aef518 authored over 12 years ago
add -Gstandalone flag

This flag tells the generators to not include any reference
to the input .gyp/.gypi files which ...

365cdc471e361b0bad9f27cbe6cde76abc56a343 authored over 12 years ago
Tidy up default toolset for msbuild-based builds.

Cleanup from review here: https://chromiumcodereview.appspot.com/10829401/
Review URL: https://c...

b543b5727fa221fe87cee9c6d328ec9b16d85e68 authored over 12 years ago
Emacs mode for gyp: font-lock edition.

Review URL: https://chromiumcodereview.appspot.com/10264008/
Patch from John Knottenbelt <jknott...

565fc074670ca3a171c2a7eb9e934b5080a153e2 authored over 12 years ago