blob: ae0ef0251e5fdf9882cba1d6d5d1ee2af4fa3520 [file] [log] [blame]
bohu61a20c72017-08-15 11:40:39 -07001#
2# Copyright 2017 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
17LOCAL_PATH := $(call my-dir)
18
Bob Badoureeaea072022-02-14 12:35:11 -080019$(eval $(call declare-1p-copy-files,device/generic/goldfish/data,))
20$(eval $(call declare-1p-copy-files,device/generic/goldfish/input,))
21$(eval $(call declare-1p-copy-files,device/generic/goldfish/wifi,))
22$(eval $(call declare-1p-copy-files,device/generic/goldfish/camera,))
23$(eval $(call declare-1p-copy-files,device/generic/goldfish,hals.conf))
24$(eval $(call declare-1p-copy-files,device/generic/goldfish,init.qemu-adb-keys.sh))
25$(eval $(call declare-1p-copy-files,device/generic/goldfish,init.system_ext.rc))
Bob Badoure21f7cc2022-04-19 12:52:07 -070026$(eval $(call declare-1p-copy-files,device/generic/goldfish,.json))
Bob Badoureeaea072022-02-14 12:35:11 -080027$(eval $(call declare-1p-copy-files,device/generic/goldfish,ueventd.rc))
28$(eval $(call declare-1p-copy-files,device/generic/goldfish,wpa_supplicant.conf))
29$(eval $(call declare-1p-copy-files,device/generic/goldfish,media_profiles_V1_0.xml))
30$(eval $(call declare-1p-copy-files,device/generic/goldfish,init.ranchu.rc))
31$(eval $(call declare-1p-copy-files,device/generic/goldfish,fstab.ranchu))
32$(eval $(call declare-1p-copy-files,device/generic/goldfish,display_settings.xml))
33$(eval $(call declare-1p-copy-files,device/generic/goldfish,display_settings_freeform.xml))
34$(eval $(call declare-1p-copy-files,device/generic/goldfish,device_state_configuration.xml))
35$(eval $(call declare-1p-copy-files,device/generic/goldfish,init.ranchu-core.sh))
36$(eval $(call declare-1p-copy-files,device/generic/goldfish,init.ranchu-net.sh))
37$(eval $(call declare-1p-copy-files,device/generic/goldfish,task_profiles.json))
38$(eval $(call declare-1p-copy-files,device/generic/goldfish,audio_policy_configuration.xml))
39
bohu61a20c72017-08-15 11:40:39 -070040ifeq ($(BUILD_QEMU_IMAGES),true)
Matthew Maurer1b07d232019-05-20 13:34:46 -070041 QEMU_CUSTOMIZATIONS := true
42endif
Roman Kiryanovd400ead2021-03-19 15:43:17 -070043
Matthew Maurer1b07d232019-05-20 13:34:46 -070044ifeq ($(QEMU_CUSTOMIZATIONS),true)
Akash Agrawal1460ce32018-06-20 16:08:19 -070045 INSTALLED_EMULATOR_INFO_TXT_TARGET := $(PRODUCT_OUT)/emulator-info.txt
46 emulator_info_txt := $(wildcard ${LOCAL_PATH}/emulator-info.txt)
47
48 $(INSTALLED_EMULATOR_INFO_TXT_TARGET): $(emulator_info_txt)
49 $(call pretty,"Generated: ($@)")
50 $(hide) grep -v '#' $< > $@
51
52 $(call dist-for-goals, dist_files, $(INSTALLED_EMULATOR_INFO_TXT_TARGET))
bohu8e5fc262019-04-11 20:48:02 -070053 $(call dist-for-goals, sdk, $(INSTALLED_EMULATOR_INFO_TXT_TARGET))
Akash Agrawal1460ce32018-06-20 16:08:19 -070054
bohu61a20c72017-08-15 11:40:39 -070055 subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
56 $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
bohueb6e3f62021-01-08 15:59:42 -080057
Roman Kiryanovd400ead2021-03-19 15:43:17 -070058 include device/generic/goldfish/tasks/emu_img_zip.mk
bohu61a20c72017-08-15 11:40:39 -070059endif