Ecosyste.ms: OpenCollective

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

github.com/electron/gyp


https://github.com/electron/gyp

Use -fPIC rather than -m32 to support shared_library targets on Linux X86_64.

This allows gyp tests to work on 64-bit systems that don't have 32-bit dev tools installed.
Revi...

be5a0c2d715350dd6a00dd950a4f07bdcd487d7f authored over 15 years ago
Fix a typo in the make generator, make it possible to serialize linking.

BUG=none
TEST=LINK variable changes link command.
Review URL: http://codereview.chromium.org/384...

40d53208651631d639500ab9722068c72a4c012a authored over 15 years ago
Remove duplicates from the list of roots on recursive DeepDependencyTargets calls.

BUG=none
TEST=gclient runhooks runs 50% faster.
Review URL: http://codereview.chromium.org/39100...

7c2af92abb0e6dcec294420909084ecd4ea9efcc authored over 15 years ago
scons: really make LD_LIBRARY_PATH=$LIB_DIR in actions/rules

Previous attempt didn't usually work because scons wasn't expanding $LIB_DIR.

Review URL: http:...

859b1849273315ea7dfa9a77c60ee87df4bb7bae authored over 15 years ago
Support Python 2.4 in the make generator and test framework.

TESTS:
python2.4 gyptest.py --format scons --all
python2.4 gyptest.py --format make --all
Review...

a54d88790b76151b535afff679b3d7e08c10cbf5 authored over 15 years ago
Makefile generator shouldn't use a relative path to ~/.gyp/includes.gypi.

BUG=103

