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

Unified Diff: services/shell/public/cpp/BUILD.gn

Issue 2004743002: [iOS/GN] Fix the compilation of "all" on iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | services/shell/standalone/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/BUILD.gn
diff --git a/services/shell/public/cpp/BUILD.gn b/services/shell/public/cpp/BUILD.gn
index cbfac3a258f3667644d46047a88fbf99fbab1930..dfa93afc2634f3e77c07a0ddad3fbaafc58f34b7 100644
--- a/services/shell/public/cpp/BUILD.gn
+++ b/services/shell/public/cpp/BUILD.gn
@@ -50,40 +50,42 @@ source_set("sources") {
]
}
-source_set("application_support") {
- sources = [
- "lib/init_commandline.cc",
- "lib/initialize_base_and_icu.cc",
- ]
+if (!is_ios) {
+ source_set("application_support") {
+ sources = [
+ "lib/init_commandline.cc",
+ "lib/initialize_base_and_icu.cc",
+ ]
- deps = [
- "//base",
- "//base:i18n",
- "//mojo/public/c/system",
- ]
-}
+ deps = [
+ "//base",
+ "//base:i18n",
+ "//mojo/public/c/system",
+ ]
+ }
-source_set("shell_test_support") {
- testonly = true
- sources = [
- "lib/shell_test.cc",
- "shell_test.h",
- ]
+ source_set("shell_test_support") {
+ testonly = true
+ sources = [
+ "lib/shell_test.cc",
+ "shell_test.h",
+ ]
- public_deps = [
- ":cpp",
- "//testing/gtest",
- ]
+ public_deps = [
+ ":cpp",
+ "//testing/gtest",
+ ]
- deps = [
- "//base",
- "//base/test:test_support",
- "//mojo/logging",
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/system",
- "//services/shell/background:lib",
- "//services/shell/public/interfaces:interfaces_cpp_sources",
- ]
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//mojo/logging",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//services/shell/background:lib",
+ "//services/shell/public/interfaces:interfaces_cpp_sources",
+ ]
- data_deps = []
+ data_deps = []
+ }
}
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | services/shell/standalone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698