diff options
author | Mike Klein <mtklein@chromium.org> | 2017-01-30 14:00:54 -0500 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2017-01-31 17:06:21 +0000 |
commit | 6d3b7aaf79b2cbacdf00bafc15ded2dfd2fa000a (patch) | |
tree | 8bc8a0847c44027d988ae4f7fae794955d298147 /gn/BUILD.gn | |
parent | 4427f165d792a93649e2b2673d3d8b89a35e8186 (diff) |
gn: iOS packaging script
This is enough to run DM on my iPad.
I've tweaks DM so that it can run as built by both GN and GYP.
When we kill off GYP, all the dm_main() nonsense goes away.
CQ_INCLUDE_TRYBOTS=skia.primary:Test-iOS-Clang-iPadMini4-GPU-GX6450-Arm7-Debug,Build-Mac-Clang-arm64-Debug-GN_iOS
Change-Id: I59176bc203ee3180618b94ac5f9d291e0ad20b62
Reviewed-on: https://skia-review.googlesource.com/7757
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index ec3a1f1ee3..11ab560a2e 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -211,7 +211,7 @@ config("default") { # 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_main=main", + "-DDM_DEFINE_MAIN", "-Dnanobench_main=main", "-Dtool_main=main", "-Dtest_main=main", |