(submitted for evanm, review at http://codereview.chromium.org/348054)

git-svn-id: ht...

07b131e8ffa26908c78fa6fdc54afaae01367feb authored over 15 years ago
Make generator: Sort the list of .mk files.

Review URL: http://codereview.chromium.org/371052

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

2957d730fa32afd0afc4e75c63fc950295b772f9 authored over 15 years ago
Make generator: Only write out suffix rules we're going to use. Make gets slower when there's too many suffix rules.

Review URL: http://codereview.chromium.org/374028

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

2861b6b6fed0f0d5e7a5e8dfae4f9e4604906a6e authored over 15 years ago
Add a command cache so we only run things once, clone the variables test to cover this.

Added TODOs for future possible needs.

Review URL: http://codereview.chromium.org/375013

git-sv...

b63e0f07f01f18343a20e44065b4b290d5e695e8 authored over 15 years ago
Clean up a lot of "if test == 'format'" blocks for test conditions

involving built files. Add .built_file_path() methods to the
subclasses that takes provides comm...

2e1293c2505a6215a723d89fcb6897a8a7c61bd9 authored over 15 years ago
scons: set LD_LIBRARY_PATH for actions, similarly to the make build

This allows shared libraries to be installed into <(SHARED_LIB_DIR) and have
build tools find th...

6ec56acddeac3e6dc0feb8655cba226b4f76e75f authored over 15 years ago
Since true/false values are the string values '1' and '0', checking for python False doesn't work.

Review URL: http://codereview.chromium.org/348048

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

7136d45e1193828e00c026cb133289cc11cbcbf3 authored over 15 years ago
Switch rules to share a single .rules / .mk file for msvs because the

limitations of configurations prevent the possibility of a rules being
different between configur...

07619010be1e9cecd99c9f518178a8122b9c1da4 authored over 15 years ago
Adding support for platforms other than win32 to msvs (ie x64).

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/340048

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

57bb4fb4aafc28fe211910149eef729d0ab9af9c authored over 15 years ago
make: Add back default compile rules to top-level Makefile.

This fixes an issue where generated sources (e.g. obj.target/geni/*.cc) don't
match any build ru...

d7a0093b8f5623ee54c5aaff2855742af9b657e1 authored over 15 years ago
make: Generate object files in target-named directories.

This allows multiple targets to share the same source files, without object
files colliding or f...

87be65c3b2317afa26563f0cf0ab7431646c2657 authored over 15 years ago
Have the make generator LIB_DIR resolve to the lib dir instead of the obj dir.

Review URL: http://codereview.chromium.org/347023

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

89931118026b5fef9fe07bdf1e9ae7e563b45861 authored over 15 years ago
Switching vs2008 to be preferred when present.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/341041

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

fe53f466af353f8e9af05f575b2a6f94ffc232a1 authored over 15 years ago
Adding support for configuration inheritance.

BUG=None
TEST=inheritance

Review URL: http://codereview.chromium.org/342025

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

9621efca74be61ae212dd2ca848cb21179c3e8c1 authored over 15 years ago
make: fix shared libraries when cross-compiling

This installs host vs target shared libraries in different directories.

Review URL: http://code...

10fa6d18d83a0a74ac080734eaa5fedbb9360320 authored over 15 years ago
Scons build forces -fPIC into the CCFLAGS for all shared libraries. Stop that.

For some reasons, scons wants to put -fPIC into the SHCCFLAGS by default for gcc on non-cygwin a...

650e7407a77834614bf50c0e752f0fc058bbdd32 authored over 15 years ago
make: fix list of targets for which .d are pulled

all_targets was overloaded to be both:
1- the list of default targets
2- the list of targets for...

03f47b7c86543b4d1170c8bf18028b227f0af9d4 authored over 15 years ago
Fix ProcessVariablesAndConditionsInDict to not modify the passed in variables

dictionary.

Previously, for variables that have late binding, variable definitions in one
target...

d000409829e769fecc7dc40379bf82e33b90d78e authored over 15 years ago
make: Update more tests to match intended (for now) make behaviour.

Review URL: http://codereview.chromium.org/340011

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

1607fbedc64b4ef360ae764a5046ffc2a5eb308f authored over 15 years ago
Update a couple tests for make functionality (working as intended).

Review URL: http://codereview.chromium.org/340008

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

18b1b6eb489661c28a4295f7689f65f9de9f45ec authored over 15 years ago
make: Remove extra path bits for executable targets

Executables always go in the build root, so ignore extra path info from the
sources (e.g. src/fo...

91fa83ad245073aaa055d8cdd26c8222e4f26504 authored over 15 years ago
make: Create exes/libs in their final location rather than copying.

This eliminates the copy step, and also prepares for generating object files in
target-named bui...

0cac27216634036628582961567c25c9f374d23c authored over 15 years ago
Fixing typo from 722.

BUG=None
TEST=None
TBR=sgk

Review URL: http://codereview.chromium.org/338021

git-svn-id: http:...

87cdfda9bf1c9da612d7d312fd2a41fd81e600bb authored over 15 years ago
Changing msvs version selection logic to prefer installed versions over

2005 if 2005 is not installed.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/32...

af8c0732e27453af97d52d6a059de0c4bf27519d authored over 15 years ago
make: Fix .mk include paths when building in deep directory.

TEST=test/generator-output/gyptest-subdir2-deep.py
Review URL: http://codereview.chromium.org/33...

9e56b6cf36560f2b8b758bd111c3b0e51eba96da authored over 15 years ago
Add AUTHORS and LICENSE files, and copyright headers to relevant source files.

BUG=62
TEST=none
Review URL: http://codereview.chromium.org/306051

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

df8224662e615bd36cf8bebae8e58c017201f998 authored over 15 years ago
Adding an additional twist to the addtional targets tests.

Fixing a case where make generator wasn't behaving correctly with shared
libraries.

BUG=None
TES...

a2942fc614cfa7cf267868f91cc71114de72d5cd authored over 15 years ago
Fixing make generator to be able to handle targets with no output.

Adding a test to catch this kind of failure in the future.

BUG=None
TEST=None

Review URL: http:...

3aebc0b95cda686fe72b3fb77f7e5200e0e3ee78 authored over 15 years ago
Fixing divergence in behavior between make and other generators with regard to

which targets are generated.
Adding a command line alias for all targets.

BUG=http://code.google...

b58da7bba84dec4311b0a831ddeba071a50b10e4 authored over 15 years ago
Simplify the API for building targets:

Gets rid of the separate .build_{all,default,target)() methods
(and underlying .run_build() meth...

040d50e7277c41a0b9641dc42c76be8605055637 authored over 15 years ago
In external rules that generate multiple outputs, only use one output as

the dependency of the 'all' target (to avoid multiple builds of the rule),
but put all of the out...

5f64b9b1d8c4bb6d87ca526ea9ae1191f64946e1 authored over 15 years ago
Causing the output of actions to be built when 'none' targets are invoked from

the command line.

BUG=GYP93
TEST=None

Review URL: http://codereview.chromium.org/292028

git-sv...

123531d42ab82020d0b03d61704e836a3d585d47 authored over 15 years ago
Strip the "Shutting down distcc-pump" message (used on the buildbots)

when looking for an up-to-date Xcode build.
BUG=none
TEST=none
Review URL: http://codereview.chro...

d41043d742d504e3092e1224f063c4830eb5b9a7 authored over 15 years ago
Add syntax clean-up from http://codereview.chromium.org/294016 review.

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

fa27902788cf7dcf89f74bd2b4c761a1e43469b0 authored over 15 years ago
Fix some make tests after the cross-compile update.

This cleans up some fragile library detection in the test framework (only
slightly less fragile ...

51f1d5dc511b85ff1e5cb9a65e258a76650d190a authored over 15 years ago
Adding in missing tests from 297006 (incorrectly cloned from 271019).

Oops, forgot to add new files.

BUG=None
TEST=None
TBR=piman

Review URL: http://codereview.chrom...

f6affe1df80f8e59a0e17f2077182ba6c337004f authored over 15 years ago
Add a .up_to_date() method to the subclasses that verifies that

an underlying build tool invocation reports that everything is,
in fact, up to date.
Adds .ALL an...

631d527848120f9f3ba8ebc1e216d1f9cd6f38e1 authored over 15 years ago
Have the MSVS generator provide default values for $(OutputDirectory)

and $(IntermediateDirectory). The default for $(IntermediateDirectory)
matches the Chromium conf...

f9113f9f8144044157f771ddc89282f4ad18d9b4 authored over 15 years ago
Change the gyp test infrastructure to use devenv.com, not devenv.exe,

so Visual Studio will actually report build results on the stdout pipe
that we capture.
BUG=none
...

1e6078a3344136cf0afba10c3c93eeb101398fee authored over 15 years ago
Cloned from 271019.

Submitting for piman.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/297006

git...

821df584822a40838f71013666f9a9ccd3fa8fcf authored over 15 years ago
Fixing issue where copied libraries don't get the right dependencies.

Also adding LIB_DIR and SHARED_LIB_PREFIX and SHARED_LIB_SUFFIX.
Deprecating LIBRARY_PREFIX.

BUG...

d813fe1dcf7ab60f4ab729d1e32199598059b7bf authored over 15 years ago
Don't add ldflags to $SHLINKFLAGS, because the default SCons builders

all incorporate it through the expansion of $LINKFLAGS. This avoids
duplicate ldflags on link co...

7fb8da68050d7442f012330ca94fbc843f5c5404 authored over 15 years ago
When an action has no specified inputs, use the .gyp file as the primary

input file, so that null-input actions work under VS 2005.
BUG=none
TEST=test/actions/gyptest-{al...

abf71a18df9d87d06e1c0745bd5d0194eb4b985b authored over 15 years ago
make: Fixes for 'rules' with --generator-output.

Review URL: http://codereview.chromium.org/276051

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

8e2ab1cd9cc50f54d97914eef6295b041de21571 authored over 15 years ago
Fix issue where make brings in all gyp targets even when they aren't wanted.

This fixes a Chromium build breakage when building 'all' and having it pull in
some NaCl stuff t...

24ba9675396c448775db18a3764849e51f19042f authored over 15 years ago
Restrict tests to '.py' files.

This fixes a problem where the try bot was trying to run gyptest*.py.rej files from a bad patch....

c350386d9dcf1123573e46ae5f6e0d71264aa66b authored over 15 years ago
Support (and test for) actions with no inputs.

Visual Studio needs a file for the custom build rule, though,
so handle this by adding a fake, no...

d27ec050ed1676c69bae71faaa2b675804a2ab73 authored over 15 years ago
Fix if => elif on two more checks for format under test.

BUG=none
TEST=test/generator-output/gyptest-copies.py
Review URL: http://codereview.chromium.org/...

b66cec2e64214931807d29375d51f67830290570 authored over 15 years ago
Fix an if that should be an elif when evaluating the format under test.

BUG=none
TEST=test/dependencies/gyptest-lib-only.py (on mac)
Review URL: http://codereview.chromi...

62fd4c1cab07d74952e4a5b704d2bf79243f2f00 authored over 15 years ago
Make a dependencies actions+rules depend on any downstream

dependent targets as well.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/271091

...

e20fc806b0589c8d3d6acca46c24c7b1299e4c43 authored over 15 years ago
Create a separate test for error handling with misconfigured actions.

Have it explicitly check for the expected error message.
Set eol-style to LF for the .gyp files a...

6d9884b3f09a5dc50a716fbcb21ff3784cb79b1b authored over 15 years ago
Use the LINK variable as the linker commands. It defaults to $CXX.

Review URL: http://codereview.chromium.org/173106

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

068f376600f96fe6ca10e77eb2111b2652e1f60f authored over 15 years ago
make: Fixes for generator-output 'actions' and 'copies'.

Review URL: http://codereview.chromium.org/270091

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

0a7b25b553ea0b2519ea5d24289e7c1542ddaeb0 authored over 15 years ago
This adds some more/better error messages.

Review URL: http://codereview.chromium.org/264015

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

37a6f64232dc1dda7b605ee8dd39c33e2a4d24ef authored over 15 years ago
Fix make generator breakage due to variable name typo.

TBR=sgk
Review URL: http://codereview.chromium.org/272044

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

b238a6851efc794d1edf9fd301ff03a4a4532b4f authored over 15 years ago
Initial --generator-output= support for the make generator:

add a $(srcdir) variable, use it in the pattern rules,
prepend it to various appropriate paths.
B...

bf0ab1b75ee946b39a64b05835d6a8ece3e7c18c authored over 15 years ago
Disable actions-subdir/gyptest-action.py on the Mac.

Review URL: http://codereview.chromium.org/269043

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

81a661e8a471a5da4c84a1594cd9144a5fbae066 authored over 15 years ago
Update test to properly detect make static libs.

Review URL: http://codereview.chromium.org/264034

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

9449c0d870b036080aa41d1168a961d889d5da1d authored over 15 years ago
Batch update 'darwin' conditionals to 'xcode'.

Testing "format == 'xcode'" seems more correct, since the conditionals are
concerned with paths ...

65f1cdd22ad8f73f507077d3baab38c6314f13c8 authored over 15 years ago
Disable the incompatible builddir tests for make.

Review URL: http://codereview.chromium.org/257069

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

42fe9e34656acc5b5ab1e80a8ba557353e12d1f6 authored over 15 years ago
Make generator: get rid of rootdir so we use relative paths instead of absolute paths. Depending on where the source code is, many of our command lines are too long due to absolute paths. (130k chars!)

This fixed http://code.google.com/p/gyp/issues/detail?id=71
Review URL: http://codereview.chromi...

58abd1795068b1ec2800790ea337480773d54ef0 authored over 15 years ago
Fix command-line quoting for make.

This fixes an issue where command-lines with embedded '$' are interpreted by
make, which causes ...

afd208980b73e15a5b4bc9b1848428c6f76ab67b authored over 15 years ago
Fix breakage when 'formats' is not explicitly set...

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/262007

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

c74b5c85e40395cb25f2224bb1b10e1677ca6626 authored over 15 years ago
Support excluding specific formats for a test by prepending '!'.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/257071

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

6ad04b6e549b70953dd344bde17cdabd72843590 authored over 15 years ago
This adds files with no suffix to the list of files that are ignored

as non-compilable files, so that things like the hash file that nixysa
generates can be specified...

0c33c008a4989074bf3c0f3c426855e5f196d2af authored over 15 years ago
Test proper build output path for make builds.

Review URL: http://codereview.chromium.org/255097

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

2d909be324ff899409d12c9256e7ea1351e9db8f authored over 15 years ago
Fixing expected test output to match additional information that got added

at some point. Doesn't fix windows, still in progress.

BUG=None
TEST=None
TBR=sgk

Review URL: h...

b5c485bcde97cc779136964ddbaaafda57032d9d authored over 15 years ago
Remove obsolete RelativePath() processing, now that it always uses absolute paths.

Review URL: http://codereview.chromium.org/259061

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

11b2df7f913292655872b5fda2044ee225780118 authored over 15 years ago
Change relative path calculation to actually work in the case where

paths can be above the current directory.

For example:
In this directory tree:
bob/
joe/
...

1018ed2a4192fea4ab3d748b725c55b26d994365 authored over 15 years ago
make fixes: Force link commands to be run by removing default "order only", and fix LD_LIBRARY_PATH.

This fixes the library tests (at least).
Review URL: http://codereview.chromium.org/251102

git-...

4e67ad31eb6427fda217f11934b7f1377857b6e0 authored over 15 years ago
Make 'loadable_module' output consistent between make and scons generators.

Review URL: http://codereview.chromium.org/256020

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

c839e99eb22ca794a4007a456e6f704f230afc88 authored over 15 years ago
Make RegenerateFlags handle store_true values.

Fix typo that broke regeneration with environment variables, add a test that exercises this.

P...

031237710478fe5eaa8e7558d72c35f80e243190 authored over 15 years ago
Adding extra options to codereview.settings to test changes to gcl.

BUG=None
TEST=None
TBR=sgk

Review URL: http://codereview.chromium.org/256046

git-svn-id: http:...

90885407b1289dc6c9b8d3cab787ef323de5d0a3 authored over 15 years ago
This just adds some more debugging output and useful error messages.

Review URL: http://codereview.chromium.org/258019

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

217082c4e554b3f66e45729e24bbbffb5e9db305 authored over 15 years ago
Process all "store*" actions when regenerating flags.

This fixes the make generator error:
> ('regeneration unimplemented for action', 'store_true', '...

ed06b52d9ebf263eaf13cffb481cbab2fd88a14a authored over 15 years ago
Adding support for .S files to the make generator.

Fixing the scons generator so it ignores .hpp files.

BUG=None
TEST=None

Review URL: http://code...

b020cbb47d1d7871f27cd9c6854d5f69d7998ca6 authored over 15 years ago
Switching tryserver location.

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

9269f06f68c70929a5db04ea448af88015774850 authored over 15 years ago
Add tests for rules with process_outputs_as_sources=0.

Fix the SCons generator so this works with --generator-output=,
which would mistakenly look for s...

34eb5e02e174b184e52a3261023c1b6978df1304 authored over 15 years ago
Better "relocation" support for make shared_library builds.

This facilitates running the built executables outside of the build environment.
Review URL: htt...

13379d1679cf70f1425b6e741146b5f16963b265 authored over 15 years ago
Delete archives and create new ones instead of adding into the existing archives with replacement.

There are cases like r25967, where code got moved from foo.a to bar.a, so we
added the code to b...

c3cf0faf4860ab7daa26378585e0d7d77de43091 authored over 15 years ago
Add a --check flag. This causes gyp to check syntax of files more carefully,

but makes it about 50% slower, so defaults to off.

Patch by Ben Laurie <[email protected]>

Revi...

5606c477943236dbb75e1f2b94c3a69b349a5b0b authored over 15 years ago
Add verification of correct rebuilds when moving functions between

libraries. The use of fprintf(stdout) and fflush(stdout) gives us
deterministic output even on W...

b06ffce92c3e2a37af13f1c35cb098b735c0f1f7 authored over 15 years ago
Add a couple more string-to-int conversions in msvs.py

Review URL: http://codereview.chromium.org/211034

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

90248319c36add37e83d294f1ef3c05b7ebc88ce authored over 15 years ago
Never give the generators ints

Review URL: http://codereview.chromium.org/216027

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

ca359a77c83539ba95896309f9aacc0ba6180868 authored over 15 years ago
In variable expansions, convert strings that are canonical integers into

integers.
Review URL: http://codereview.chromium.org/213027

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

955725e2ea029ef03db7fdefff8a3ac0d09c7f6d authored over 15 years ago
Refactor test/library to test relocatability of gyp-generated library builds.

Rename the library target (and its source file) to prepare for
a test of library deletion.
Review...

bd94f9b3f53e0252712fc5d20ccfabc5dfab9994 authored over 15 years ago
Support use of rules with --generator-output=:

* Fix Visual Studio generator handling of null string input names.
* Update SCons generator to fi...

d1a8c0eebb6aeffabbedcb332d665d9ce5c8a1e2 authored over 15 years ago
Back out r658, which caused test failures:

http://build.chromium.org/buildbot/waterfall.fyi/builders/GYP%20Mac/builds/51/steps/shell_2/logs...

aec358607127b4d3ba7126acbad441a48af000fd authored over 15 years ago
Expand variables in inclues sections.

Patch by Yaar Schnitman <[email protected]>

Review URL: http://codereview.chromium.org/193130

...

57f4aa6e21c108b0f826573bb62fac086dc4a3f6 authored over 15 years ago
Remove gyp_chromium. This file has moved into the Chromium repository, where

it belongs.
Review URL: http://codereview.chromium.org/200140

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

dabefb77ac1b45441a5b3e1efe632edd0ed34f51 authored over 15 years ago
Fix the SCons generator's handling of variant builds (e.g. SYMBOLS=1).

Add a test case to verify.
BUG=78
TEST=test/variants/gyptest-variants.py
Review URL: http://coder...

e1e527a91e8c2db03f6208f55592f08f3b3bcc04 authored over 15 years ago
Remove unnecessary imports.

Review URL: http://codereview.chromium.org/195094

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

315a36e00bc754b242a4394bac74744bb9b47310 authored over 15 years ago
Report tests that exit with the NO RESULT value (2) as no result,

not failed.
Review URL: http://codereview.chromium.org/203061

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

c53be6e40f3b856865005cc6903a304509d09416 authored over 15 years ago
Test cleanup: collect cut-and-paste directory renaming behind a

common TestGyp.relocate() method.
Review URL: http://codereview.chromium.org/204011

git-svn-id: ...

fa5b46b96b21ff75d8b6b3dacc4693b69c43654c authored over 15 years ago
Make generator automatically reruns itself if input files have changed and you run make.

BUG=http://crbug.com/13800

Review URL: http://codereview.chromium.org/171116
Patch from Matt Mu...

c01356ff413b71e18e80d081b33e9cc1cb923440 authored over 15 years ago