aboutsummaryrefslogtreecommitdiff
path: root/libutil/Android.mk.bak
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2014-03-04 22:40:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-04 22:40:03 +0000
commit3722f1053f4cab90c4daf61451713a2d61d79c71 (patch)
tree25f311b38a928756b1f0e1c45fff129ef1faccf7 /libutil/Android.mk.bak
parent940cf75277cb1d292d933102a1f4fbdb60f798ee (diff)
parent07f514b15ddedc2e5e700ffa9f33111b12127d06 (diff)
downloadoprofile-lollipop-mr1-cts-release.tar.gz
Merge "Deactivate build for oprofile."HEADandroid-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-l-preview_r2android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1master-soongmastermainlollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releasel-previewidea133-weekly-release
Diffstat (limited to 'libutil/Android.mk.bak')
-rw-r--r--libutil/Android.mk.bak53
1 files changed, 53 insertions, 0 deletions
diff --git a/libutil/Android.mk.bak b/libutil/Android.mk.bak
new file mode 100644
index 0000000..efbd710
--- /dev/null
+++ b/libutil/Android.mk.bak
@@ -0,0 +1,53 @@
+# Copyright (C) 2008 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+LOCAL_PATH:= $(call my-dir)
+include $(LOCAL_PATH)/../common.mk
+
+common_src := \
+ op_cpufreq.c \
+ op_deviceio.c \
+ op_file.c \
+ op_fileio.c \
+ op_get_time.c \
+ op_growable_buffer.c \
+ op_libiberty.c \
+ op_lockfile.c \
+ op_popt.c \
+ op_string.c \
+ op_version.c
+
+# Build libutil on target
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= $(common_src)
+LOCAL_C_INCLUDES := $(common_target_c_includes)
+LOCAL_CFLAGS := $(common_target_cflags)
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := liboprofile_util
+
+include $(BUILD_STATIC_LIBRARY)
+
+# Build libutil on host
+ifeq ($(HAVE_LIBBFD),true)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= $(common_src)
+LOCAL_C_INCLUDES := $(common_host_c_includes)
+LOCAL_CFLAGS := $(common_host_cflags)
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := liboprofile_util
+
+include $(BUILD_HOST_STATIC_LIBRARY)
+endif