OSDN Git Service

Remove LOCAL_CLANG and clang: true
authorLennart Wieboldt <lennart.1997@gmx.de>
Mon, 24 Jul 2017 23:18:06 +0000 (01:18 +0200)
committerLennart Wieboldt <lennart.1997@gmx.de>
Tue, 25 Jul 2017 14:56:15 +0000 (16:56 +0200)
clang is the default compiler since Android nougat

Test: mma & verified it´s still build with clang
Change-Id: Ie41a98a7d72940e8169996a7081ccec9b94aa61c
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
12 files changed:
alloc-stress/Android.mk
iotop/Android.mk
libfec/Android.bp
libfec/test/Android.mk
memcpy-perf/Android.mk
mmap-perf/Android.mk
perfprofd/Android.bp
perfprofd/tests/Android.bp
simpleperf/Android.mk
simpleperf/runtest/Android.build.mk
verity/fec/Android.mk
zram-perf/Android.mk

index 513d179..ec19d79 100644 (file)
@@ -1,7 +1,6 @@
 LOCAL_PATH:= $(call my-dir)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := alloc-stress
 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare
 ifneq ($(ENABLE_MEM_CGROUPS),)
index 414967c..b8a146d 100644 (file)
@@ -15,8 +15,6 @@
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
-LOCAL_CLANG := true
-
 LOCAL_SRC_FILES := iotop.cpp tasklist.cpp taskstats.cpp
 
 LOCAL_MODULE := iotop
index 44b1c52..0364ab9 100644 (file)
@@ -34,6 +34,4 @@ cc_library {
             },
         },
     },
-
-    clang: true,
 }
index 56a6978..0d5e248 100644 (file)
@@ -3,7 +3,6 @@ LOCAL_PATH:= $(call my-dir)
 ifeq ($(HOST_OS),linux)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_SANITIZE := integer
 LOCAL_MODULE := fec_test_read
 LOCAL_SRC_FILES := test_read.cpp
@@ -20,7 +19,6 @@ LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE
 include $(BUILD_HOST_EXECUTABLE)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_SANITIZE := integer
 LOCAL_MODULE := fec_test_rs
 LOCAL_SRC_FILES := test_rs.c
index cbb6028..a2b3399 100644 (file)
@@ -1,7 +1,6 @@
 LOCAL_PATH:= $(call my-dir)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := memcpy-perf
 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
 LOCAL_SRC_FILES := memcpy-perf.cpp test-funcs.cpp
index 8379b08..96de5ea 100644 (file)
@@ -23,7 +23,6 @@ LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_MULTILIB := both
 LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)
 LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
-LOCAL_CLANG := true
 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
 LOCAL_FORCE_STATIC_EXECUTABLE := true
 LOCAL_CXX_STL := libc++_static
