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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 'pdf.gyp:pdf', | 123 'pdf.gyp:pdf', |
124 'tools.gyp:picture_utils', | 124 'tools.gyp:picture_utils', |
125 'utils.gyp:utils', | 125 'utils.gyp:utils', |
126 ], | 126 ], |
127 'conditions': [ | 127 'conditions': [ |
128 [ 'skia_gpu == 1', { | 128 [ 'skia_gpu == 1', { |
129 'include_dirs': [ | 129 'include_dirs': [ |
130 '../src/gpu', | 130 '../src/gpu', |
131 ], | 131 ], |
132 }], | 132 }], |
| 133 [ 'skia_os == "nacl"', { |
| 134 # CityHash is not supported on NaCl because the NaCl toolchain is |
| 135 # missing byteswap.h which is needed by CityHash. |
| 136 # TODO(borenet): Find a way to either provide this dependency or |
| 137 # replace it. |
| 138 'sources!': [ |
| 139 '../tests/ChecksumTest.cpp', |
| 140 ], |
| 141 }], |
133 ], | 142 ], |
134 }, | 143 }, |
135 ], | 144 ], |
136 } | 145 } |
137 | 146 |
138 # Local Variables: | 147 # Local Variables: |
139 # tab-width:2 | 148 # tab-width:2 |
140 # indent-tabs-mode:nil | 149 # indent-tabs-mode:nil |
141 # End: | 150 # End: |
142 # vim: set expandtab tabstop=2 shiftwidth=2: | 151 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |