diff options
author | Romain Guy <romainguy@google.com> | 2011-10-12 13:48:51 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2011-10-12 13:48:51 -0700 |
commit | 5c78b6861fd4c9246cc88d37178a5567fb668f5b (patch) | |
tree | ae1469a067a2b388642b6447fd24e7bf7c6078ce /include | |
parent | 33b5eec0c887af7c9e4074701210b731fb62da14 (diff) | |
download | frameworks_native-5c78b6861fd4c9246cc88d37178a5567fb668f5b.zip frameworks_native-5c78b6861fd4c9246cc88d37178a5567fb668f5b.tar.gz frameworks_native-5c78b6861fd4c9246cc88d37178a5567fb668f5b.tar.bz2 |
Reduce the size of libhwui by 50%
This change removes unnessary symbols. All symbols are hidden by
default, public APIs with exported symbols are explicitly marked
with ANDROID_API.
Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/Singleton.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/utils/Singleton.h b/include/utils/Singleton.h index e1ee8eb..a42ce21 100644 --- a/include/utils/Singleton.h +++ b/include/utils/Singleton.h @@ -20,12 +20,13 @@ #include <stdint.h> #include <sys/types.h> #include <utils/threads.h> +#include <cutils/compiler.h> namespace android { // --------------------------------------------------------------------------- template <typename TYPE> -class Singleton +class ANDROID_API Singleton { public: static TYPE& getInstance() { |