Don't compile the Skia tools for PDK builds.
authorDerek Sollenberger <djsollen@google.com>
Fri, 9 Dec 2016 14:35:50 +0000 (09:35 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 9 Dec 2016 15:31:40 +0000 (15:31 +0000)
Change-Id: I9d64a065bf05d76e131b2d0ab73d136ebbae263f
Reviewed-on: https://skia-review.googlesource.com/5746
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>

platform_tools/android/gyp_gen/makefile_writer.py
platform_tools/android/tests/expectations/Android.mk

index 6641f7f..e60ce5b 100644 (file)
@@ -114,14 +114,17 @@ DEBUGGING_HELP = (
 SKIA_TOOLS = (
 """
 #############################################################
-# Build the skia tools
+# Build the skia tools (except in the PDK build)
 #
+ifneq ($(TARGET_BUILD_PDK),true)
 
 # benchmark (timings)
 include $(BASE_PATH)/bench/Android.mk
 
 # diamond-master (one test to rule them all)
 include $(BASE_PATH)/dm/Android.mk
+
+endif # disable for PDK
 """
 )
 
index 861784a..4586a6a 100644 (file)
@@ -165,11 +165,14 @@ include $(BASE_PATH)/skia_static_deps.mk
 include $(BUILD_SHARED_LIBRARY)
 
 #############################################################
-# Build the skia tools
+# Build the skia tools (except in the PDK build)
 #
+ifneq ($(TARGET_BUILD_PDK),true)
 
 # benchmark (timings)
 include $(BASE_PATH)/bench/Android.mk
 
 # diamond-master (one test to rule them all)
 include $(BASE_PATH)/dm/Android.mk
+
+endif # disable for PDK