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

Unified Diff: courgette/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 | « no previous file | ipc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698