• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16LOCAL_PATH := $(call my-dir)
17
18include $(CLEAR_VARS)
19LOCAL_MODULE := CVE-2018-9424
20LOCAL_SRC_FILES := poc.cpp
21LOCAL_MULTILIB := both
22LOCAL_MODULE_STEM_32 := $(LOCAL_MODULE)32
23LOCAL_MODULE_STEM_64 := $(LOCAL_MODULE)64
24
25
26LOCAL_SHARED_LIBRARIES := libbinder \
27                          libutils \
28                          libcutils
29
30LOCAL_COMPATIBILITY_SUITE := cts sts vts
31LOCAL_CTS_TEST_PACKAGE := android.security.cts
32
33LOCAL_ARM_MODE := arm
34LOCAL_CPPFLAGS += -Wall -Werror
35LOCAL_CPPFLAGS += -Iinclude -fPIE
36LOCAL_LDFLAGS += -fPIE -pie
37LDFLAGS += -rdynamic
38include $(BUILD_CTS_EXECUTABLE)
39