48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
$NetBSD$
|
|
|
|
--- components/BUILD.gn.orig 2020-07-15 18:56:46.000000000 +0000
|
|
+++ components/BUILD.gn
|
|
@@ -45,7 +45,7 @@ if (is_ios) {
|
|
# no tests will run) and add a reference here. You can add more than one unit
|
|
# test target if convenient.
|
|
test("components_unittests") {
|
|
- if (is_android || is_linux || is_mac || is_win) {
|
|
+ if (is_android || is_linux || is_mac || is_win || is_bsd) {
|
|
data = [ "test/data/" ]
|
|
}
|
|
|
|
@@ -194,9 +194,13 @@ test("components_unittests") {
|
|
}
|
|
|
|
if (!is_fuchsia) {
|
|
+ if (!is_bsd) {
|
|
+ deps += [
|
|
+ "//components/browser_sync:unit_tests",
|
|
+ "//components/send_tab_to_self:unit_tests",
|
|
+ ]
|
|
+ }
|
|
deps += [
|
|
- "//components/browser_sync:unit_tests",
|
|
- "//components/send_tab_to_self:unit_tests",
|
|
"//components/sync_device_info:unit_tests",
|
|
"//components/sync_sessions:unit_tests",
|
|
"//components/update_client:unit_tests",
|
|
@@ -313,7 +317,7 @@ test("components_unittests") {
|
|
deps += [ ":components_tests_pak_bundle_data" ]
|
|
}
|
|
|
|
- if (is_mac || is_linux) {
|
|
+ if (is_mac || is_linux || is_bsd) {
|
|
data_deps += [ "//content/shell:pak" ]
|
|
}
|
|
|
|
@@ -663,7 +667,7 @@ if (!is_ios && !is_fuchsia) {
|
|
]
|
|
}
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux || is_bsd) {
|
|
# content_extractor_browsertest is a standalone content extraction tool built as
|
|
# a MANUAL component_browsertest.
|
|
sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ]
|