Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: BUILD.gn

Issue 2692273008: Hacky slashy (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 9af027377bcc6a51d2a97895504c401eaee4b9ed..e085b262f378026ed165be5c451e696cf4acbceb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -79,7 +79,7 @@ group("gn_all") {
":gn_visibility",
]
- if (!is_ios) {
+ if (!is_ios && !is_fuchsia) {
deps += [ "//v8:gn_all" ]
}
}
@@ -203,24 +203,29 @@ group("both_gn_and_gyp") {
deps = [
"//base:base_unittests",
"//chrome/installer",
- "//components:components_unittests",
"//net:net_unittests",
- "//skia:skia_unittests",
"//sql:sql_unittests",
"//tools/ipc_fuzzer:ipc_fuzzer_all",
- "//ui/base:ui_base_unittests",
- "//ui/gfx:gfx_unittests",
"//url:url_unittests",
]
- if (!is_android && !is_chromecast) {
+ if (!is_fuchsia) {
+ deps += [
+ "//components:components_unittests",
+ "//skia:skia_unittests",
+ "//ui/base:ui_base_unittests",
+ "//ui/gfx:gfx_unittests",
+ ]
+ }
+
+ if (!is_android && !is_chromecast && !is_fuchsia) {
deps += [
"//crypto:crypto_unittests",
"//google_apis/gcm:gcm_unit_tests",
]
}
- if (!is_ios && !is_android && !is_chromecast) {
+ if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) {
deps += [
"//chrome",
"//chrome/test:browser_tests",
@@ -279,7 +284,7 @@ group("both_gn_and_gyp") {
]
}
- if (!is_ios) {
+ if (!is_ios && !is_fuchsia) {
# TODO(GYP): Figure out which of these should actually build on iOS,
# and whether there should be other targets that are iOS-only and missing.
deps += [
@@ -323,7 +328,7 @@ group("both_gn_and_gyp") {
"//ui/touch_selection:ui_touch_selection_unittests",
"//url/ipc:url_ipc_unittests",
]
- } else {
+ } else if (is_ios) {
deps += [ "//ios:all" ]
}
@@ -522,8 +527,8 @@ group("both_gn_and_gyp") {
}
# TODO(GYP): Figure out which of these should (and can) build
- # for chromeos/ios.
- if (!is_chromeos && !is_ios) {
+ # for chromeos/ios/fuchsia.
+ if (!is_chromeos && !is_ios && !is_fuchsia) {
deps += [
"//base:build_utf8_validator_tables",
"//base:check_example",
@@ -685,7 +690,7 @@ group("both_gn_and_gyp") {
deps +=
[ "//chrome/installer/mini_installer:next_version_mini_installer" ]
}
- } else if (!is_android && !is_ios) {
+ } else if (!is_android && !is_ios && !is_fuchsia) {
deps += [ "//breakpad:symupload($host_toolchain)" ]
}
@@ -714,18 +719,18 @@ group("gn_only") {
deps = []
- if (!is_ios) {
+ if (!is_ios && !is_fuchsia) {
deps += [
"//media/mojo:media_mojo_unittests",
"//services:service_unittests",
]
}
- if (!is_android && !is_ios) {
+ if (!is_android && !is_ios && !is_fuchsia) {
deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ]
}
- if (!is_android && !is_ios && !is_chromeos) {
+ if (!is_android && !is_ios && !is_chromeos && !is_fuchsia) {
deps += [ "//components/proximity_auth:proximity_auth_unittests" ]
}
@@ -878,7 +883,7 @@ group("gn_visibility") {
# "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
]
- if (!is_ios) {
+ if (!is_ios && !is_fuchsia) {
deps += [
"//v8:postmortem-metadata",
"//v8:v8_snapshot",
@@ -886,7 +891,7 @@ group("gn_visibility") {
}
}
-if (!is_ios) {
+if (!is_ios && !is_fuchsia) {
# This group includes all of the targets needed to build and test Blink,
# including running the layout tests (see below).
group("blink_tests") {
@@ -962,7 +967,7 @@ group("chromium_swarm_tests") {
group("chromium_builder_perf") {
testonly = true
- if (!is_ios && !is_android && !is_chromecast) {
+ if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) {
data_deps = [
"//cc:cc_perftests",
"//chrome/test:load_library_perf_tests",
@@ -998,7 +1003,7 @@ group("chromium_builder_perf") {
}
}
-if (!is_ios && !is_android && !is_chromecast) {
+if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) {
group("chromium_builder_asan") {
testonly = true
« no previous file with comments | « .gitignore ('k') | PRESUBMIT.py » ('j') | base/process/process_handle_fuchsia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698