Ecosyste.ms: OpenCollective

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

github.com/electron/gyp


https://github.com/electron/gyp

mac: When touching bundle directories, don't accidentally create them.

If the dependencies fail and the build runs with -k, the bundle
directory won't exist yet and to...

467b803b4b592606d132cad0afb61457945f4cd9 authored over 13 years ago
make: Fix bug I introduced when upstreaming process_outputs_as_mac_bundle_resources support.

Also change WriteRules() to be slightly more consisten with WriteActions().
Review URL: http://c...

1925f1101c823ce43ee2e55b9a6c7b897feb2479 authored over 13 years ago
mac: Add a test for framwork bundles

This tests that framework bundles build with both the xcode and the make
build on mac, and smoke...

81057fc97068c1f67c1871f1a63ddf6e2a07640f authored over 13 years ago
Undo unintended part of last commit

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

271959a341d02aa4f30b78dd1c484eecf5d9a000 authored over 13 years ago
mac: Add a test for app bundles

This tests that app bundles build with both the xcode and the make
build on mac, and smoketests ...

283c650658850e499b64d9d4b9b0b383fbfe50e0 authored over 13 years ago
make: Add support for building bundles.

With this change, the make build can build frameworks and app bundles, if
the output path doesn'...

f8fcc8a4851c07bf18a9cbc78376b9712c2c0cc7 authored over 13 years ago
make: Write rules for info.plist files on mac.

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

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

8083225084fd179e1e6357c09b1f4b4260ad86db authored over 13 years ago
make: Put shared_libraries into PRODUCT_DIR on mac.

Xcode puts shared_library results into PRODUCT_DIR, and some gyp files
rely on this. Emulate thi...

9ab39383c23368ab17e6f7bd7d6d0a6181a32710 authored over 13 years ago
make: Pass framework libraries using the '-framework' flag.

Mac gyp files put framework dependencies into 'libraries', for example:

