build: Use 'client-code' instead of 'code' for protocols

This commit is contained in:
Dorota Czaplejewicz
2019-06-29 12:41:05 +00:00
parent bcd0d40912
commit 30d35216f6

View File

@ -7,7 +7,7 @@ gen_scanner_client_header = generator(wl_scanner,
arguments: ['client-header', '@INPUT@', '@OUTPUT@']) arguments: ['client-header', '@INPUT@', '@OUTPUT@'])
gen_scanner_client_code = generator(wl_scanner, gen_scanner_client_code = generator(wl_scanner,
output: '@BASENAME@-protocol.c', output: '@BASENAME@-protocol.c',
arguments: ['code', '@INPUT@', '@OUTPUT@']) arguments: ['private-code', '@INPUT@', '@OUTPUT@'])
wl_protos = [ wl_protos = [
wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml', wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml',