Questions tagged [gyp]

GYP is a tool created at Google for the Chromium project that generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format.

GYP is a tool created at Google for the Chromium project that generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format. It is highly specific to Chromium's specific use case and was not created for the general use.

Input configurations are specified in files with the suffix .gyp. Each .gyp file specifies how to build the targets for the "component" defined by that file. Each .gyp file generates one or more output files appropriate to the platform.

155 questions
7
votes
1 answer

node-gyp build library dependencies

I want to find a way to simplify the installation of the Node.js "libtorrent" module. My goal is to be able to provide pre-compiled .node files for each architectures, as this is done in the fibers module for example. This way, the users can install…
Leeroy Brun
  • 4,350
  • 2
  • 14
  • 11
7
votes
3 answers

NodeJS npm install pg failed

Im trying to npm install pg on my ubuntu virtual machine and i got error: > pg@1.1.0 install /usr/local/lib/node_modules/core/node_modules/pg > node-gyp rebuild || (exit 0) gyp: binding.gyp not found (cwd:…
Rafał Kot
  • 976
  • 3
  • 12
  • 26
6
votes
5 answers

What are the SCons alternatives?

I have projects in C++, Java and Python. Projects in C++ export SWIG interfaces so they can be used by Java and Python projects. My question is: what building mechanism can I use to manage dependencies and build these projects? I have used SCons and…
Igor Gatis
  • 3,870
  • 10
  • 36
  • 57
6
votes
2 answers

Can I use environment variable in gyp

I'm totally new to gyp, so please excuse any ignorance on the subject -- I'm trying to incorporate a project which uses gyp into a larger environment generated by make. The .gyp file in question has a -L option for a C file, and it points to a…
John
  • 2,910
  • 2
  • 23
  • 41
6
votes
3 answers

Add include dir for node gyp

I am deploying a node-js app to heroku that requires the npm package imagemagic-native. I made the buildpack install libmagick++-dev and export the include path: export INCLUDE_PATH="$BUILD_DIR/.apt/usr/include:$INCLUDE_PATH" export…
d_inevitable
  • 4,239
  • 27
  • 46
6
votes
3 answers

Turn off Visual Studio popups

I have a large project that I have to load and work on. Nothing I can do about it - just load the solution and all projects within it. Problem is that first several minutes VS loads project one by one and it constantly inform me about it by…
Mateusz Kubuszok
  • 18,063
  • 3
  • 33
  • 53
6
votes
3 answers

GYP variable based on build configuration

Is it possible to define a GYP variable whose value depends on the choice of build configuration?
dpemmons
  • 71
  • 1
  • 5
5
votes
1 answer

How to generate "make install" action using gyp?

I'm using gyp to generate makefiles for my project. Makefiles work, cause working binaries to pop up in "out" directory, all is dandy here. However, I would like my makefiles to have some "standard" actions/targets, namely "install" "uninstall", and…
OhJeez
  • 1,712
  • 1
  • 12
  • 16
5
votes
1 answer

Using shared library in Gyp in node-sqlite3

I'm new to Gyp. Instead of compiling my dependency, I would like to use a shared library, in particular, the libsqlite3.so which is already on my machine. The main binding.gyp currently looks like { 'targets': [ { 'target_name':…
tofutim
  • 19,743
  • 20
  • 75
  • 139
4
votes
1 answer

Hello World example for V8 using gyp

Since SCons has been deprecated. I used the gyp to generate vs solution. I did what they told me on the build BuildingWithGYP. And the v8 project builded ok! and I got the v8_base.lib but no v8.lib. And in the hello world project ,get started.I add…
Anghoo
  • 49
  • 3
4
votes
1 answer

gyp and node-pre-gyp fail when installing firebase with npm

I'm trying to install my dependencies with npm but installation fails when firebase installation comes in. I tried to install firebase individually with npm i firebase but it does not work. I removed the node_modules folder, cleaned the cache and…
CCarlos
  • 103
  • 7
4
votes
1 answer

node-gyp build error mac os x

I have done a lot of searching and can't find the same error that I am facing listed anywhere.I get the following error message when trying to build node-gyp: node-gyp build gyp info it worked if it ends with ok gyp info using node-gyp@3.3.1 gyp…
theoneinskane
  • 303
  • 1
  • 2
  • 8
4
votes
1 answer

Building modules using node-gyp on Openshift

When trying to build modules that require node-gyp like node-canvas on Openshift I get this error: > canvas@1.2.3 install /var/lib/.../repo/node_modules/canvas > node-gyp rebuild Traceback (most recent call last): File…
Luca Carlon
  • 8,636
  • 9
  • 52
  • 87
4
votes
2 answers

Building Chromium, WebRTC without LTO

I'm on Arch Linux x86_64, attempting to build the WebRTC libraries. I get compile errors when I do: [ghilliard@diadem trunk]$ ninja -C out/Release peerconnection_server ninja: Entering directory `out/Release' [1/1] LINK…
George Hilliard
  • 13,581
  • 5
  • 50
  • 88
4
votes
0 answers

How to put environmental variables in .gyp files when compiling Chromium?

I'm trying to compile Chromium with custom flags passed to the compiler (by modifying CFLAGS/CXXFLAGS). According to the documentation, I can do this via making a .gyp file in the appropriate location containing something like: { 'targets':…
user541686
  • 189,354
  • 112
  • 476
  • 821
1
2
3
10 11