bohu | 61a20c7 | 2017-08-15 11:40:39 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
Bob Badour | eeaea07 | 2022-02-14 12:35:11 -0800 | [diff] [blame] | 19 | $(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 Badour | e21f7cc | 2022-04-19 12:52:07 -0700 | [diff] [blame] | 26 | $(eval $(call declare-1p-copy-files,device/generic/goldfish,.json)) |
Bob Badour | eeaea07 | 2022-02-14 12:35:11 -0800 | [diff] [blame] | 27 | $(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 | |
bohu | 61a20c7 | 2017-08-15 11:40:39 -0700 | [diff] [blame] | 40 | ifeq ($(BUILD_QEMU_IMAGES),true) |
Matthew Maurer | 1b07d23 | 2019-05-20 13:34:46 -0700 | [diff] [blame] | 41 | QEMU_CUSTOMIZATIONS := true |
| 42 | endif |
Roman Kiryanov | d400ead | 2021-03-19 15:43:17 -0700 | [diff] [blame] | 43 | |
Matthew Maurer | 1b07d23 | 2019-05-20 13:34:46 -0700 | [diff] [blame] | 44 | ifeq ($(QEMU_CUSTOMIZATIONS),true) |
Akash Agrawal | 1460ce3 | 2018-06-20 16:08:19 -0700 | [diff] [blame] | 45 | 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)) |
bohu | 8e5fc26 | 2019-04-11 20:48:02 -0700 | [diff] [blame] | 53 | $(call dist-for-goals, sdk, $(INSTALLED_EMULATOR_INFO_TXT_TARGET)) |
Akash Agrawal | 1460ce3 | 2018-06-20 16:08:19 -0700 | [diff] [blame] | 54 | |
bohu | 61a20c7 | 2017-08-15 11:40:39 -0700 | [diff] [blame] | 55 | subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) |
| 56 | $(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) |
bohu | eb6e3f6 | 2021-01-08 15:59:42 -0800 | [diff] [blame] | 57 | |
Roman Kiryanov | d400ead | 2021-03-19 15:43:17 -0700 | [diff] [blame] | 58 | include device/generic/goldfish/tasks/emu_img_zip.mk |
bohu | 61a20c7 | 2017-08-15 11:40:39 -0700 | [diff] [blame] | 59 | endif |