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
4
votes
0 answers

Compiling WebRTC native client API for RTCDataChannel file sharing

I am trying to build a command-line native application that supports: native - native native - browser browser - browser file sharing using the WebRTC data channel. However I cannot seem to figure out how to use the native WebRTC c++ API…
Zolmeister
  • 132
  • 1
  • 5
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
  • 49,076
  • 65
  • 227
  • 485
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
  • 317
  • 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
  • 469
  • 1
  • 3
  • 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
  • 4,863
  • 7
  • 29
  • 52
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
  • 19,227
  • 16
  • 63
  • 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,308
  • 32
  • 117
  • 200
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
  • 6
3
votes
1 answer

Invoking make from node-gyp

I'm using node-gyp to build a native Node.js add-on written in C++ on Linux. The add-on is dependent on another shared library. This library is not currently built with gyp, it just has a makefile. If I build the shared library first, then build my…
dtopham75
  • 540
  • 5
  • 14
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
  • 399
  • 4
  • 13
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
  • 195
  • 1
  • 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
  • 922
  • 2
  • 15
  • 31
3
votes
2 answers

GYP/V8 - how to generate VS2008 project by default?

I try to build V8 with GYP (Windows 7 x64, VS2008 x32). The problem is that GYP generates VS2010 solution by default. How to change this GYP behavior to get my VS2008 solution? (What file to edit?)
Alf
  • 1,125
  • 2
  • 13
  • 24
3
votes
0 answers

Using GYP for generating Visual Studio projects

I am trying to generate VS project with gyp for minidump_writer_file_unittest.cc present here. The way to compile this test on linux machines is given in the same link on line 33. Now, this test depends upon header files present in the parent…
user1343318
  • 1,895
  • 3
  • 30
  • 52
3
votes
1 answer

Gyp precompiled headers for xcode

How do you specify precompiled headers for xcode with gyp, specifically xcode 4.6 with clang. I only see visual studio options. 'msvs_precompiled_header': 'stdio.h', 'msvs_precompiled_source': 'precomp.c',
Michael Marcin
  • 646
  • 6
  • 15
1 2
3
10 11