Home | History | Annotate | Download | only in CVE-2018-9424
      1 #
      2 #copyright (C) 2018 The Android Open Source Project
      3 #
      4 # Licensed under the Apache License, Version 2.0 (the "License");
      5 # you may not use this file except in compliance with the License.
      6 # You may obtain a copy of the License at
      7 #
      8 #      http://www.apache.org/licenses/LICENSE-2.0
      9 #
     10 # Unless required by applicable law or agreed to in writing, software
     11 # distributed under the License is distributed on an "AS IS" BASIS,
     12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 # See the License for the specific language governing permissions and
     14 # limitations under the License.
     15 
     16 LOCAL_PATH := $(call my-dir)
     17 
     18 include $(CLEAR_VARS)
     19 LOCAL_MODULE := CVE-2018-9424
     20 LOCAL_SRC_FILES := poc.cpp
     21 LOCAL_MULTILIB := both
     22 LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
     23 LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
     24 
     25 
     26 LOCAL_SHARED_LIBRARIES := libbinder \
     27                           libutils \
     28                           libcutils
     29 
     30 LOCAL_COMPATIBILITY_SUITE := cts sts vts
     31 LOCAL_CTS_TEST_PACKAGE := android.security.cts
     32 
     33 LOCAL_ARM_MODE := arm
     34 LOCAL_CPPFLAGS += -Wall -Werror
     35 LOCAL_CPPFLAGS += -Iinclude -fPIE
     36 LOCAL_LDFLAGS += -fPIE -pie
     37 LDFLAGS += -rdynamic
     38 include $(BUILD_CTS_EXECUTABLE)
     39