index 58926dc..f05f324 100644 (file)
@@ -11,7 +11,6 @@ perfprofd_cppflags = [
 
 cc_library_static {
     name: "libperfprofdcore",
-    clang: true,
 
     local_include_dirs: ["quipper/kernel-headers"],
     export_include_dirs: ["."],
@@ -41,7 +40,6 @@ cc_library_static {
 //
 cc_library_static {
     name: "libperfprofdutils",
-    clang: true,
 
         cppflags: perfprofd_cppflags,
     srcs: ["perfprofdutils.cc"],
@@ -52,7 +50,6 @@ cc_library_static {
 //
 cc_binary {
     name: "perfprofd",
-    clang: true,
 
     srcs: ["perfprofdmain.cc"],
     static_libs: [
index 7bd5041..6bed5e3 100644 (file)
@@ -12,7 +12,6 @@ perfprofd_test_cppflags = [
 //
 cc_library_static {
     name: "libperfprofdmockutils",
-    clang: true,
 
     include_dirs: ["system/extras/perfprofd"],
     cppflags: perfprofd_test_cppflags,
@@ -25,7 +24,6 @@ cc_library_static {
 cc_test {
     name: "perfprofd_test",
     test_suites: ["device-tests"],
-    clang: true,
 
     stl: "libc++",
     static_libs: [
index d7c56f7..b36c28c 100644 (file)
@@ -128,7 +128,6 @@ libsimpleperf_src_files_windows := \
 
 # libsimpleperf target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf
 LOCAL_MODULE_TAGS := debug
 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
@@ -145,7 +144,6 @@ include $(BUILD_STATIC_LIBRARY)
 
 # libsimpleperf host
 include $(CLEAR_VARS)
-#LOCAL_CLANG := true  # Comment it to build on windows.
 LOCAL_MODULE := libsimpleperf
 LOCAL_MODULE_HOST_OS := darwin linux windows
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -171,7 +169,6 @@ include $(BUILD_HOST_STATIC_LIBRARY)
 
 # simpleperf target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf
 LOCAL_MODULE_TAGS := debug
 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
@@ -227,7 +224,6 @@ endif
 
 # libsimpleperf_record.a on target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_record
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
 LOCAL_SRC_FILES := record_lib_interface.cpp
@@ -241,7 +237,6 @@ include $(BUILD_STATIC_LIBRARY)
 
 # libsimpleperf_record.so on target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_record
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
 LOCAL_SRC_FILES := record_lib_interface.cpp
@@ -255,7 +250,6 @@ include $(BUILD_SHARED_LIBRARY)
 
 # libsimpleperf_record.a on host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_record
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -272,7 +266,6 @@ include $(BUILD_HOST_STATIC_LIBRARY)
 
 # libsimpleperf_record.so on host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_record
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -325,7 +318,6 @@ endif
 
 # libsimpleperf_inplace_sampler.so on target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_inplace_sampler
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
 LOCAL_SRC_FILES := inplace_sampler_lib.cpp
@@ -338,7 +330,6 @@ include $(BUILD_SHARED_LIBRARY)
 
 # libsimpleperf_inplace_sampler.so on host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_inplace_sampler
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -380,7 +371,6 @@ simpleperf_unit_test_src_files_linux := \
 
 # simpleperf_unit_test target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_unit_test
 LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
@@ -420,7 +410,6 @@ simpleperf_cpu_hotplug_test_src_files := \
 
 # simpleperf_cpu_hotplug_test target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_cpu_hotplug_test
 LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
@@ -433,7 +422,6 @@ include $(BUILD_NATIVE_TEST)
 
 # simpleperf_cpu_hotplug_test linux host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_cpu_hotplug_test
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -457,7 +445,6 @@ libsimpleperf_cts_test_src_files := \
 
 # libsimpleperf_cts_test target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_cts_test
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target) -DRUN_IN_APP_CONTEXT="\"com.android.simpleperf\""
 LOCAL_SRC_FILES := $(libsimpleperf_cts_test_src_files)
@@ -469,7 +456,6 @@ include $(BUILD_STATIC_TEST_LIBRARY)
 
 # libsimpleperf_cts_test linux host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := libsimpleperf_cts_test
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
@@ -487,7 +473,6 @@ include $(BUILD_HOST_STATIC_TEST_LIBRARY)
 
 # simpleperf_record_test target
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_record_test
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
 LOCAL_SRC_FILES := record_lib_test.cpp
@@ -497,7 +482,6 @@ include $(BUILD_NATIVE_TEST)
 
 # simpleperf_record_test linux host
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_record_test
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
index 65f5fdb..acba92b 100644 (file)
@@ -19,7 +19,6 @@ simpleperf_runtest_cppflags := -Wall -Wextra -Werror -Wunused \
                                -O0 \
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_CPPFLAGS := $(simpleperf_runtest_cppflags)
 LOCAL_SRC_FILES := $(module_src_files)
 LOCAL_SHARED_LIBRARIES := libsimpleperf_inplace_sampler
@@ -32,7 +31,6 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.build.mk
 include $(BUILD_EXECUTABLE)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_CPPFLAGS := $(simpleperf_runtest_cppflags)
 LOCAL_SRC_FILES := $(module_src_files)
 LOCAL_SHARED_LIBRARIES := libsimpleperf_inplace_sampler
index 8a35a7e..8273d0d 100644 (file)
@@ -1,7 +1,6 @@
 LOCAL_PATH:= $(call my-dir)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 ifeq ($(HOST_OS),linux)
 LOCAL_SANITIZE := integer
 endif
index 05456c2..581c759 100644 (file)
@@ -1,7 +1,6 @@
 LOCAL_PATH:= $(call my-dir)
 
 include $(CLEAR_VARS)
-LOCAL_CLANG := true
 LOCAL_MODULE := zram-perf
 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter
 LOCAL_SRC_FILES := \