OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import("gn/shared_sources.gni") | 6 import("gn/shared_sources.gni") |
7 | 7 |
8 if (!defined(is_skia_standalone)) { | 8 if (!defined(is_skia_standalone)) { |
9 is_skia_standalone = false | 9 is_skia_standalone = false |
10 } | 10 } |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 "fuzz/FuzzScaleToSides.cpp", | 1127 "fuzz/FuzzScaleToSides.cpp", |
1128 "fuzz/fuzz.cpp", | 1128 "fuzz/fuzz.cpp", |
1129 ] | 1129 ] |
1130 deps = [ | 1130 deps = [ |
1131 ":flags", | 1131 ":flags", |
1132 ":skia", | 1132 ":skia", |
1133 ] | 1133 ] |
1134 testonly = true | 1134 testonly = true |
1135 } | 1135 } |
1136 | 1136 |
| 1137 pathops_tests_sources = exec_script("gyp/find.py", |
| 1138 [ |
| 1139 "PathOps*.cpp", |
| 1140 rebase_path("tests"), |
| 1141 ], |
| 1142 "list lines", |
| 1143 []) |
| 1144 |
| 1145 executable("pathops_unittest") { |
| 1146 sources = |
| 1147 pathops_tests_sources - |
| 1148 [ rebase_path("tests/PathOpsSkpClipTest.cpp") ] + # alternate main |
| 1149 [ |
| 1150 rebase_path("tests/skia_test.cpp"), |
| 1151 rebase_path("tests/Test.cpp"), |
| 1152 ] |
| 1153 deps = [ |
| 1154 ":flags", |
| 1155 ":gpu_tool_utils", |
| 1156 ":skia", |
| 1157 ":tool_utils", |
| 1158 ] |
| 1159 testonly = true |
| 1160 } |
| 1161 |
1137 executable("dump_record") { | 1162 executable("dump_record") { |
1138 sources = [ | 1163 sources = [ |
1139 "tools/DumpRecord.cpp", | 1164 "tools/DumpRecord.cpp", |
1140 "tools/dump_record.cpp", | 1165 "tools/dump_record.cpp", |
1141 ] | 1166 ] |
1142 deps = [ | 1167 deps = [ |
1143 ":flags", | 1168 ":flags", |
1144 ":skia", | 1169 ":skia", |
1145 ] | 1170 ] |
1146 testonly = true | 1171 testonly = true |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 ] | 1270 ] |
1246 if (is_android) { | 1271 if (is_android) { |
1247 deps += [ "//third_party/native_app_glue" ] | 1272 deps += [ "//third_party/native_app_glue" ] |
1248 } else if (is_mac) { | 1273 } else if (is_mac) { |
1249 deps += [ "//third_party/libsdl" ] | 1274 deps += [ "//third_party/libsdl" ] |
1250 } | 1275 } |
1251 testonly = true | 1276 testonly = true |
1252 } | 1277 } |
1253 } | 1278 } |
1254 } | 1279 } |
OLD | NEW |