Mark Salyzyn | 06b91b9 | 2015-04-01 14:41:29 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 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 | /* This file is used to enhance the properties of the filesystem |
| 18 | ** images generated by build tools (mkbootfs and mkyaffs2image) and |
| 19 | ** by the device side of adb. |
| 20 | */ |
| 21 | |
Elliott Hughes | fad4b4b | 2016-12-12 17:28:44 -0800 | [diff] [blame] | 22 | /* |
| 23 | ** Resorting to the default file means someone requested fs_config_dirs or |
| 24 | ** fs_config_files in their device configuration without providing an |
| 25 | ** associated header. |
| 26 | */ |
| 27 | #warning No device-supplied android_filesystem_config.h, using empty default. |
| 28 | |
Mark Salyzyn | 06b91b9 | 2015-04-01 14:41:29 -0700 | [diff] [blame] | 29 | /* Rules for directories. |
| 30 | ** These rules are applied based on "first match", so they |
| 31 | ** should start with the most specific path and work their |
| 32 | ** way up to the root. |
| 33 | */ |
| 34 | |
| 35 | #define NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_DIRS 1 /* opt out of specifying */ |
| 36 | |
| 37 | /* Rules for files. |
| 38 | ** These rules are applied based on "first match", so they |
| 39 | ** should start with the most specific path and work their |
| 40 | ** way up to the root. Prefixes ending in * denotes wildcard |
| 41 | ** and will allow partial matches. |
| 42 | */ |
| 43 | |
| 44 | #define NO_ANDROID_FILESYSTEM_CONFIG_DEVICE_FILES 1 /* opt out of specifying */ |