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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 "//third_party/WebKit/Source/wtf", | 323 "//third_party/WebKit/Source/wtf", |
324 "//third_party/iccjpeg", | 324 "//third_party/iccjpeg", |
325 "//third_party/libpng", | 325 "//third_party/libpng", |
326 "//third_party/libwebp", | 326 "//third_party/libwebp", |
327 "//third_party/ots", | 327 "//third_party/ots", |
328 "//third_party/qcms", | 328 "//third_party/qcms", |
329 "//url", | 329 "//url", |
330 "//v8", | 330 "//v8", |
331 ] | 331 ] |
332 deps = [ | 332 deps = [ |
| 333 "//device/battery:mojo_bindings", |
| 334 "//mojo/public/c/system:for_component", |
333 "//third_party/WebKit/Source/platform/heap", | 335 "//third_party/WebKit/Source/platform/heap", |
334 "//third_party/harfbuzz-ng", | 336 "//third_party/harfbuzz-ng", |
335 "//third_party/icu", | 337 "//third_party/icu", |
336 "//ui/gfx", | 338 "//ui/gfx", |
337 "//ui/gfx/geometry", | 339 "//ui/gfx/geometry", |
338 ] | 340 ] |
339 | 341 |
340 if (is_mac) { | 342 if (is_mac) { |
341 sources -= [ | 343 sources -= [ |
342 # Uses KillRingMac.mm instead. | 344 # Uses KillRingMac.mm instead. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 "//third_party/WebKit/Source:config", | 444 "//third_party/WebKit/Source:config", |
443 "//third_party/WebKit/Source:inside_blink", | 445 "//third_party/WebKit/Source:inside_blink", |
444 "//third_party/WebKit/Source:non_test_config", | 446 "//third_party/WebKit/Source:non_test_config", |
445 ] | 447 ] |
446 | 448 |
447 public_deps = [ | 449 public_deps = [ |
448 ":platform", | 450 ":platform", |
449 "//testing/gmock", | 451 "//testing/gmock", |
450 ] | 452 ] |
451 | 453 |
| 454 deps = [ |
| 455 "//device/battery", |
| 456 "//device/battery:mojo_bindings", |
| 457 "//mojo/edk/system", |
| 458 ] |
| 459 if (is_android) { |
| 460 deps -= [ "//device/battery" ] |
| 461 } |
| 462 |
452 if (is_win) { | 463 if (is_win) { |
453 cflags = [ "/wd4267" ] # Truncation from size_t to int. | 464 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
454 } | 465 } |
455 } | 466 } |
456 | 467 |
457 # GYP: blink_heap_unittests | 468 # GYP: blink_heap_unittests |
458 test("blink_heap_unittests") { | 469 test("blink_heap_unittests") { |
459 visibility = [] # Allow re-assignment of list. | 470 visibility = [] # Allow re-assignment of list. |
460 visibility = [ "*" ] | 471 visibility = [ "*" ] |
461 | 472 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 | 527 |
517 deps = [ | 528 deps = [ |
518 ":blink_common", | 529 ":blink_common", |
519 ":platform", | 530 ":platform", |
520 ":test_support", | 531 ":test_support", |
521 "//base", | 532 "//base", |
522 "//base/test:test_support", | 533 "//base/test:test_support", |
523 "//cc", | 534 "//cc", |
524 "//cc:test_support", | 535 "//cc:test_support", |
525 "//cc/blink", | 536 "//cc/blink", |
| 537 "//mojo/edk/embedder:headers", |
| 538 "//mojo/edk/test:test_support", |
526 "//skia", | 539 "//skia", |
527 "//testing/gmock", | 540 "//testing/gmock", |
528 "//testing/gtest", | 541 "//testing/gtest", |
529 "//third_party/WebKit/Source/wtf", | 542 "//third_party/WebKit/Source/wtf", |
530 "//third_party/WebKit/Source/wtf:test_support", | 543 "//third_party/WebKit/Source/wtf:test_support", |
531 "//third_party/harfbuzz-ng", | 544 "//third_party/harfbuzz-ng", |
532 "//ui/gfx", | 545 "//ui/gfx", |
533 "//ui/gfx/geometry", | 546 "//ui/gfx/geometry", |
534 "//url", | 547 "//url", |
535 ] | 548 ] |
(...skipping 25 matching lines...) Expand all Loading... |
561 } | 574 } |
562 | 575 |
563 if (current_cpu == "x86" || current_cpu == "x64") { | 576 if (current_cpu == "x86" || current_cpu == "x64") { |
564 source_set("blink_x86_sse") { | 577 source_set("blink_x86_sse") { |
565 sources = blink_platform_sse_files | 578 sources = blink_platform_sse_files |
566 deps = [ | 579 deps = [ |
567 ":blink_common", | 580 ":blink_common", |
568 ] | 581 ] |
569 } | 582 } |
570 } | 583 } |
OLD | NEW |