blob: 23a96cc6bab279954a935e755fad64b9b71ace49 [file] [log] [blame]
{
'targets': [
{
'target_name': 'cobalt_build_id',
'type': 'none',
# Because we generate a header, we must set the hard_dependency flag.
'hard_dependency': 1,
'actions': [
{
'action_name': 'cobalt_build_id',
'variables': {
'build_id_py_path': 'build_id.py',
'output_path': '<(SHARED_INTERMEDIATE_DIR)/cobalt_build_id.h',
},
'inputs': [
'<(build_id_py_path)',
],
'outputs': [
'<(output_path)',
],
'action': [
'python2',
'<(build_id_py_path)',
'<(output_path)',
'<(cobalt_version)',
],
'message': 'Generating build information',
},
],
}
] # end of targets
}