paroga@webkit.org | 4f8a599 | 2010-12-07 11:11:37 +0000 | [diff] [blame] | 1 | # ----------------------------------------------------------------------------- |
| 2 | # Add module directories |
| 3 | # ----------------------------------------------------------------------------- |
mcatanzaro@igalia.com | e5f7a1c | 2016-01-17 18:09:19 +0000 | [diff] [blame] | 4 | if (NOT USE_SYSTEM_MALLOC) |
achristensen@apple.com | beba0e1 | 2015-04-01 18:36:43 +0000 | [diff] [blame] | 5 | add_subdirectory(bmalloc) |
| 6 | endif () |
gyuyoung.kim@samsung.com | 8e36ab6 | 2015-02-11 12:15:23 +0000 | [diff] [blame] | 7 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 8 | add_subdirectory(WTF) |
kubo@profusion.mobi | 0210bd0 | 2012-03-23 00:54:09 +0000 | [diff] [blame] | 9 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 10 | add_subdirectory(JavaScriptCore) |
dbates@webkit.org | 69cec40 | 2011-12-21 19:05:26 +0000 | [diff] [blame] | 11 | |
achristensen@apple.com | 1c19f05 | 2015-08-04 17:48:59 +0000 | [diff] [blame] | 12 | if (WIN32 AND ENABLE_GRAPHICS_CONTEXT_3D) |
| 13 | add_subdirectory(ThirdParty/ANGLE) |
| 14 | endif () |
| 15 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 16 | if (ENABLE_API_TESTS) |
gyuyoung.kim@samsung.com | cf1e9ca | 2015-03-30 02:27:23 +0000 | [diff] [blame] | 17 | add_subdirectory(ThirdParty/gtest) |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 18 | endif () |
commit-queue@webkit.org | e015179 | 2012-07-06 19:19:44 +0000 | [diff] [blame] | 19 | |
fred.wang@free.fr | b9c1031 | 2016-03-10 15:30:42 +0000 | [diff] [blame] | 20 | if (USE_WOFF2) |
| 21 | add_subdirectory(ThirdParty/brotli) |
| 22 | add_subdirectory(ThirdParty/woff2) |
| 23 | endif () |
| 24 | |
commit-queue@webkit.org | 3604738 | 2016-03-14 15:42:54 +0000 | [diff] [blame] | 25 | if (ENABLE_WEBCORE) |
| 26 | add_subdirectory(WebCore) |
| 27 | endif () |
| 28 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 29 | if (ENABLE_WEBKIT) |
| 30 | add_subdirectory(WebKit) |
| 31 | endif () |
commit-queue@webkit.org | d272840 | 2011-06-16 02:04:51 +0000 | [diff] [blame] | 32 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 33 | if (ENABLE_WEBKIT2) |
| 34 | add_subdirectory(WebKit2) |
| 35 | endif () |
paroga@webkit.org | 4f8a599 | 2010-12-07 11:11:37 +0000 | [diff] [blame] | 36 | |
ryuan.choi@samsung.com | ec475c7 | 2012-10-04 05:46:28 +0000 | [diff] [blame] | 37 | WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() |
| 38 | |
paroga@webkit.org | 4f8a599 | 2010-12-07 11:11:37 +0000 | [diff] [blame] | 39 | # ----------------------------------------------------------------------------- |
paroga@webkit.org | 4f8a599 | 2010-12-07 11:11:37 +0000 | [diff] [blame] | 40 | # Set compiler flags for all targets |
| 41 | # ----------------------------------------------------------------------------- |
mcatanzaro@igalia.com | e5f7a1c | 2016-01-17 18:09:19 +0000 | [diff] [blame] | 42 | if (NOT USE_SYSTEM_MALLOC) |
achristensen@apple.com | 8cc649c | 2015-08-30 05:48:47 +0000 | [diff] [blame] | 43 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(bmalloc ${ADDITIONAL_COMPILER_FLAGS}) |
| 44 | endif () |
ryuan.choi@samsung.com | c3a296a | 2014-08-25 06:58:41 +0000 | [diff] [blame] | 45 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_COMPILER_FLAGS}) |
| 46 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_COMPILER_FLAGS}) |
commit-queue@webkit.org | 3604738 | 2016-03-14 15:42:54 +0000 | [diff] [blame] | 47 | |
| 48 | if (ENABLE_WEBCORE) |
| 49 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS}) |
| 50 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS}) |
achristensen@apple.com | 67ff936 | 2016-03-29 00:19:05 +0000 | [diff] [blame] | 51 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreDerivedSources ${ADDITIONAL_COMPILER_FLAGS}) |
commit-queue@webkit.org | 3604738 | 2016-03-14 15:42:54 +0000 | [diff] [blame] | 52 | endif () |
commit-queue@webkit.org | d272840 | 2011-06-16 02:04:51 +0000 | [diff] [blame] | 53 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 54 | if (ENABLE_WEBKIT) |
ryuan.choi@samsung.com | c3a296a | 2014-08-25 06:58:41 +0000 | [diff] [blame] | 55 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS}) |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 56 | endif () |
commit-queue@webkit.org | d272840 | 2011-06-16 02:04:51 +0000 | [diff] [blame] | 57 | |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 58 | if (ENABLE_WEBKIT2) |
ryuan.choi@samsung.com | c3a296a | 2014-08-25 06:58:41 +0000 | [diff] [blame] | 59 | WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS}) |
commit-queue@webkit.org | d6fb2c5 | 2012-12-06 03:10:13 +0000 | [diff] [blame] | 60 | endif () |