Skip to content

Commit

Permalink
ril: move record_stream_xxx to librilutils and export header
Browse files Browse the repository at this point in the history
Change-Id: I9986c8c5fb1777bbd2b686769ecc726319a73100
Signed-off-by: Dima Zavin <[email protected]>
  • Loading branch information
Dima Zavin committed May 23, 2013
1 parent f467af6 commit 622bf2b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions libril/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
ril.cpp \
ril_event.cpp \
record_stream.c
ril_event.cpp

LOCAL_SHARED_LIBRARIES := \
liblog \
libutils \
libbinder \
libcutils \
libhardware_legacy
libhardware_legacy \
librilutils

LOCAL_CFLAGS :=

Expand All @@ -30,12 +30,12 @@ ifneq ($(ANDROID_BIONIC_TRANSITION),)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
ril.cpp \
record_stream.c
ril.cpp

LOCAL_STATIC_LIBRARIES := \
libutils_static \
libcutils
libcutils \
librilutils_static

LOCAL_CFLAGS :=

Expand Down
2 changes: 1 addition & 1 deletion libril/ril.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <telephony/ril_cdma_sms.h>
#include <cutils/sockets.h>
#include <cutils/jstring.h>
#include "record_stream.h"
#include <telephony/record_stream.h>
#include <utils/Log.h>
#include <utils/SystemClock.h>
#include <pthread.h>
Expand Down
6 changes: 4 additions & 2 deletions librilutils/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
librilutils.c
librilutils.c \
record_stream.c

LOCAL_CFLAGS :=

Expand All @@ -20,7 +21,8 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
librilutils.c
librilutils.c \
record_stream.c

LOCAL_STATIC_LIBRARIES :=

Expand Down
4 changes: 2 additions & 2 deletions libril/record_stream.c → librilutils/record_stream.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* libs/cutils/record_stream.c
/*
**
** Copyright 2006, The Android Open Source Project
**
Expand All @@ -19,7 +19,7 @@
#include <unistd.h>
#include <assert.h>
#include <errno.h>
#include "record_stream.h"
#include <telephony/record_stream.h>
#include <string.h>
#include <stdint.h>
#ifdef HAVE_WINSOCK
Expand Down

0 comments on commit 622bf2b

Please sign in to comment.