diff options
Diffstat (limited to 'src/core/qtwebengine.gypi')
-rw-r--r-- | src/core/qtwebengine.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/qtwebengine.gypi b/src/core/qtwebengine.gypi index a64760fc3..fee9d37dd 100644 --- a/src/core/qtwebengine.gypi +++ b/src/core/qtwebengine.gypi @@ -2,6 +2,9 @@ # This asks gyp to generate a .pri file with linking # information so that qmake can take care of the deployment. 'let_qmake_do_the_linking': 1, + 'variables': { + 'version_script_location%': '<(chromium_src_dir)/chrome/tools/build/version.py', + }, 'dependencies': [ '<(chromium_src_dir)/content/content.gyp:content', '<(chromium_src_dir)/content/content.gyp:content_app_browser', @@ -34,6 +37,7 @@ 'defines': [ '__STDC_CONSTANT_MACROS', '__STDC_FORMAT_MACROS', + 'CHROMIUM_VERSION=\"<!(python <(version_script_location) -f <(chromium_src_dir)/chrome/VERSION -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")\"', ], 'msvs_settings': { 'VCLinkerTool': { |