'link_settings': {...

e255eb2d8ac01e67f8fbcac353ee88049e605018 authored over 13 years ago
make: Support mac_bundle_resources.

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

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

1ab1ae40a3f391ce073f803793053f27f329eebd authored over 13 years ago
make: Add a do_cmd for calling mac_tool.

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

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

ff1f8350a0f82afbd184ea2eca6fb26588e494d6 authored over 13 years ago
make: Don't try to parse prefix headers on non-mac.

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

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

52de20c269423e263996d3f77bfb6c7858b61965 authored over 13 years ago
Add a comment to MacPrefixHeader. Also try to unbreak make generator on linux.

TBR=evan
Review URL: http://codereview.chromium.org/7388016

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

f10188539522f7c2dccd5bb3f5e683939e6721b3 authored over 13 years ago
make: Add support for automated pch generation through GCC_PREFIX_HEADER on mac.

Precompiled headers are language-dependent, so in general there can be four
precompiled headers ...

8347e3181c4b66aeb0a2e86c551f609b645f806d authored over 13 years ago
Two tweaks for LINK.target in Makefile generated by gyp

- Add FLOCK so we can easily disable flock
- Put LINK_flags in LDFLAGS.target instead of LINK

T...

f7bb7cedd39551ddec9652ea5b3f63cfcdcafce0 authored over 13 years ago
Make MergeLists much faster.

Previously, we tested membership in a list in a loop. This is very slow. So
optimize the common...

a25e802a43ad7809456dc85b427321de14fd5b4d authored over 13 years ago
make: On OS X, convert 'xcode_settings' to cflags and ldflags.

This makes it possible to build gyp projects with the mac/make build
without having to duplicate...

de9a78bf4f4300c34c6dad8c3c00ad2b41dbcae0 authored over 13 years ago
Avoid regex searches when a match would result in a no-op.

(This is when applying pattern lists.) This results in a measurable performance
improvement.

Pa...

5f9dceba8e9b80c7c7364fba5bd0dbf63e438ade authored over 13 years ago
make: Add support for .m and .mm files.

Delete unused SHARED_HEADER_SUFFIX_RULES

Don't pass -T to ar on mac.
Review URL: http://coderev...

66e803050a5019fc92be1e7cfed0162c0dbbbec5 authored over 13 years ago
make: Let gyptest -a pass on mac for the make generator

This patch adds the two flavors "make-mac" and "make-linux" to the make generator. GYP_GENERATOR...

c27d1917e3441b102ae77b66d792b12c91d7c38c authored over 13 years ago
Add --msvs-abspath-output flag to work around bug in msvs2010 project generation.

See http://codereview.chromium.org/7210040/

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

8f5d2d82969bbed47187c126dbc41baf67173c3a authored over 13 years ago
make: Add mac_tool.gyp

This will be copied next to the Makefile
by the make/mac generator and takes care of some of th...

a803276e6659908e3dc4ad1f5ae7987755fffd50 authored over 13 years ago
Add memoize decorator to gyp.common, and use it for RelativePath() which is hot (and nontrivial).

This speeds up reading gyp input files 10s -> 8.5s for chromium.
Patch by Viet-Trung Luu <viettr...

f5a52009064941d0b668717e5cd92945643acb95 authored over 13 years ago
Applies the change 6883158 again with a flag guard.

Sorting dependencies is effective if and only if the flag
"-G android_ndk_version=xxx" is specifi...

b0d2ddb2fa0248f384d5264b19e22fd4fd13d14e authored over 13 years ago
Fix the license header regex.

Most of the files are attributed to Google Inc so I used this instead of
Chromium Authors.

R=ma...

45254f3a7401b4b63d829f38c426c0635485f1e0 authored over 13 years ago
Add linux3 support.

BUG=chromium:85845
[email protected]
TEST=I don't have a linux3 VM at hand to test it.

Review...

711eb825901ee0a498a78dc1af95f0c64cc4029b authored over 13 years ago
make: Reapply r928 and r918.

shared_library and loadable_module behavior diverge:
- loadable_module only exposes API that is ...

afa3616bae66f1b500fe9c481cd9436a607f4546 authored over 13 years ago
Revert "Reapply r922 with the dependencies reversed."

This reverts r922. It also regressed Windows builds.

TBR=mark

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

58edaedb94a674c3f0fdcd847b3b8740851d90a3 authored over 13 years ago
Reapply r922 with the dependencies reversed.

r922 made sure that the flattened set of dependencies for a given target
were themselves in pre-...

25bafaef9f9733a07d9dabefa0d64c5196d29c2a authored over 13 years ago
Revert r922.

We had a 10% build performance regression on the Chrome Windows builders,
and this seems likely ...

19bca0276f21c2afa7609339543a9185157d100c authored over 13 years ago
make: Revert r928 and r918.

These changes are correct, but we have many incorrect build files
in the Chrome tree. We can't ...

7c892bbe7b9195a31932580493e3201ce5f2e736 authored over 13 years ago
Check in a tool that dumps graphviz output.

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

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

f673dfe2171d4c0f3547058b8e236cbcdd54b816 authored over 13 years ago
make: don't use --whole-archive for loadable_module

r918 removed a hack and fixed it by introducing whole-archive.
Unfortunately, our loadable modul...

f1e1b0f7a3355a24d498d09d831d5470b499fc25 authored over 13 years ago
Rename dump-json.py -> dump-dependency-json.py

This just dumps dependencies.
Nico has some other JSON dumper that dumps different info.
A more ...

de4d0a533d81a3aaec040f8cc00f4f03ee836a38 authored over 13 years ago
Rebase stdout files, add new command_string capturing group.

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

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

dd859966da7108499f20fdd921461a8803562586 authored over 13 years ago
Remove duplicate shlex import spotted by Mark.

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

daf57b57a5a6bbf6c46dbfd03b84db6d5e77073f authored over 13 years ago
ch gyp about configurable filter commands, add "pymod_do_main" filter

The syntax for gyp commands was "<(command)", which will execute "command" in a shell. Now it's ...

fa6abd473d9eae4da03ae72e4d57f7a1ae8d89f3 authored over 13 years ago
Add a "dump-json" generator that dumps the dependency graph.

- Add a generator-specific variable to turn off the automatic
flattening of static library dep...

6d8d580da0b6bcedf646b1b4fbc6e580d0254ff9 authored over 13 years ago
This change sorts the members in 'dependencies' section in the order fromdependents to dependencies.

For example, if module A and B depend on C, and module C depends on D, thischange sorts them in ...

acf56c0daa2304618a75ae11d7a8d328642377e9 authored almost 14 years ago
This change supports '!' and '/' operators for 'dependencies' section.

The list filters are not supported for 'dependencies' sections for now, and
this change supports...

712dbfcd80a63817c1e6397307b1d7bb8db127a8 authored almost 14 years ago
make: left out a part of r919

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

c182bea2df1ac9c9375e486e48a2ddeabb299b02 authored almost 14 years ago
make: support Android NDK

This change generates LOCAL_XXX variable definitions for Android NDK. These variable definition...

bae07d9d14e4bc00822f800486ca73d6e863f7a6 authored almost 14 years ago
make: remove hacks used for shared-object builds

The previous rules made our shared objects include *every* other
library they transitively depen...

345e60a1a1ff196df471ea72e5182552325580cf authored almost 14 years ago
Add more output to long running commands.

This adds a "Finished" notification to any command that uses 'flock'. This is useful when many l...

d3d868e99f9dd5fb78a2d53c4230661a747cb26b authored almost 14 years ago
make: I typo'd the flag for gold threads.

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

fea7c00a66540ffb4cc9de94d4293274dd2fbf16 authored almost 14 years ago
Clone of: http://codereview.chromium.org/6729005/

Landing for rnorton
Review URL: http://codereview.chromium.org/6900057

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

de15c1afebfaa3577368a0636c547b48b0b98812 authored almost 14 years ago
make: Expose a 'linker_supports_icf' flag.

This will allow us to use the flag in some build configurations of Chrome.
Review URL: http://co...

645b7d889366f1125c0330b286cac87c8e7ad747 authored almost 14 years ago
Fixing minor inaccuracy in the presence of colons in paths.

BUG=None
TEST=None
[email protected]
Review URL: http://codereview.chromium.org/6837002

git-s...

56f0c4f502536b336a5042dc4f92cf04a32ecb52 authored almost 14 years ago
Reverting r907 (switching primary input rule).

This never landed in chrome successfully (got backed out, probably
misattribution).
It was an eme...

ffb86337beb6938360c984699f51323a9c91aa6f authored almost 14 years ago
Fixing syntax error (why didn't this show up before?)

Fixing mistakes in buildbot config so it actually works on the bots.

BUG=None
TEST=None
TBR=jean...

49db410d2c638f1a1999bbd4f2a70258d736f8f3 authored almost 14 years ago
Switch to standard chromium presubmit checks for gyp.

BUG=None
TEST=None
[email protected]
Review URL: http://codereview.chromium.org/6760031

gi...

58cc35306d7904897b43f82f85ab70b000f92988 authored almost 14 years ago
Adding buildbot annotator script to drive the build and annotate sections

on the buildbot.
This will let of change the gyp waterfall with in project changes.

BUG=None
TES...

cbfc497b03c0bd2c6bafb0be388b21ee72b73bdb authored almost 14 years ago
Switching back to historical action primary input rule to reduce

intermittent failures on the waterfall.

TBR=jeanluc
Review URL: http://codereview.chromium.org/6...

da955239e6a1b5e005207c389a88039e3ebd415f authored almost 14 years ago
Empty changelist created for Python readability review.

BUG=0
Review URL: http://codereview.chromium.org/6694045

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

41dca0bc90aca0bb8371e20eb8684ef111842987 authored almost 14 years ago
Fix the unit tests to work for Visual Studio 2010. For some unknown reason, VS2010 does not do well with projects located under c:\users\<yourname>\AppData\Local.

BUG=96
TEST=Run all the unit tests
Review URL: http://codereview.chromium.org/6733035

git-svn-i...

c55f9ca139f2900a3e612c892b4276ed4652328b authored almost 14 years ago
Generate .vxproj files to support Visual Studio 2010.

BUG=96
TEST=Run the Gyp unit tests. Generate, compile, and run Chrome.
Review URL: http://coder...

1553e812f560707bbdc16c4cabc371817d5dae64 authored almost 14 years ago
Fix relative path problem for the gyp file.

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

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

9433b6745fa5194c2cc46eeb1c1df7d6ee9fd7ed authored almost 14 years ago
Rename PrepareAction to more make obvious what it does. Change the conversion of / to \ to handle the case where command line arguments starts with a forward slash. This can be the case for some of the Microsoft tools. Fixed path of the gyp file added to the sources so that a relative path is used, which leads to better navigation.

BUG=96
Review URL: http://codereview.chromium.org/6652012

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

5bce957d541bf63c1a373061415e737f9cc8fb88 authored almost 14 years ago
Reconstructing r880 again.

This time using crlf in place of && so merged actions work on xp
with webkit.

Tests enhanced to...

779d9d4c7ae8ccc2a2805094b6eb130c4d03cfd7 authored almost 14 years ago
Back out r897 because it broke the Chromium build:

http://codereview.chromium.org/6629001/

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

5afb65e00e744a6be2a307cb9090dc13d122ed3e authored almost 14 years ago
Xcode: Fix build failure when linking to an external static library whose path

is not relative. Static libraries (i.e., .a files) are translated into a
-l<name> flag, so a corr...

6b4f0fecc1ebaf7f785ae4f1efbc193b49356500 authored almost 14 years ago
Add mac_framework_private_headers key to specify which headers should be copied

into the PrivateHeaders folder in a Mac Framework.

Patch by Adam Barth <[email protected]>.

R...

29f8e2ce4be5527f72745c7345e7b48b090630cc authored almost 14 years ago
Reconstruction of r880.

Collapse actions attached to the same files in msvs into a single
custom build step.

Switched to...

1f5ce07c1c811f17a086311fbf70c876cb54905f authored almost 14 years ago
Adding in test runner wrapper to call small tests.

Listing small tests explicitly rather than globbing so that missing
tests are detected.

BUG=None...

7ed57f6115b7780a742a555d6334bf50eb809a03 authored almost 14 years ago
Allow 'mac_framework_headers' to put files into a PBXHeadersBuildPhase.

The function is similar to 'mac_bundle_resources' (which is itself similar to
'sources').

BUG=no...

c5ff18b9991ffd97d70e296ff3e042c25ed9879d authored almost 14 years ago
make: use 4 threads for linking if the linker supports it

This is a new feature in gold, so we rely on a system test
to enable it.
Review URL: http://code...

98410b4cfd6f4411c25d5c342e587a0c9a16ea95 authored almost 14 years ago
make: test for ar's "T" flag at gyp time

1) Add a "system_test" module to gyp for running tests against
the current system.
2) Use thi...

