Add "incompatible target" messages, for example when building an
ARM-only target with --cpu=x86.
Support work for
@@ -1040,6 +1040,7 @@ message FailAction {
INCORRECT_TOOLCHAIN = 6 [(metadata) = { exit_code: 1 }];
FRAGMENT_CLASS_MISSING = 7 [(metadata) = { exit_code: 1 }];
reserved 8, 9; // For internal use
+ CANT_BUILD_INCOMPATIBLE_TARGET = 10 [(metadata) = { exit_code: 1 }];
}
Code code = 1;
@@ -1135,6 +1136,7 @@ message Analysis {
INVALID_EXECUTION_PLATFORM = 16 [(metadata) = { exit_code: 1 }];
ASPECT_CREATION_FAILED = 17 [(metadata) = { exit_code: 1 }];
CONFIGURED_VALUE_CREATION_FAILED = 18 [(metadata) = { exit_code: 1 }];
+ INCOMPATIBLE_TARGET_REQUESTED = 19 [(metadata) = { exit_code: 1 }];
}
Code code = 1;
