aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-16 18:11:51 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-16 18:11:51 +0000
commit120c99993e60e7aedb0838f09d6f1b1d2f576c78 (patch)
tree9b9df3631f8f0e76fb9ece63d4462ff3fc76c797 /platform_tools
parent25c1066e4d23cf7cb1795c78987f4fde08282b46 (diff)
Generate Android.mk for DM.
ifdef out code that won't build where we don't have jsoncpp. Include ctype instead of string.h for tolower. Depends on https://codereview.chromium.org/282053002/ BUG=skia:2447 R=mtklein@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/290603002 git-svn-id: http://skia.googlecode.com/svn/trunk@14768 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'platform_tools')
-rwxr-xr-xplatform_tools/android/bin/gyp_to_android.py8
-rw-r--r--platform_tools/android/gyp_gen/makefile_writer.py3
2 files changed, 11 insertions, 0 deletions
diff --git a/platform_tools/android/bin/gyp_to_android.py b/platform_tools/android/bin/gyp_to_android.py
index f6fc5785a2..cf4f7824c8 100755
--- a/platform_tools/android/bin/gyp_to_android.py
+++ b/platform_tools/android/bin/gyp_to_android.py
@@ -152,6 +152,14 @@ def main(target_dir=None, require_sk_user_config=False):
local_module_name='skia_gm',
local_module_tags=['optional'])
+ tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
+ target_file='dm.gyp',
+ skia_trunk=target_dir,
+ dest_dir='dm',
+ skia_lib_var_dict=common,
+ local_module_name='skia_dm',
+ local_module_tags=['optional'])
+
# Now that the defines have been written to SkUserConfig and they've been
# used to skip adding them to the tools makefiles, they are not needed in
# Android.mk. Reset DEFINES.
diff --git a/platform_tools/android/gyp_gen/makefile_writer.py b/platform_tools/android/gyp_gen/makefile_writer.py
index 948407e974..3384773cb6 100644
--- a/platform_tools/android/gyp_gen/makefile_writer.py
+++ b/platform_tools/android/gyp_gen/makefile_writer.py
@@ -124,6 +124,9 @@ include $(BASE_PATH)/gm/Android.mk
# unit-tests
include $(BASE_PATH)/tests/Android.mk
+
+# diamond-master (one test to rule them all)
+include $(BASE_PATH)/dm/Android.mk
"""
)