30dbad1010474d58abd9432759eb4eac0c158644 authored almost 14 years ago
Switching off external makefile (which requires cygwin on windows).

This enables this test to pass for win32 and win64.

BUG=gyp120
TEST=None

Review URL: http://cod...

0a3a28fb25e51572e6dd6c5d0f0b6d63da28e57f authored about 14 years ago
Disabling failing scons tests so we notice regressions.

BUG=http://code.google.com/p/gyp/issues/detail?id=176
TEST=None

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

beef34e881ae5609ac4bd45d62ff7c04c7c39c1f authored about 14 years ago
Tolerate an empty set of configurations by falling back to generate a Default

configuration. input.py handles this by allays offering a Default
configuration even if the .gyp ...

4fcdd886cef5cfc58446e51b17b0b48f46ffd8a5 authored about 14 years ago
Remove junk grabbed by svn when I committed.

BUG=96
TEST=none

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

41dd002306f74e783be25c1c95e2ee13435b1ea2 authored about 14 years ago
Add test to verify that using precompiled headers work.

BUG=96
TEST=This is the test.

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

git-svn-id: h...

56d68cec111b16a8997dd91d912c9eac534d7d71 authored about 14 years ago
Back out GYP r884, which is causing problems for people who use the make

generator and have CC set to something that includes an argument.
Review URL: http://codereview.c...

