2017-09-05 18:53:37 +00:00
|
|
|
# This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
# the official desktop application for the Telegram messaging service.
|
2017-09-05 18:53:37 +00:00
|
|
|
#
|
2018-01-03 10:23:14 +00:00
|
|
|
# For license and copyright information please follow this link:
|
|
|
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-09-05 18:53:37 +00:00
|
|
|
|
|
|
|
{
|
2019-04-27 09:12:53 +00:00
|
|
|
'variables': {
|
|
|
|
'moc_to_sources%': '0',
|
|
|
|
},
|
2017-09-05 18:53:37 +00:00
|
|
|
'rules': [{
|
|
|
|
'rule_name': 'qt_moc',
|
|
|
|
'extension': 'h',
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<(qt_loc)/bin/moc<(exe_ext)',
|
|
|
|
|
|
|
|
# Silence "Note: No relevant classes found. No output generated."
|
|
|
|
'--no-notes',
|
|
|
|
|
|
|
|
'<!@(python -c "for s in \'<@(_defines)\'.split(\' \'): print(\'-D\' + s)")',
|
|
|
|
# '<!@(python -c "for s in \'<@(_include_dirs)\'.split(\' \'): print(\'-I\' + s)")',
|
|
|
|
'<(RULE_INPUT_PATH)',
|
|
|
|
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
|
|
|
],
|
|
|
|
'message': 'Moc-ing <(RULE_INPUT_ROOT).h..',
|
2019-04-27 09:12:53 +00:00
|
|
|
'process_outputs_as_sources': '<(moc_to_sources)',
|
2017-09-05 18:53:37 +00:00
|
|
|
}],
|
|
|
|
}
|