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

Unified Diff: mojo/public/cpp/bindings/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/edk/test/BUILD.gn ('k') | mojo/public/cpp/bindings/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/BUILD.gn
diff --git a/mojo/public/cpp/bindings/BUILD.gn b/mojo/public/cpp/bindings/BUILD.gn
index c66853cf8e5623f1605148fce3cf38597fcc9533..84a76d055350fa5bef6bae664c982bef03292071 100644
--- a/mojo/public/cpp/bindings/BUILD.gn
+++ b/mojo/public/cpp/bindings/BUILD.gn
@@ -144,20 +144,22 @@ source_set("struct_traits") {
]
}
-source_set("wtf_support") {
- sources = [
- "array_traits_wtf.h",
- "array_traits_wtf_vector.h",
- "lib/string_traits_wtf.cc",
- "lib/wtf_serialization.h",
- "string_traits_wtf.h",
- "wtf_array.h",
- ]
+if (!is_ios) {
+ source_set("wtf_support") {
+ sources = [
+ "array_traits_wtf.h",
+ "array_traits_wtf_vector.h",
+ "lib/string_traits_wtf.cc",
+ "lib/wtf_serialization.h",
+ "string_traits_wtf.h",
+ "wtf_array.h",
+ ]
- public_deps = [
- ":bindings",
- "//third_party/WebKit/Source/wtf",
- ]
+ public_deps = [
+ ":bindings",
+ "//third_party/WebKit/Source/wtf",
+ ]
- public_configs = [ "//third_party/WebKit/Source:config" ]
+ public_configs = [ "//third_party/WebKit/Source:config" ]
+ }
}
« no previous file with comments | « mojo/edk/test/BUILD.gn ('k') | mojo/public/cpp/bindings/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698