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
1
vote
1 answer

Adding 3rd party framework into gyp config files

I'm experimenting with compiling Chromium on Mac OS and want to add a 3rd party framework to the project. I already added my TParty.framework to the chrome_browser.gypi as following: ... ['OS=="mac"', { 'dependencies': [ …
Mykola
  • 435
  • 4
  • 17
1
vote
1 answer

gyp and precompiled headers for Visual Studio

Is gyp capable of generating precompiled header options for C++ project for MS Visual Studio? There was a doc called WindowsPrecompiledHeaders, but it is 404 there now. Current gyp documentation contains no information about it. Google web cache…
vladon
  • 8,158
  • 2
  • 47
  • 91
1
vote
1 answer

Per-source cflags

Is there a way in gyp to enable certain cflags only for some source files? In the context of this bug I'd like to find a way to have some code compiled with some SSE features enabled, while other code (to detect the availability of said features at…
MvG
  • 57,380
  • 22
  • 148
  • 276
1
vote
0 answers

Errors installing Karma on Mac OS 10.8.5

When I run npm install karma --save-dev, most of the installation goes well, but I get the following errors: make: *** [Release/obj.target/fse/fsevents.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR!…
James Newton
  • 6,623
  • 8
  • 49
  • 113
1
vote
0 answers

node.js c++ addon gyp build fails to start on windows 7

I tried to build a native addon for node that runs on Windows and Linux. My addon needs access to libnfc. I compiled libnfc (and dependencys) on windows and linux. On windows I copyed the following files into my node-project: "libnfc.dll",…
1
vote
1 answer

libv8_snapshot.a: No such file or directory

downloaded code as described in Using Git: fetch v8 cd v8 built as described in BuildingWithGYP: gclient sync make x64.release updated to the latest master, and used a sample: git checkout master git pull but when building a samle as described…
叶安华
  • 11
  • 1
1
vote
1 answer

How to use GYP?

I am trying to build JCEF to a visual studio project using GYP. The JCEF download includes all the C++ files and .gyp, .gypi files. I have no experience in Python and wonder how I run the actual .gyp file so it turns into a visual studio project?…
MicroHat11
  • 227
  • 3
  • 12
1
vote
0 answers

Building GYP in node js for cross platform

I am trying to build GYP in node js for Windows and linux version. There are separate library for both the version which is used for building. The binding.gyp has the below info. { 'targets': [ { 'target_name':…
Muthuraman
  • 23
  • 1
  • 5
1
vote
0 answers

how to link static libraries in gyp of android

I just want to build an android project called hello with gyp, the gyp code like: #android { 'targets': [ { 'target_name': 'hello', 'type': 'executable', 'link_settings':{ …
Chogri
  • 326
  • 3
  • 15
1
vote
1 answer

Gyp: generate x64 Visual Studio solution

After generating a .sln and .vcxproj from the gyp file below msbuild fails with "C:\proj\test\test.sln" (default target) (1) -> (ValidateSolutionConfiguration target) -> C:\proj\test\test.sln.metaproj : error MSB4126: The specified soluti on…
1
vote
1 answer

How to build the chromium with the tarball

I got the chromium tarball from the http://gsdview.appspot.com/chromium-browser-official. But it can't use gyp_chromium to configure the chromium project, the error message as following: Updating projects from gyp files... gyp: Could not…
user1395066
  • 127
  • 1
  • 1
  • 11
1
vote
1 answer

node-gyp Debug|Release configuration variable

is there a way, how to tell if the configuration is set to Debug or Release inside of a bindings.gyp? For example in Visual Studio there is a variable $(Configuration), which contains this information. Does something similar exist in gyp? Thanks
JeFf
  • 346
  • 5
  • 16
1
vote
1 answer

node-gyp out-of-source build

Pretty simple. Node-gyp constructs 'build' folder right near sources. Is there a way to do out-of-source builds, i.e. relocate that folder somewhere else? I don't want my source tree polluted with build junk, nor do I want to copy sources manually…
Target-san
  • 451
  • 3
  • 11
1
vote
0 answers

Make link_settings global in gyp project

I have multiple gyp files, most of which create a static library and the main gyp files which combines all of them to create an exectuable. I wanted the libraries to link dynamically and I am using the following in my main gyp file: …
learn_develop
  • 1,735
  • 4
  • 15
  • 33
1
vote
1 answer

Instruct GYP to add header files in an Xcode project

When using GYP to generate an Xcode project using a fairly basic .gyp file, it adds all the source files but not the .h files. Is there a way to instruct it to also include all header files that are used in the project? Or would you need to add them…
Calin
  • 2,110
  • 1
  • 21
  • 36