Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 1 | # Whitelist of SDK projects that can be built for the SDK on Windows |
| 2 | |
| 3 | # The Windows SDK cannot build all the projects from the SDK tree, typically |
| 4 | # due to obvious compiler/architectures differences. When building the Windows |
| 5 | # SDK, we only care about a subset of projects (e.g. generally the SDK tools |
| 6 | # and a few platform-specific binaries.) |
| 7 | # |
| 8 | # This file defines a whitelist of projects that can be built in the Windows |
| 9 | # SDK case. Note that whitelisting a project directory will NOT actually build |
| 10 | # it -- it will only allow one to reference it as a make dependency. |
| 11 | # |
| 12 | # This file is included by build/core/main.mk. |
| 13 | |
| 14 | # Note that there are 2 flavors of this file: |
| 15 | # |
Raphael Moll | 645a29c | 2013-03-13 15:29:55 -0700 | [diff] [blame] | 16 | # - The other file: sdk/build/windows_sdk_whitelist.mk |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 17 | # must list all projects that are that are NOT specific to a given platform. |
| 18 | # These binaries are the ones typically found in the SDK/tools directory. |
| 19 | # |
Raphael Moll | 645a29c | 2013-03-13 15:29:55 -0700 | [diff] [blame] | 20 | # - This file: development/build/windows_sdk_whitelist.mk |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 21 | # must list all projects that are specific to a given platform. These |
| 22 | # projects generate files that are generally locates in SDK/platform-tools, |
| 23 | # or SDK/platforms/, etc. |
| 24 | |
| 25 | # ----- |
| 26 | # Whitelist of platform specific projects that do NOT need Java (e.g. C libraries) |
| 27 | |
| 28 | subdirs += \ |
| 29 | prebuilt \ |
| 30 | prebuilts \ |
| 31 | build/libs/host \ |
| 32 | build/tools/zipalign \ |
| 33 | dalvik/dexdump \ |
| 34 | dalvik/libdex \ |
| 35 | dalvik/tools/dmtracedump \ |
| 36 | dalvik/tools/hprof-conv \ |
| 37 | development/host \ |
| 38 | development/tools/etc1tool \ |
| 39 | development/tools/line_endings \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 40 | external/clang \ |
| 41 | external/easymock \ |
| 42 | external/expat \ |
Adam Lesinski | 42aa793 | 2014-10-20 16:09:56 -0700 | [diff] [blame] | 43 | external/gtest \ |
Stephen Hines | d7d603f | 2014-04-25 17:56:08 -0700 | [diff] [blame] | 44 | external/libcxx \ |
| 45 | external/libcxxabi \ |
| 46 | external/compiler-rt \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 47 | external/libpng \ |
| 48 | external/llvm \ |
Leandro Gracia Gil | 653fe8e | 2014-07-28 15:25:41 -0700 | [diff] [blame] | 49 | external/protobuf \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 50 | external/sqlite/dist \ |
| 51 | external/zlib \ |
Ying Wang | 4391853 | 2014-07-11 11:16:32 -0700 | [diff] [blame] | 52 | external/zopfli \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 53 | frameworks/base \ |
| 54 | frameworks/compile \ |
Ying Wang | 06f3f54 | 2012-03-09 10:04:22 -0800 | [diff] [blame] | 55 | frameworks/native \ |
Stephen Hines | 4483ade | 2013-07-30 16:47:56 -0700 | [diff] [blame] | 56 | frameworks/rs \ |
Mike Lockwood | cd10458 | 2013-08-29 08:38:13 -0700 | [diff] [blame] | 57 | frameworks/tools \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 58 | system/core/adb \ |
Dan Albert | 23c2bb5 | 2015-03-19 22:40:12 -0700 | [diff] [blame] | 59 | system/core/base \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 60 | system/core/fastboot \ |
| 61 | system/core/libcutils \ |
| 62 | system/core/liblog \ |
Colin Cross | c52fe38 | 2012-06-08 18:06:38 -0700 | [diff] [blame] | 63 | system/core/libsparse \ |
Narayan Kamath | a4ea4f1 | 2013-12-11 14:20:33 +0000 | [diff] [blame] | 64 | system/core/libziparchive \ |
Alex Ray | 8228c4e | 2013-08-02 11:26:03 -0700 | [diff] [blame] | 65 | system/core/libutils \ |
Raphael Moll | 0a94feb | 2012-02-06 11:13:41 -0800 | [diff] [blame] | 66 | system/extras/ext4_utils |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 67 | |
| 68 | # ----- |
| 69 | # Whitelist of platform specific projects that DO require Java |
| 70 | |
| 71 | ifneq (,$(shell which javac 2>/dev/null)) |
| 72 | subdirs += \ |
| 73 | build/tools/signapk \ |
| 74 | dalvik/dx \ |
| 75 | libcore \ |
| 76 | development/apps \ |
| 77 | development/tools/mkstubs \ |
Raphael Moll | 2fdc05f | 2013-07-22 12:45:59 -0700 | [diff] [blame] | 78 | frameworks/compile/libbcc \ |
Raphael Moll | 2b53ba5 | 2012-01-26 15:09:14 -0800 | [diff] [blame] | 79 | packages |
| 80 | |
| 81 | else |
| 82 | $(warning SDK_ONLY: javac not available.) |
| 83 | endif |