965314078312572b10ace0c8add6ccd6c960e7d0 authored about 14 years ago
Add a class to make it easy to define complex XML structures in Python.

BUG=96
TEST=easy_xml_test.py

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

git-svn-id: ht...

19a62ddcd582de419ecea5a551ff94ef038af5ca authored about 14 years ago
Fix compilation problem where on full compiles, setup_exe_version.rc would not be generated. This bug was introduced in r875.

BUG=96
TEST=Make a full build.

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

git-svn-id: ...

67e7dafce843c1d49b179d7ca3e5146f0ce2fc4a authored about 14 years ago
make: test for ar's "T" flag at gyp time

1) Add a "system_test" module to gyp for running tests against
the current system.
2) Use thi...

5280d2834940a5c3bd963433ce7a1b4e5aa19437 authored about 14 years ago
make generator: refactor shared headers together

There's no need to concatenate a bunch of strings and replace
a magic __underscored__ name; Pyth...

f078f3438886f62b056557b4b7ed7cf88a8c080c authored about 14 years ago
Back out GYP trunk r880. It's broken.

http://groups.google.com/group/gyp-developer/browse_thread/thread/30793d0f6bb13907

http://group...

07cf2eb55976ad9dfcc35f2be7efe82556c65f8f authored about 14 years ago
The new postbuild step in Chromium's

third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_svg
is running before libwebcor...

26d2ce054dc62a3d78d520b4cbaa72272b0fabe1 authored about 14 years ago
Fixing msvs handling of actions which have overlapping inputs.

Adding test related to issue 44.

BUG=gyp44
BUG=gyp32
TEST=actions-multiple

Review URL: http://...

79c12f478443a3cb3042efc17e41458c1b5a189f authored about 14 years ago
Fix incorrect validation of DebugInformationFormat

BUG=70043

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

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

4c78b8e1af2fc5f7a19d6e960277f7bae1d8753f authored about 14 years ago
Change the Gyp unit tests to be ready for VS2010.

BUG=96
TEST=python gyptest.py -a

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

a64f7dcadb23b8f9538ce9822594e604d883bc0f authored about 14 years ago
Add an xcode generator flag to control the addition of excluded files to the

project.

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

git-svn-id: http...

bc09226aa146f71557f6f22ed54fe21f9dd9ff6b authored about 14 years ago
Add code to detect Visual Studio 2010.

BUG=96
TEST=None

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

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

db88556b8d40b512fbadaed5ecadefd40de29a40 authored about 14 years ago
Cleanup before adding the MSBuild code: add "ForMSVS" to many functions, restructure a few others.

BUG=96
TEST=Compare the .vcproj files generated for Chrome before and after the change. Run the...

4bab07c46bea392e474953e58bd4fef05e62dda1 authored about 14 years ago
Add code to validate MSVS and MSBuild tool settings, and to convert tool settings from MSVS to MSBuild

BUG=96
TEST=Run it across Chrome and see that it generates relevant warnings. More automated te...

8fd4db4f42d7403ef7b2dbc52570fc54c6892768 authored about 14 years ago
make: link .o files output by actions/rules

(When process_outputs_as_sources is true.)

BUG=gyp:102
Review URL: http://codereview.chromium.o...

45b37dde770ebc775202a675c6a42a50c72d2a07 authored about 14 years ago
make: Changed the order of toolset and gyp CFLAGS, CXXFLAGS and LDFLAGS.

Patch by Ahmad Sharif <[email protected]>.

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

9f9d0be98ead83b8b1c5be8302c6fc56e57b285c authored about 14 years ago
Remove the 'test' (gtest) knowledge and instead support the generic run_as system.

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

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

731b434223c7b3cf8e03d1e40bb4ad513f786871 authored about 14 years ago
Generate the GUIDs of all the projects before generating a single .vcproj file. This is in preparation for VS2010, where .vcxproj files include dependencies & need GUIDs.

BUG=96
TEST=Run gyptest.py. Generate the Chrome projects and check that no .vcproj nor .sln hav...

186aac22b5581247e6983298a7d4bebc9ebbc8be authored about 14 years ago
same fix for with for older pythons

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

26dc0450342eb6a7d2b0796a856ceca2cd2078fa authored about 14 years ago
Adding newlines to the end of two file.

Some compiler versions seem to choke on these.

BUG=None
TEST=None

Review URL: http://codereview...

3ffbcc2c4c3b593c1a481786b62e56c91328d49a authored about 14 years ago
Fixing failing test/rules test on windows.

Adding an error message for colliding target names.
Added a test case for target name collision.
...

4fbc0cc5c454d4a21e346525ee1a4e5ecf35c902 authored about 14 years ago
Making gyptest-exclusion platform independent.

BUG=None
TEST=None

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

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

dd31244ab66cb04c93bd3139386d10bf928502a3 authored about 14 years ago
Swap the contents of the main.c and func1.c files.

BUG=169
TEST=pyton gyptest.py test/copies-link/gyptest-copies-link.py

Review URL: http://codere...

d057f999f5fbce08b19f8ee31a7eb7ef4541b29f authored about 14 years ago
Add unit test to check that source exclusions are respected.

BUG=168
TEST=Run python gyptest.py test/exclusion/gyptest-exclusion.py

Review URL: http://codere...

23ea662defd48c57e38e9ee73adfe413809cc720 authored about 14 years ago
Add with_statement import for python2.5.

See http://www.python.org/dev/peps/pep-0343/ which describes
the with statement.
Review URL: htt...

5510814b2d186c6bf6d1c8af96eab16302e1675f authored about 14 years ago
Switching scons to read-only copy, and pinning revision (as its dropped

out of the source tree).

BUG=None
TEST=None
TBR=sgk

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

31d882eb7f20afee81ab563e527f669b99c56e57 authored about 14 years ago
fix str concatenate error in error case

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

f21d7ce8208cf919533f5d6e04fed6923c2df106 authored about 14 years ago
Since Xcode 3.2 shows all stdout in the build output window, tell make not to

echo the mkdir so cut down on output to sort through.
Quote the output paths and remove the tod...

ec670df7ec53a964ae4a2b9f39265598c286c0d4 authored about 14 years ago