OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
9 import("//third_party/WebKit/Source/platform/platform.gni") | 9 import("//third_party/WebKit/Source/platform/platform.gni") |
10 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 10 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 "//third_party/iccjpeg", | 202 "//third_party/iccjpeg", |
203 "//third_party/libpng", | 203 "//third_party/libpng", |
204 "//third_party/libwebp", | 204 "//third_party/libwebp", |
205 "//third_party/ots", | 205 "//third_party/ots", |
206 "//third_party/qcms", | 206 "//third_party/qcms", |
207 "//url", | 207 "//url", |
208 "//v8", | 208 "//v8", |
209 ] | 209 ] |
210 deps = [ | 210 deps = [ |
211 ":make_platform_generated", | 211 ":make_platform_generated", |
| 212 "//third_party/WebKit/Source/platform/heap", |
| 213 "//third_party/WebKit/Source/wtf", |
212 "//third_party/harfbuzz-ng", | 214 "//third_party/harfbuzz-ng", |
213 "//third_party/icu", | 215 "//third_party/icu", |
214 "//third_party/WebKit/Source/wtf", | |
215 "//third_party/WebKit/Source/platform/heap", | |
216 ] | 216 ] |
217 | 217 |
218 if (is_mac) { | 218 if (is_mac) { |
219 sources -= [ | 219 sources -= [ |
220 # Uses KillRingMac.mm instead. | 220 # Uses KillRingMac.mm instead. |
221 "KillRingNone.cpp", | 221 "KillRingNone.cpp", |
222 "fonts/skia/FontCacheSkia.cpp", | 222 "fonts/skia/FontCacheSkia.cpp", |
223 "scroll/ScrollAnimator.cpp", | 223 "scroll/ScrollAnimator.cpp", |
224 "scroll/ScrollAnimator.h", | 224 "scroll/ScrollAnimator.h", |
225 | 225 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 | 319 |
320 configs += [ | 320 configs += [ |
321 "//third_party/WebKit/Source:config", | 321 "//third_party/WebKit/Source:config", |
322 "//third_party/WebKit/Source:inside_blink", | 322 "//third_party/WebKit/Source:inside_blink", |
323 "//third_party/WebKit/Source:non_test_config", | 323 "//third_party/WebKit/Source:non_test_config", |
324 ] | 324 ] |
325 | 325 |
326 deps = [ | 326 deps = [ |
327 ":platform", | 327 ":platform", |
328 ] | 328 ] |
| 329 |
| 330 if (is_win) { |
| 331 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
| 332 } |
329 } | 333 } |
330 | 334 |
331 # GYP: blink_heap_unittests | 335 # GYP: blink_heap_unittests |
332 test("heap_unittests") { | 336 test("heap_unittests") { |
333 visibility = [] # Allow re-assignment of list. | 337 visibility = [] # Allow re-assignment of list. |
334 visibility = [ "*" ] | 338 visibility = [ "*" ] |
335 output_name = "blink_heap_unittests" | 339 output_name = "blink_heap_unittests" |
336 | 340 |
337 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") | 341 sources = rebase_path(heap_gypi.platform_heap_test_files, ".", "heap") |
338 sources += [ "heap/RunAllTests.cpp" ] | 342 sources += [ "heap/RunAllTests.cpp" ] |
339 | 343 |
340 configs += [ | 344 configs += [ |
341 "//third_party/WebKit/Source/wtf:wtf_config", | 345 "//third_party/WebKit/Source/wtf:wtf_config", |
342 "//third_party/WebKit/Source:config", | 346 "//third_party/WebKit/Source:config", |
343 ] | 347 ] |
344 | 348 |
345 defines = [ "INSIDE_BLINK" ] | 349 defines = [ "INSIDE_BLINK" ] |
346 | 350 |
347 deps = [ | 351 deps = [ |
348 ":platform", | 352 ":platform", |
349 "//base", | 353 "//base", |
350 "//base/allocator", | 354 "//base/allocator", |
351 "//base/test:test_support", | 355 "//base/test:test_support", |
| 356 "//content/test:test_support", |
352 "//testing/gmock", | 357 "//testing/gmock", |
353 "//testing/gtest", | 358 "//testing/gtest", |
354 "//third_party/WebKit/Source/wtf", | 359 "//third_party/WebKit/Source/wtf", |
355 "//third_party/WebKit/Source/wtf:test_support", | 360 "//third_party/WebKit/Source/wtf:test_support", |
356 "//content/test:test_support", | |
357 ] | 361 ] |
358 if (is_android) { | 362 if (is_android) { |
359 apk_deps = [ | 363 apk_deps = [ |
360 "//base:base_java", | 364 "//base:base_java", |
361 "//content/shell/android:content_shell_assets", | 365 "//content/shell/android:content_shell_assets", |
362 "//net/android:net_java", | 366 "//net/android:net_java", |
363 ] | 367 ] |
364 } | 368 } |
365 } | 369 } |
366 | 370 |
(...skipping 27 matching lines...) Expand all Loading... |
394 ":blink_common", | 398 ":blink_common", |
395 ":platform", | 399 ":platform", |
396 ":test_support", | 400 ":test_support", |
397 "//base", | 401 "//base", |
398 "//base/allocator", | 402 "//base/allocator", |
399 "//base/test:test_support", | 403 "//base/test:test_support", |
400 "//cc/blink", | 404 "//cc/blink", |
401 "//skia", | 405 "//skia", |
402 "//testing/gmock", | 406 "//testing/gmock", |
403 "//testing/gtest", | 407 "//testing/gtest", |
404 "//third_party/harfbuzz-ng", | |
405 "//third_party/WebKit/Source/wtf", | 408 "//third_party/WebKit/Source/wtf", |
406 "//third_party/WebKit/Source/wtf:test_support", | 409 "//third_party/WebKit/Source/wtf:test_support", |
| 410 "//third_party/harfbuzz-ng", |
407 "//url", | 411 "//url", |
408 ] | 412 ] |
409 | 413 |
410 defines = [ "INSIDE_BLINK" ] | 414 defines = [ "INSIDE_BLINK" ] |
411 | 415 |
412 include_dirs = [ "$root_gen_dir/blink" ] | 416 include_dirs = [ "$root_gen_dir/blink" ] |
413 } | 417 } |
414 | 418 |
415 if (current_cpu == "arm") { | 419 if (current_cpu == "arm") { |
416 source_set("blink_arm_neon") { | 420 source_set("blink_arm_neon") { |
(...skipping 17 matching lines...) Expand all Loading... |
434 } | 438 } |
435 | 439 |
436 if (current_cpu == "x86" || current_cpu == "x64") { | 440 if (current_cpu == "x86" || current_cpu == "x64") { |
437 source_set("blink_x86_sse") { | 441 source_set("blink_x86_sse") { |
438 sources = blink_platform_sse_files | 442 sources = blink_platform_sse_files |
439 deps = [ | 443 deps = [ |
440 ":blink_common", | 444 ":blink_common", |
441 ] | 445 ] |
442 } | 446 } |
443 } | 447 } |
OLD | NEW |