Add a "Default" variant for PrecompilePythonMode.
@@ -26,7 +26,10 @@ public enum PrecompilePythonMode {
ONLY,
/** Compiles all Python files, and leaves the .py sources in the runfiles. */
- ALL;
+ ALL,
+
+ /** The default mode for the platform. */
+ DEFAULT;
public boolean shouldPrecompileProtos() {
return this != NONE;
