aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/include/sys/_system_properties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h
index 5a681df72..f19b69dcc 100644
--- a/libc/include/sys/_system_properties.h
+++ b/libc/include/sys/_system_properties.h
@@ -82,7 +82,11 @@ struct prop_msg
#define PROP_PATH_SYSTEM_BUILD "/system/build.prop"
#define PROP_PATH_SYSTEM_DEFAULT "/system/default.prop"
#define PROP_PATH_LOCAL_OVERRIDE "/data/local.prop"
+#ifdef OVERRIDE_PROP_PATH_FACTORY
+#define PROP_PATH_FACTORY OVERRIDE_PROP_PATH_FACTORY
+#else
#define PROP_PATH_FACTORY "/factory/factory.prop"
+#endif
/*
** Map the property area from the specified filename. This