| OLD | NEW |
| 1 # In Windows, we use the following defines to make sure certain resources are | 1 # In Windows, we use the following defines to make sure certain resources are |
| 2 # embedded into one binary only. | 2 # embedded into one binary only. |
| 3 | 3 |
| 4 # GN config is always executed after defines, so if we would like to generate | 4 # GN config is always executed after defines, so if we would like to generate |
| 5 # defines ordered as | 5 # defines ordered as |
| 6 # #define BINARY_CORE=1 | 6 # #define BINARY_CORE=1 |
| 7 # #define BINARY=BINARY_CORE | 7 # #define REMOTING_HOST_BINARY=BINARY_CORE |
| 8 # we need to set these predefines as a list, and append others after it. | 8 # we need to set these predefines as a list, and append others after it. |
| 9 | 9 |
| 10 assert(is_win) | 10 assert(is_win) |
| 11 | 11 |
| 12 host_predefines = [ | 12 host_predefines = [ |
| 13 "BINARY_CORE=1", # For remoting_core | 13 "BINARY_CORE=1", # For remoting_core |
| 14 "BINARY_DESKTOP=2", # For remoting_desktop | 14 "BINARY_DESKTOP=2", # For remoting_desktop |
| 15 "BINARY_HOST_ME2ME=3", # For remoting_console and remoting_me2me_host | 15 "BINARY_HOST_ME2ME=3", # For remoting_console and remoting_me2me_host |
| 16 "BINARY_NATIVE_MESSAGING_HOST=4", # For remoting_native_messaging_host | 16 "BINARY_NATIVE_MESSAGING_HOST=4", # For remoting_native_messaging_host |
| 17 "BINARY_REMOTE_ASSISTANCE_HOST=5", # For remote_assistance_host | 17 "BINARY_REMOTE_ASSISTANCE_HOST=5", # For remote_assistance_host |
| 18 "BINARY_REMOTE_SECURITY_KEY=6", # For remote_security_key | 18 "BINARY_REMOTE_SECURITY_KEY=6", # For remote_security_key |
| 19 "BINARY_REMOTING_START_HOST=7", # For remoting_start_host | 19 "BINARY_REMOTING_START_HOST=7", # For remoting_start_host |
| 20 "BINARY_HOST_IT2ME_UIACCESS=8", # For remote_assistance_host_uiaccess | 20 "BINARY_HOST_IT2ME_UIACCESS=8", # For remote_assistance_host_uiaccess |
| 21 ] | 21 ] |
| OLD | NEW |