aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DM.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-08-15 13:13:59 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-15 22:00:57 +0000
commit135a1b10fef1ee158f8f2379c2a7429eead004e0 (patch)
treef6f37a869ea6861f00208bc6b847d8f1fba1fee3 /dm/DM.cpp
parent8618338c4afc7f8dd27e415ac44b40f2938cb363 (diff)
upstream cr/165303354
The only interesting difference here is that I've just skipped cd_Documents() on Google3 iOS builds rather than adding a new target to BUILD. We don't run the binary so it's kind of moot what directory it'd run in. Change-Id: I1994e0283d24bcc505fa9b2b7b58307eafa5be92 Reviewed-on: https://skia-review.googlesource.com/34742 Reviewed-by: Ben Wagner <benjaminwagner@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r--dm/DM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 0644cc0d7d..fa72afffd0 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1291,7 +1291,7 @@ int main(int argc, char** argv) {
initializeEventTracingForTools();
-#if defined(SK_BUILD_FOR_IOS)
+#if !defined(GOOGLE3) && defined(SK_BUILD_FOR_IOS)
cd_Documents();
#endif
setbuf(stdout, nullptr);