OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build unit tests. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'tests', | 8 'target_name': 'tests', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 '../tests/UtilsTest.cpp', | 121 '../tests/UtilsTest.cpp', |
122 '../tests/WArrayTest.cpp', | 122 '../tests/WArrayTest.cpp', |
123 '../tests/WritePixelsTest.cpp', | 123 '../tests/WritePixelsTest.cpp', |
124 '../tests/Writer32Test.cpp', | 124 '../tests/Writer32Test.cpp', |
125 '../tests/XfermodeTest.cpp', | 125 '../tests/XfermodeTest.cpp', |
126 | 126 |
127 # Needed for PipeTest. | 127 # Needed for PipeTest. |
128 '../src/pipe/utils/SamplePipeControllers.cpp', | 128 '../src/pipe/utils/SamplePipeControllers.cpp', |
129 ], | 129 ], |
130 'dependencies': [ | 130 'dependencies': [ |
131 'skia_base_libs.gyp:skia_base_libs', | 131 'skia_lib.gyp:skia_lib', |
132 'effects.gyp:effects', | |
133 'flags.gyp:flags', | 132 'flags.gyp:flags', |
134 'experimental.gyp:experimental', | 133 'experimental.gyp:experimental', |
135 'images.gyp:images', | |
136 'pdf.gyp:pdf', | 134 'pdf.gyp:pdf', |
137 'tools.gyp:picture_utils', | 135 'tools.gyp:picture_utils', |
138 'utils.gyp:utils', | |
139 'sfnt.gyp:sfnt', | |
140 ], | 136 ], |
141 'conditions': [ | 137 'conditions': [ |
142 [ 'skia_gpu == 1', { | 138 [ 'skia_gpu == 1', { |
143 'include_dirs': [ | 139 'include_dirs': [ |
144 '../src/gpu', | 140 '../src/gpu', |
145 ], | 141 ], |
146 }], | 142 }], |
147 [ 'skia_os == "nacl"', { | 143 [ 'skia_os == "nacl"', { |
148 # CityHash is not supported on NaCl because the NaCl toolchain is | 144 # CityHash is not supported on NaCl because the NaCl toolchain is |
149 # missing byteswap.h which is needed by CityHash. | 145 # missing byteswap.h which is needed by CityHash. |
150 # TODO(borenet): Find a way to either provide this dependency or | 146 # TODO(borenet): Find a way to either provide this dependency or |
151 # replace it. | 147 # replace it. |
152 'sources!': [ | 148 'sources!': [ |
153 '../tests/BitmapHasherTest.cpp', | 149 '../tests/BitmapHasherTest.cpp', |
154 '../tests/ChecksumTest.cpp', | 150 '../tests/ChecksumTest.cpp', |
155 ], | 151 ], |
156 }], | 152 }], |
157 ], | 153 ], |
158 }, | 154 }, |
159 ], | 155 ], |
160 } | 156 } |
161 | 157 |
162 # Local Variables: | 158 # Local Variables: |
163 # tab-width:2 | 159 # tab-width:2 |
164 # indent-tabs-mode:nil | 160 # indent-tabs-mode:nil |
165 # End: | 161 # End: |
166 # vim: set expandtab tabstop=2 shiftwidth=2: | 162 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |