am ec4cbf4f: Merge "Grab macros from libbase instead of duplicating"

* commit 'ec4cbf4f93ddb14653c27bfd7a169e010b87286c':
  Grab macros from libbase instead of duplicating
This commit is contained in:
Casey Dahlin
2015-09-11 02:41:43 +00:00
committed by Android Git Automerger
3 changed files with 4 additions and 10 deletions

View File

@@ -35,6 +35,9 @@ LOCAL_SRC_FILES := \
options.cpp \
search_path.cpp \
LOCAL_SHARED_LIBRARIES := \
libbase \
include $(BUILD_HOST_STATIC_LIBRARY)

View File

@@ -1,10 +1,9 @@
#ifndef AIDL_AIDL_LANGUAGE_H_
#define AIDL_AIDL_LANGUAGE_H_
#include <base/macros.h>
#include <string>
#include "macros.h"
typedef enum {
NO_EXTRA_TEXT = 0,
SHORT_COMMENT,

View File

@@ -1,8 +0,0 @@
#ifndef AIDL_MACROS_H_
#define AIDL_MACROS_H_
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName&); \
void operator=(const TypeName&)
#endif // AIDL_MACROS_H_