blob: fa1bf537fd36232764d754d40b71c04706eeee48 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
scroggo@google.comf1754ec2013-06-28 21:32:00 +00005# Gyp file for effects
epoger@google.comae85aea2011-05-31 13:50:51 +00006{
epoger@google.comae85aea2011-05-31 13:50:51 +00007 'targets': [
8 {
9 'target_name': 'effects',
borenet@google.comefb1d772012-10-10 19:45:51 +000010 'product_name': 'skia_effects',
epoger@google.comae85aea2011-05-31 13:50:51 +000011 'type': 'static_library',
borenet@google.comefb1d772012-10-10 19:45:51 +000012 'standalone_static_library': 1,
bungeman@google.comb8f36552013-07-22 14:39:45 +000013 'dependencies': [
14 'core.gyp:*',
15 'images.gyp:*',
tomhudsonf7edcde2015-03-23 12:51:20 -070016 'utils.gyp:utils',
bungeman@google.comb8f36552013-07-22 14:39:45 +000017 ],
senorblanco@chromium.orgf6100c32012-08-20 20:56:26 +000018 'includes': [
19 'effects.gypi',
20 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000021 'include_dirs': [
epoger@google.comae85aea2011-05-31 13:50:51 +000022 '../include/effects',
mtkleincd1f2da2015-07-28 08:55:14 -070023 '../include/private',
humper@google.com3aad3b02013-09-04 19:23:53 +000024 '../src/effects',
senorblanco@chromium.org7a47ad32013-10-30 21:57:04 +000025 '../src/opts',
djsollen@google.com21830d92012-08-07 19:49:41 +000026 '../src/core',
epoger@google.comae85aea2011-05-31 13:50:51 +000027 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000028 'direct_dependent_settings': {
29 'include_dirs': [
30 '../include/effects',
31 ],
32 },
bsalomon@google.com202a51b2012-09-04 14:37:12 +000033 'sources': [
34 'effects.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
35 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000036 'conditions': [
37 ['skia_gpu == 1', {
38 'include_dirs': [
djsollen@google.com52f02972013-06-03 12:10:19 +000039 '../include/gpu',
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000040 '../src/gpu',
41 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000042 }],
borenet@google.com7ef39292012-07-18 14:59:54 +000043 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000044 },
45 ],
46}