aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-02-06 12:46:20 -0500
committerGravatar Mike Klein <mtklein@chromium.org>2017-02-06 18:02:41 +0000
commitbe28ee2974474800323ce4fabf62a839018be591 (patch)
tree0af11271212a0d04bba7e63e84d78860410f31d5 /gn/BUILD.gn
parent160907f8defef112c358cdd5cb9e5e093ca93b09 (diff)
Make iOS main() functions normal.
The weird foo_mains are no longer needed when we build with GN. CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm-Debug-iOS Change-Id: Iae50696741e0dc277d96dda4968a1ae41cb17c8a Reviewed-on: https://skia-review.googlesource.com/8064 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Stephan Altmueller <stephana@google.com>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn11
1 files changed, 0 insertions, 11 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index cd7f8f74cf..43c5928730 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -205,17 +205,6 @@ config("default") {
"-stdlib=libc++",
]
libs += [ "objc" ]
-
- # We used to link all our iOS tools together, so none actually defines main().
- # Instead they each define their own entry point, which our iOS mega-app called.
- # If we can we'd like to not do that anymore. While we're building both ways, here's
- # our clever hack to give each tool back its own main().
- cflags += [
- "-DDM_DEFINE_MAIN",
- "-DNANOBENCH_DEFINE_MAIN",
- "-Dtool_main=main",
- "-Dtest_main=main",
- ]
}
if (is_linux) {