blob: 9b90d758f55f800bffc6fd9fe8aa98eb2b2ecba5 [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 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000018 'include_dirs': [
epoger@google.comae85aea2011-05-31 13:50:51 +000019 '../include/effects',
robertphillips188d44c2016-02-01 04:54:14 -080020 '../include/client/android',
mtkleincd1f2da2015-07-28 08:55:14 -070021 '../include/private',
humper@google.com3aad3b02013-09-04 19:23:53 +000022 '../src/effects',
senorblanco@chromium.org7a47ad32013-10-30 21:57:04 +000023 '../src/opts',
djsollen@google.com21830d92012-08-07 19:49:41 +000024 '../src/core',
robertphillipsa408c8f2016-07-28 09:20:33 -070025 '../src/gpu/effects',
epoger@google.comae85aea2011-05-31 13:50:51 +000026 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000027 'direct_dependent_settings': {
28 'include_dirs': [
29 '../include/effects',
robertphillips188d44c2016-02-01 04:54:14 -080030 '../include/client/android',
epoger@google.comae85aea2011-05-31 13:50:51 +000031 ],
32 },
bsalomon@google.com202a51b2012-09-04 14:37:12 +000033 'sources': [
Mike Kleincfc4f442016-10-26 17:19:03 -040034 '<!@(python read_gni.py ../gn/effects.gni skia_effects_sources)'
bsalomon@google.com202a51b2012-09-04 14:37:12 +000035 ],
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}