skia2/gyp/most.gyp
mtklein f372321de3 Add nanobench, a fresh look at our microbenchmark harness.
out/Release/nanobench runs 4-5x faster on my Z620 and ~2x faster on my N5 than out/Release/bench with the same configs.

(Debug isn't really comparable.  I haven't added the Debug -> single loop check.)

BUG=skia:
R=djsollen@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/347443002
2014-06-25 14:08:00 -07:00

48 lines
1.2 KiB
Python

# Build ALMOST everything provided by Skia; this should be the default target.
#
# This omits the following targets that many developers won't want to build:
# - debugger: this requires QT to build
#
{
'variables': {
'skia_skip_gui%': 0,
},
'targets': [
{
'target_name': 'most',
'type': 'none',
'dependencies': [
# The minimal set of static libraries for basic Skia functionality.
'skia_lib.gyp:skia_lib',
'bench.gyp:*',
'gm.gyp:gm',
'SampleApp.gyp:SampleApp',
'tests.gyp:tests',
'tools.gyp:tools',
'pathops_unittest.gyp:*',
# 'pdfviewer.gyp:pdfviewer',
'dm.gyp:dm',
],
'conditions': [
['skia_os == "android"', {
'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
}],
['skia_os == "ios"', {
'dependencies!': [ 'SampleApp.gyp:SampleApp' ],
}],
['skia_os == "mac" or skia_os == "linux"', {
'dependencies': [ 'nanomsg.gyp:*' ],
}],
[ 'skia_skip_gui',
{
'dependencies!': [
'SampleApp.gyp:SampleApp',
]
}
]
],
},
],
}