Index: courgette/BUILD.gn |
diff --git a/courgette/BUILD.gn b/courgette/BUILD.gn |
index 5500bdb0d76cf5e79e8455d1dc50d57699c15db0..bef724e305a814ff79d06b564e519cae86d893ee 100644 |
--- a/courgette/BUILD.gn |
+++ b/courgette/BUILD.gn |
@@ -68,39 +68,41 @@ static_library("courgette_lib") { |
] |
} |
-executable("courgette") { |
- if (is_win && current_cpu == "x64") { |
- # The build infrastructure needs courgette to be named courgette64. |
- output_name = "courgette64" |
- } |
+if (!is_ios) { |
+ executable("courgette") { |
+ if (is_win && current_cpu == "x64") { |
+ # The build infrastructure needs courgette to be named courgette64. |
+ output_name = "courgette64" |
+ } |
- sources = [ |
- "courgette_tool.cc", |
- ] |
+ sources = [ |
+ "courgette_tool.cc", |
+ ] |
- if (is_win) { |
- ldflags = [ "/LARGEADDRESSAWARE" ] |
- } |
+ if (is_win) { |
+ ldflags = [ "/LARGEADDRESSAWARE" ] |
+ } |
- deps = [ |
- ":courgette_lib", |
- "//base", |
- "//build/config/sanitizers:deps", |
- "//build/win:default_exe_manifest", |
- ] |
-} |
+ deps = [ |
+ ":courgette_lib", |
+ "//base", |
+ "//build/config/sanitizers:deps", |
+ "//build/win:default_exe_manifest", |
+ ] |
+ } |
-executable("courgette_minimal_tool") { |
- sources = [ |
- "courgette_minimal_tool.cc", |
- ] |
+ executable("courgette_minimal_tool") { |
+ sources = [ |
+ "courgette_minimal_tool.cc", |
+ ] |
- deps = [ |
- ":courgette_lib", |
- "//base", |
- "//build/config/sanitizers:deps", |
- "//build/win:default_exe_manifest", |
- ] |
+ deps = [ |
+ ":courgette_lib", |
+ "//base", |
+ "//build/config/sanitizers:deps", |
+ "//build/win:default_exe_manifest", |
+ ] |
+ } |
} |
test("courgette_unittests") { |