93 lines
2.2 KiB
JSON
93 lines
2.2 KiB
JSON
{
|
|
"version":"0.1",
|
|
"root_folder":"%filefolder%",
|
|
"run_context":"sub",
|
|
"name":"Fontgen build",
|
|
"actions":[
|
|
{
|
|
"action":"compile_one_cpp",
|
|
"args":{
|
|
"source_variables":false,
|
|
"source":"fontgen.cpp",
|
|
"compiler_variables":true,
|
|
"compiler":"$CPP_COMPILER$",
|
|
"pre_arguments_variables":true,
|
|
"pre_arguments":[
|
|
],
|
|
"post_arguments_variables":true,
|
|
"post_arguments":[
|
|
"-o",
|
|
"$FONTGEN_BINARY_NAME$"
|
|
],
|
|
"output_file_variables":true,
|
|
"output_file":"$FONTGEN_BINARY_NAME$",
|
|
"success_status":[
|
|
0
|
|
],
|
|
"ignore_success_status":true,
|
|
"cache_authorized":true,
|
|
"headers_command_variables":true,
|
|
"headers_command":"gcc -MMD -MF %dfile% -E %sourcefile% -o /dev/null"
|
|
}
|
|
},
|
|
{
|
|
"action":"run_actions_if",
|
|
"args":{
|
|
"condition":{
|
|
"condition_variables":false,
|
|
"condition":"cache_contains",
|
|
"condition_args_variables":false,
|
|
"condition_args":[
|
|
"font.fbm"
|
|
]
|
|
},
|
|
"actions":[
|
|
{
|
|
"action":"extract_from_cache",
|
|
"args":{
|
|
"target_variables":false,
|
|
"target":"font.fbm",
|
|
"output_file_variables":true,
|
|
"output_file":"%rootcallerfolder%/$EDK2_BLASTPROOF_DIR$/fontgen/font.fbm"
|
|
}
|
|
},
|
|
{
|
|
"action":"exit_current_module",
|
|
"args":{
|
|
"is_fail":false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"action":"run_command_wait",
|
|
"args":{
|
|
"command_variables":true,
|
|
"command":[
|
|
"./fontgen",
|
|
"#FFFFFF",
|
|
"#000000",
|
|
"ascii",
|
|
"./chars"
|
|
],
|
|
"show_output":"on_failure",
|
|
"success_status":[
|
|
0
|
|
],
|
|
"ignore_success_status":false
|
|
}
|
|
},
|
|
{
|
|
"action":"store_in_cache",
|
|
"args":{
|
|
"key_variables":false,
|
|
"key":"font.fbm",
|
|
"file_variables":true,
|
|
"file":"%rootcallerfolder%/$EDK2_BLASTPROOF_DIR$/fontgen/font.fbm",
|
|
"overwrite_allowed":false
|
|
}
|
|
}
|
|
]
|
|
}
|