summaryrefslogtreecommitdiffstats
path: root/base/sys_info_android.cc
diff options
context:
space:
mode:
authorfdegans <fdegans@chromium.org>2015-01-07 08:17:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-07 16:18:28 +0000
commit3c7624d6419e87b16e1fc54feea14b9543a47f3d (patch)
tree617e685a5beeb0bfe7456977fbb7a1828709991a /base/sys_info_android.cc
parent19263a222694c0bf4daf4a66bcf75622ffb0b567 (diff)
downloadchromium_src-3c7624d6419e87b16e1fc54feea14b9543a47f3d.zip
chromium_src-3c7624d6419e87b16e1fc54feea14b9543a47f3d.tar.gz
chromium_src-3c7624d6419e87b16e1fc54feea14b9543a47f3d.tar.bz2
Export __system_property_get symbol for component builds.
This fixes the aarch64 component build. libnet relies on this symbol from libbase and it was failing to link properly due to it not being exported. BUG=392196 Review URL: https://codereview.chromium.org/840773002 Cr-Commit-Position: refs/heads/master@{#310293}
Diffstat (limited to 'base/sys_info_android.cc')
-rw-r--r--base/sys_info_android.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/sys_info_android.cc b/base/sys_info_android.cc
index 829053f..b62aed9 100644
--- a/base/sys_info_android.cc
+++ b/base/sys_info_android.cc
@@ -47,7 +47,7 @@ static base::LazyInstance<base::internal::LazySysInfoValue<
// from Chrome we work around this by defining a weak stub here, which uses
// dlsym to but ensures that Chrome uses the real system
// implementatation when loaded. http://crbug.com/392191.
-int __system_property_get(const char* name, char* value) {
+BASE_EXPORT int __system_property_get(const char* name, char* value) {
return g_lazy_real_system_property_get.Get().value()(name, value);
}