From 4774868c335a31e1e4e6e36413e33492a857d12b Mon Sep 17 00:00:00 2001 From: David Ng Date: Tue, 14 Mar 2017 18:20:01 -0700 Subject: [PATCH] Add stop_scan.mk for repo manifest's use An effectively empty Android makefile to stop Android build system from scanning deeper into the subdirectories for Android.mk for pick up. To use, modify the manifest to copy/link this file as Android.mk to the needed directories. Change-Id: Iac19312304a87daa0d2277fe77a5261166ef27be --- stop_scan.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 stop_scan.mk diff --git a/stop_scan.mk b/stop_scan.mk new file mode 100644 index 00000000..93095079 --- /dev/null +++ b/stop_scan.mk @@ -0,0 +1,34 @@ +# Copyright (c) 2017, The Linux Foundation. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of The Linux Foundation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# Empty content Android.mk to step Android build +# system from scanning deeper into subdirectories +# for Android.mk's +# +# This file will be linked from any directories +# where scanning should be stopped as Android.mk +$(info Skipping Android.mk under $(call my-dir))