summaryrefslogtreecommitdiffstats
path: root/tools/qmake/mkspecs/features/gn_generator.prf
Commit message (Collapse)AuthorAgeFilesLines
* Turn off MSVC warnings about unused variables/parametersJoerg Bornemann2017-03-221-0/+2
| | | | | | | This is consistent with what we do for gcc/clang. Change-Id: Ibda94dbc0c506c4a8053e0e3b2da25fa7dbed3a8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix OpenGL for embedded buildsAllan Sandfeld Jensen2017-03-201-4/+11
| | | | | | | | Sets the external ozone platform and make sure we don't set bad QT_LIBDIR defines for libEGL and libGLESv2 when not doing cross builds. Change-Id: I60eada3c93224a3aa3a105b007d669932516d331 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix linkage of WebEngineCore library in gn buildPeter Varga2017-02-091-2/+4
| | | | | Change-Id: I7ed79693cd87cd649bb8d6bea6b1397a9f6350c7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Refactor release and debug handlingMichal Klocek2017-02-061-1/+1
| | | | | | | | | | Fix release and debug builds. Refactor ninja and gn builds as a sub projects, these are only build as release. Call core_generator and gn_run separately for debug and release builds. Change-Id: I638023214cdc98a5101d190486452cc4a1229486 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix framework buildsMichal Klocek2017-02-061-6/+6
| | | | | | | | Gn does not support mac_framework_dirs, pass '-F' flag instead for frameworks builds. Change-Id: Ie050b272805ae1ad14a98816a92696a9dcc017b3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix escaping of double-quotesAllan Sandfeld Jensen2017-02-031-4/+9
| | | | | | | | We are using double-quoted strings and should therefore be escaping double-quotation marks and not single-quotation ones. Change-Id: I0ae3bb45365843647b38c88a22379f89843dff54 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* macOS GN integrationAlexandru Croitor2017-01-271-5/+29
| | | | | Change-Id: I89850d43c8f11ec54b3a47318ef0b3f083ae3dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add gn build of qtwebengine for linuxMichal Klocek2017-01-251-1/+1
| | | | | | | | | | | This commit uses gn instead of gyp to build on desktop linux. Use WEBENGINE_CONFIG+=use_gn to use gn during the build instead of gyp. Change-Id: Ifd3d8d0835b47c323a8d39c320eb55e5e1024dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enhance gn generatorMichal Klocek2017-01-121-55/+75
| | | | | | | | | | | Do not generate actions if no moc_source_h_files or moc_source_cpp_files, handle correctly ldflags, add handling for lib_dirs, rpath and rpath-link. Add checks if 'libs' 'deps' 'include_dirs' comes from imports. Change-Id: Icee51e491f9f041cfce055f9e79acfade85c0b95 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add gn generator for pro filesMichal Klocek2016-12-161-0/+184
Change-Id: I5f28314d79b4aad587b323b027eb6d74ad422a73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>