'tools.gyp:picture_renderer',
'tools.gyp:picture_utils',
],
+ 'conditions': [
+ ['skia_android_framework == 1', {
+ 'libraries': [ '-lskia' ],
+ }],
+ ],
},
{
'target_name': 'bench_record',
desired_targets=['bench'])
tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
+ target_file='tools.gyp',
+ skia_trunk=target_dir,
+ dest_dir='tools',
+ skia_lib_var_dict=common,
+ local_module_name='skia_bench_pictures',
+ local_module_tags=['tests'],
+ desired_targets=['bench_pictures'])
+
+ tool_makefile_writer.generate_tool(gyp_dir=tmp_folder,
target_file='gm.gyp',
skia_trunk=target_dir,
dest_dir='gm',
# benchmark (timings)
include $(BASE_PATH)/bench/Android.mk
+include $(BASE_PATH)/tools/Android.mk
# golden-master (fidelity / regression test)
include $(BASE_PATH)/gm/Android.mk
self.name = name
def write_local_path(f):
- """Add the LOCAL_PATH line to the makefile.
+ """Add the LOCAL_PATH line to the makefile.
- Args:
- f: File open for writing.
- """
- f.write('LOCAL_PATH:= $(call my-dir)\n')
+ Args:
+ f: File open for writing.
+ """
+ f.write('LOCAL_PATH:= $(call my-dir)\n')
def write_clear_vars(f):
- """Add the CLEAR_VARS line to the makefile.
+ """Add the CLEAR_VARS line to the makefile.
- Args:
- f: File open for writing.
- """
- f.write('include $(CLEAR_VARS)\n')
+ Args:
+ f: File open for writing.
+ """
+ f.write('include $(CLEAR_VARS)\n')
def write_include_stlport(f):
- """Add a line to include stlport.
+ """Add a line to include stlport.
- Args:
- f: File open for writing.
- """
- f.write('include external/stlport/libstlport.mk\n')
+ Args:
+ f: File open for writing.
+ """
+ f.write('include external/stlport/libstlport.mk\n')
def write_android_mk(target_dir, common, deviations_from_common):
"""Given all the variables, write the final make file.