diff options
author | Ben Cheng <bccheng@google.com> | 2014-03-04 14:34:24 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2014-03-04 14:34:24 -0800 |
commit | 07f514b15ddedc2e5e700ffa9f33111b12127d06 (patch) | |
tree | 25f311b38a928756b1f0e1c45fff129ef1faccf7 /libutil/Android.mk.bak | |
parent | 940cf75277cb1d292d933102a1f4fbdb60f798ee (diff) | |
download | oprofile-07f514b15ddedc2e5e700ffa9f33111b12127d06.tar.gz |
Deactivate build for oprofile.
BUG: 13249790
Change-Id: I24d56e195a7aa33c44228af38a758d6156fa1415
Diffstat (limited to 'libutil/Android.mk.bak')
-rw-r--r-- | libutil/Android.mk.bak | 53 |
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 |