blob: 86052f29e29e0266daf1f52c5bbf0f37030a0b1b [file] [log] [blame]
Jeongik Chaef26afd2019-02-07 15:51:47 +09001#
2# Copyright (C) 2019 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
17shareduid_violation_modules_filename := $(PRODUCT_OUT)/shareduid_violation_modules.json
18
19find_shareduid_script := $(BUILD_SYSTEM)/tasks/find-shareduid-violation.py
20
21$(shareduid_violation_modules_filename): $(INSTALLED_SYSTEMIMAGE_TARGET) \
22 $(INSTALLED_RAMDISK_TARGET) \
23 $(INSTALLED_BOOTIMAGE_TARGET) \
24 $(INSTALLED_USERDATAIMAGE_TARGET) \
25 $(INSTALLED_VENDORIMAGE_TARGET) \
26 $(INSTALLED_PRODUCTIMAGE_TARGET) \
Justin Yun6151e3f2019-06-25 15:58:13 +090027 $(INSTALLED_SYSTEM_EXTIMAGE_TARGET)
Jeongik Chaef26afd2019-02-07 15:51:47 +090028
29$(shareduid_violation_modules_filename): $(find_shareduid_script)
30$(shareduid_violation_modules_filename): $(AAPT2)
31 $(find_shareduid_script) $(PRODUCT_OUT) $(AAPT2) > $@
32$(call dist-for-goals,droidcore,$(shareduid_violation_modules_filename))