Skip to content

Commit

Permalink
unit refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeweber committed Feb 5, 2013
1 parent 93e2267 commit 9e9123f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 70 deletions.
2 changes: 0 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

include $(MY_ROOT_PATH)/android-webrtc.mk
include $(LOCAL_PATH)/config.mk

LOCAL_ARM_MODE := arm
LOCAL_MODULE := libjingle
Expand Down
35 changes: 0 additions & 35 deletions config.mk

This file was deleted.

34 changes: 1 addition & 33 deletions unittest.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

include $(MY_ROOT_PATH)/android-webrtc.mk
include $(LOCAL_PATH)/config.mk

MY_LIBJINGLE_C_INCLUDES := \
$(MY_THIRD_PARTY_PATH)/openssl/openssl/include \
$(MY_THIRD_PARTY_PATH)/openssl/config/android \
$(MY_THIRD_PARTY_PATH)/libsrtp/source/config \
$(MY_THIRD_PARTY_PATH)/libsrtp/source/srtp \
$(MY_THIRD_PARTY_PATH)/libsrtp/source/srtp/include \
$(MY_THIRD_PARTY_PATH)/libsrtp/source/srtp/crypto/include \
$(MY_THIRD_PARTY_PATH) \
$(MY_THIRD_PARTY_PATH)/webrtc \
$(MY_THIRD_PARTY_PATH)/webrtc/modules/interface \
$(MY_THIRD_PARTY_PATH)/expat/files/lib

MY_UNITTEST_CFLAGS := $(LIBJINGLE_CPPFLAGS) \
-DHAVE_STDLIB_H \
-DHAVE_STRING_H \
-DCPU_RISC \
-DSIZEOF_UNSIGNED_LONG=4 \
-DSIZEOF_UNSIGNED_LONG_LONG=8 \
-DHAVE_STDINT_H \
-DHAVE_INTTYPES_H \
-DHAVE_NETINET_IN_H \
-DHAVE_UINT64_T \
-DHAVE_UINT32_T \
-DHAVE_UINT16_T \
-DHAVE_UINT8_T \
-DHAVE_UINT_T \
-DUSE_WEBRTC_313_BRANCH

GTEST_C_INCLUDES := \
$(MY_GTEST_PATH) \
$(MY_GTEST_PATH)/include
include $(MY_ROOT_PATH)/libjingle_config.mk

include $(CLEAR_VARS)
LOCAL_MODULE:= libjingle_unittest_main
Expand Down

0 comments on commit 9e9123f

Please sign in to comment.