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.

178 questions
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
  • 323
  • 1
  • 3
  • 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
  • 9,546
  • 13
  • 59
  • 91
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
  • 15,402
  • 9
  • 58
  • 96
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
  • 205,094
  • 128
  • 528
  • 886
4
votes
1 answer

Unable to install the node-postgres node.js module

Please, observe: c:\Work\if\server>npm install pg npm WARN package.json passport@0.1.15 No README data npm WARN package.json passport-http@0.2.1 No README data npm http GET https://registry.npmjs.org/pg npm http 304 https://registry.npmjs.org/pg npm…
mark
  • 59,016
  • 79
  • 296
  • 580
4
votes
2 answers

No .sln or .vcporj files get generated from runhooks when compiling Chromium

So I'm attempting my first Chrome build just for fun and I've gotten all the files I want through gclient config and sync. However, there are no project files that VS can open, just a bunch of .gyp files that are useless to me. The command 'gclient…
joelg
  • 357
  • 2
  • 11
4
votes
3 answers

Can't get node-gyp to create windows solution with /MD

I want to compile a node.js module with the /MD flag (multi-threaded DLL). Having '/MD' in the cflags options in binding.gyp does not work.
Remi Arnaud
  • 465
  • 1
  • 4
  • 11
4
votes
2 answers

Error when installing pg node module

I'd like to install pg node module and this is the issue I've got : Exception: Call to 'pg_config --libdir' returned exit status 1. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp…
Cherif
  • 5,223
  • 8
  • 33
  • 54
4
votes
1 answer

specify compiler in gyp

I am using gyp for the first time and I have already read its online help. I have set a compiler using CC option in export variables on command-line(Using cygwin in windows). So, all the files compile properly. Now, I wnat to compile few files using…
Techie Help
  • 161
  • 1
  • 6
4
votes
1 answer

Generate Makefile using GYP on Mac OS X?

What do I need to do to get GYP to generate your typical unix-like makefile stack for Mac OS X? I currently get it to generate XCode build projects using the following config file: { "targets": [ { "target_name": "hello", 'type':…
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
3
votes
2 answers

C++: Thread Building Blocks - include hell

I can't get my C++ program to compile. As you can see, I'm writing a Node.js addon. Here is the code (Eamorr_addon.cpp): #include #include #include #include #include "Definitions.h" #include "Rk.h" #include…
Eamorr
  • 9,872
  • 34
  • 125
  • 209
3
votes
2 answers

How to build V8 without "external startup data"?

I want a standalone JavaScript library for embedding. I already build V8 and its working correctly, but binary needs two "external data" files. I don want this files. I was trying to build V8 without "external startup data". I tried to set…
entro
  • 123
  • 1
  • 6
3
votes
2 answers

How do you compile V8 with Visual Studio?

I've been trying to compile V8. I've obtained a copy of the v8-master folder from GitHub, but I can't figure out how to compile it. A lot of the documentation I could find online are conflicting. From what I've gathered, it appears as if my best…
user112513312
  • 459
  • 1
  • 7
  • 15
3
votes
1 answer

Can't run node.js module mdns in node webkit application

I have a node webkit application that uses the mdns module for publishing a Bonjour service from a Mac (with Mavericks). When I run the server code with node server.js everything works OK, but when running the node webkit application that uses the…
Carla
  • 205
  • 3
  • 10
3
votes
1 answer

What does this gyp syntax mean?

I have been digging up chromium code recently, then I found piece of code that I could not understand. File is located at src/media/media.gyp Can someone explain what this line means in plain English? The line I don't understand : …
RNA
  • 1,164
  • 2
  • 19
  • 35
1 2
3
11 12