BUILDTYPE ?= Debug
CWD := $(shell pwd)
-ALL_TARGETS := core SampleApp bench gm tests tools
+ALL_TARGETS := core SampleApp bench gm tests tools debugger
ifneq (,$(findstring skia_os=android, $(GYP_DEFINES)))
ALL_TARGETS += SkiaAndroidApp
endif
-ifneq (,$(findstring skia_debugger=on, $(GYP_DEFINES)))
- ALL_TARGETS += debugger
-endif
-
# Default target. This must be listed before all other targets.
.PHONY: default
-default: all
+default: core SampleApp bench gm tests tools
# As noted in http://code.google.com/p/skia/issues/detail?id=330 , building
# multiple targets in parallel was failing. The special .NOTPARALLEL target
'skia_angle%': 0,
'skia_arch_type%': 'x86',
'skia_arch_width%': 32,
- 'skia_debugger%': 'off',
},
# Re-define all variables defined within the level-2 'variables' dict,
'skia_angle%': '<(skia_angle)',
'skia_arch_type%': '<(skia_arch_type)',
'skia_arch_width%': '<(skia_arch_width)',
- 'skia_debugger%': '<(skia_debugger)',
},
}
# Local Variables:
],
},
}],
+ [ 'skia_os == "mac" and skia_arch_width != 64', {
+ 'error': '<!(skia_arch_width must be 64 bits when building the debugger on mac'
+ }],
[ 'skia_os == "mac"', {
'mac_bundle' : 1,
'include_dirs': [
'gyp/SampleApp.gyp:SampleApp',
'gyp/tests.gyp:tests',
'gyp/tools.gyp:tools',
+ 'gyp/debugger.gyp:debugger',
],
'conditions': [
['skia_os == "android"', {
],
}],
],
- 'conditions': [
- ['skia_debugger == "on"', {
- 'dependencies': [
- 'gyp/debugger.gyp:debugger',
- ],
- }],
- ],
},
],
}