1 # Copyright (C) 2010 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 # 16 # This file sets variables that control the way modules are built 17 # thorughout the system. It should not be used to conditionally 18 # disable makefiles (the proper mechanism to control what gets 19 # included in a build is to use PRODUCT_PACKAGES in a product 20 # definition file). 21 # 22 23 # WARNING: This line must come *before* including the proprietary 24 # variant, so that it gets overwritten by the parent (which goes 25 # against the traditional rules of inheritance). 26 # The proprietary variant sets USE_CAMERA_STUB := false, this way 27 # we use the camera stub when the vendor tree isn't present, and 28 # the true camera library when the vendor tree is available. Similarly, 29 # we set USE_PROPRIETARY_AUDIO_EXTENSIONS to true in the proprietary variant as 30 # well. 31 USE_CAMERA_STUB := true 32 USE_PROPRIETARY_AUDIO_EXTENSIONS := false 33 34 BOARD_HAL_STATIC_LIBRARIES := libdumpstate.grouper 35 36 TARGET_RECOVERY_UI_LIB := librecovery_ui_grouper 37 38 TARGET_RELEASETOOLS_EXTENSIONS := device/asus/grouper 39 40 -include vendor/asus/grouper/BoardConfigVendor.mk 41 include device/asus/grouper/BoardConfigCommon.mk 42 43 TARGET_RECOVERY_FSTAB = device/asus/grouper/fstab.grouper 44 45 BOARD_SEPOLICY_DIRS := \ 46 device/asus/grouper/sepolicy 47 48 BOARD_SEPOLICY_UNION := \ 49 file_contexts \ 50 genfs_contexts \ 51 app.te \ 52 btmacreader.te \ 53 device.te \ 54 drmserver.te \ 55 init_shell.te \ 56 file.te \ 57 rild.te \ 58 sensors_config.te \ 59 shell.te \ 60 surfaceflinger.te \ 61 system.te \ 62 zygote.te 63