aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2015-01-30 15:14:52 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-02-02 22:38:30 +0000
commit63e1a22b8cc448076ab0a4f359f10d1c91c11929 (patch)
tree9ae8839116c43988ed7fdde76dc5e369b4ee8e78
parent1c5ee3f957ab7b0e8002cb6ecdf27b8fd4226fbf (diff)
downloadandroid_bionic-stable/cm-12.0-YNG1I.tar.gz
android_bionic-stable/cm-12.0-YNG1I.tar.bz2
android_bionic-stable/cm-12.0-YNG1I.zip
bionic: Allow alternate factory.prop pathstable/cm-12.0-YNG1I
Change-Id: Ia60d625c47d9aaceee42c30419a2f04ac1985eb9
-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