Chromium Code Reviews| Index: BUILD.gn |
| diff --git a/BUILD.gn b/BUILD.gn |
| index 265ddc066fd2b8f000fc3559885d42624a23dc59..47ac8533760c944c0d18a095d2b30d2a92860c53 100644 |
| --- a/BUILD.gn |
| +++ b/BUILD.gn |
| @@ -132,7 +132,10 @@ group("both_gn_and_gyp") { |
| "//skia:skia_unittests", |
| "//sql:sql_unittests", |
| "//sync:sync_unit_tests", |
| - "//third_party/WebKit/public:blink_tests", |
| + "//third_party/WebKit/Source/platform:heap_unittests", |
| + "//third_party/WebKit/Source/platform:platform_unittests", |
| + "//third_party/WebKit/Source/web:webkit_unit_tests", |
| + "//third_party/WebKit/Source/wtf:wtf_unittests", |
| "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
| "//third_party/codesighs", |
| "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
| @@ -542,6 +545,11 @@ group("both_gn_and_gyp") { |
| "//extensions:extensions_browsertests", # TODO(GYP) |
| "//extensions:extensions_unittests", # TODO(GYP) |
| "//net:net_unittests", # TODO(GYP) |
| + |
| + # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. |
| + "//third_party/WebKit/Source/platform:heap_unittests", |
| + "//third_party/WebKit/Source/platform:platform_unittests", |
| + "//third_party/WebKit/Source/web:webkit_unit_tests", |
| "//ui/app_list:app_list_unittests", # TODO(GYP) |
| "//ui/gfx:gfx_unittests", # TODO(GYP) |
| ] |
| @@ -719,6 +727,60 @@ group("gn_visibility") { |
| ] |
| } |
| +if (!is_ios) { |
| + group("blink_tests") { |
| + testonly = true |
| + |
| + deps = [ |
| + "//third_party/WebKit/Source/platform:heap_unittests", |
| + "//third_party/WebKit/Source/platform:platform_unittests", |
| + "//third_party/WebKit/Source/web:webkit_unit_tests", |
| + "//third_party/WebKit/Source/wtf:wtf_unittests", |
| + ] |
| + |
| + # NOTE: The following deps are assumed to exist by the test infrastructure. |
| + # Hence they are built here. |
|
Dirk Pranke
2015/05/07 23:38:10
The test stuff only cares about dump_syms and mini
tfarina
2015/05/07 23:40:44
Done.
|
| + if (is_android) { |
| + deps += [ |
| + "//breakpad:dump_syms($host_toolchain)", |
| + "//breakpad:minidump_stackwalk($host_toolchain)", |
| + "//content/shell/android:content_shell_apk", |
| + ] |
| + } else { |
| + deps += [ "//content/shell:content_shell" ] |
| + } |
| + |
| + if (is_win) { |
| + deps += [ |
| + #'../content/content_shell_and_tests.gyp:content_shell_crash_service', TODO(GYP) |
| + #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP) |
| + ] |
| + } |
| + |
| + if (!is_win && !is_android) { |
| + deps += [ "//breakpad:minidump_stackwalk" ] |
| + } |
| + |
| + if (is_mac) { |
| + deps += [ |
| + "//breakpad:dump_syms($host_toolchain)", |
| + #'../content/content_shell_and_tests.gyp:layout_test_helper', TODO(GYP) |
| + ] |
| + |
| + # TODO(GYP): Re-enable this as soon as we can link Blink binaries on mac. |
| + deps -= [ |
| + "//third_party/WebKit/Source/platform:heap_unittests", |
| + "//third_party/WebKit/Source/platform:platform_unittests", |
| + "//third_party/WebKit/Source/web:webkit_unit_tests", |
| + ] |
| + } |
| + |
| + if (is_linux) { |
| + deps += [ "//breakpad:dump_syms($host_toolchain)" ] |
| + } |
| + } |
| +} |
| + |
| if (is_linux) { |
| # This group corresponds to the list of tests run on the waterfall for |
| # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's |