Use optional_dirs for non-soong projects

On some branches, some of these projects may not exist. Use dirs for the
blueprint / soong projects, and optional_dirs for everything else.

Change-Id: I2b84948f1818941a21981c135bd6237852bfcc8b
This commit is contained in:
Dan Willemsen 2016-03-07 20:56:24 -08:00
parent f3af6ce631
commit 71ea9c13c9
1 changed files with 7 additions and 4 deletions

11
root.bp
View File

@ -2,20 +2,23 @@ subname = "Android.bp"
subdirs = [
"build/blueprint",
"build/kati",
"build/soong",
]
optional_subdirs = [
"bionic/*",
"build/kati",
"build/tools/*",
"dalvik",
"external/*",
"frameworks/base",
"frameworks/native/libs/*",
"hardware/*",
"libcore",
"packages/apps/HTMLViewer",
"prebuilts/ndk",
"prebuilts/sdk",
"system/core/*",
"packages/apps/HTMLViewer",
"build/tools/*",
"system/security/*",
"system/keymaster",
"system/security/*",
]