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
This commit is contained in:
Romain Guy 2011-10-12 13:48:51 -07:00 committed by Alex Ray
parent aa983c91ca
commit 5cd324794c
1 changed files with 2 additions and 1 deletions

View File

@ -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() {