skia2/gyp/most.gyp
rmistry 7bde5659d3 Revert of Remove Android SampleApp (patchset #5 id:80001 of https://codereview.chromium.org/2096683002/ )
Reason for revert:
Testing to see if this CL caused the failures in Build-Mac-Clang-Arm7-Debug-Android

Original issue's description:
> Remove Android SampleApp
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2096683002
>
> Committed: https://skia.googlesource.com/skia/+/41bb5b40e71411ee39538399ea125986ec760a90

TBR=djsollen@google.com,liyuqian@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review-Url: https://codereview.chromium.org/2099693002
2016-06-24 05:24:16 -07:00

81 lines
2.1 KiB
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# 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:*',
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
'tools.gyp:tools',
'pathops_unittest.gyp:*',
'pathops_skpclip.gyp:*',
'dm.gyp:dm',
'fuzz.gyp:fuzz',
],
'conditions': [
[ 'skia_gpu == 0', {
'dependencies!': [
'viewer.gyp:viewer',
]
}],
[ 'skia_gpu == 0 or skia_os == "android"', {
'dependencies!': [
'example.gyp:HelloWorld',
],
}],
['skia_os == "android" and skia_vulkan == 1', {
'dependencies': [
'android_system.gyp:Viewer_APK',
],
}],
['skia_os == "ios"', {
'dependencies!': [
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
],
'dependencies': ['iOSShell.gyp:iOSShell' ],
}],
['skia_os == "mac" or skia_os == "linux"', {
'dependencies': [
'nanomsg.gyp:*' ,
],
}],
['skia_os in ["linux", "mac", "win"]', {
'dependencies': [
'skiaserve.gyp:skiaserve',
],
}],
[ 'skia_os in ["win", "linux", "android"]', {
'dependencies': [
'viewer.gyp:viewer',
],
}],
[ 'skia_skip_gui',
{
'dependencies!': [
'example.gyp:HelloWorld',
'SampleApp.gyp:SampleApp',
]
}
],
],
},
],
}