From e003a0a6cec52c2a8bd561673509f3a34bc5c052 Mon Sep 17 00:00:00 2001 From: Vishwath Mohan Date: Mon, 2 Apr 2018 14:35:31 -0700 Subject: [PATCH] Add components to enable CFI for. This CL adds a list of components to enable CFI for on Arm64 product configs. This list is not directly used anywhere, but product configs can inherit this to easily enable CFI for all tested components. Bug: 63926619 Test: Inherit the product config; m -j60; verify that CFI is enabled Change-Id: I56b6dfd5495639974a19623bc7aea9efeb9acff6 --- target/product/cfi-common.mk | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 target/product/cfi-common.mk diff --git a/target/product/cfi-common.mk b/target/product/cfi-common.mk new file mode 100644 index 000000000..7a53bc1dc --- /dev/null +++ b/target/product/cfi-common.mk @@ -0,0 +1,39 @@ +# +# Copyright (C) 2018 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. +# + +# This is a set of common components to enable CFI for (across +# compatible product configs) +PRODUCT_CFI_INCLUDE_PATHS := \ + device/google/cuttlefish_common/guest/libs/wpa_supplicant_8_lib \ + device/google/wahoo/wifi_offload \ + external/tinyxml2 \ + external/wpa_supplicant_8 \ + frameworks/av/camera \ + frameworks/av/media \ + frameworks/av/services \ + frameworks/minikin \ + hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib \ + hardware/interfaces/nfc \ + hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib \ + harware/interfaces/keymaster \ + system/bt \ + system/chre \ + system/core/libnetutils \ + system/core/libziparchive \ + system/gatekeeper \ + system/keymaster \ + system/nfc \ + system/security \