// See http://crbug.com/297522
// Does we need to open our real version number?
// or just use 33.0.0.0 as Chromium does.
- return std::string("Chrome/34.0.1847.76 ") +
+ return std::string("Chrome/" CHROMIUM_VERSION " ") +
Name() +
std::string("/") +
Version();
{
'variables': {
'edje_compiler%': 'edje_cc',
+
+ # Components used to auto generate CHROMIUM_VERSION preprocessor define.
+ 'version_file' : '<(DEPTH)/chrome/VERSION',
+ 'version_script' : '<(DEPTH)/build/util/version.py',
+ 'version_pattern': '@MAJOR@.@MINOR@.@BUILD@.@PATCH@',
},
'targets': [{
# TODO: Autofill has changed significantly in M42 compared to
# M40. Disable it until it is fixed.
#'TIZEN_AUTOFILL_SUPPORT=1',
+ 'CHROMIUM_VERSION=\"<!(python <(version_script) -f <(version_file) -t "<(version_pattern)")\"',
],
'link_settings': {
'ldflags': [