| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 "//third_party/WebKit/Source/wtf", | 332 "//third_party/WebKit/Source/wtf", |
| 333 "//third_party/iccjpeg", | 333 "//third_party/iccjpeg", |
| 334 "//third_party/libpng", | 334 "//third_party/libpng", |
| 335 "//third_party/libwebp", | 335 "//third_party/libwebp", |
| 336 "//third_party/ots", | 336 "//third_party/ots", |
| 337 "//third_party/qcms", | 337 "//third_party/qcms", |
| 338 "//url", | 338 "//url", |
| 339 "//v8", | 339 "//v8", |
| 340 ] | 340 ] |
| 341 deps = [ | 341 deps = [ |
| 342 "//device/battery:mojo_bindings", | |
| 343 "//mojo/public/c/system:for_component", | 342 "//mojo/public/c/system:for_component", |
| 343 "//mojo/public/cpp/bindings:callback", |
| 344 "//third_party/WebKit/Source/platform/heap", | 344 "//third_party/WebKit/Source/platform/heap", |
| 345 "//third_party/harfbuzz-ng", | 345 "//third_party/harfbuzz-ng", |
| 346 "//third_party/icu", | 346 "//third_party/icu", |
| 347 "//ui/gfx", | 347 "//ui/gfx", |
| 348 "//ui/gfx/geometry", | 348 "//ui/gfx/geometry", |
| 349 ] | 349 ] |
| 350 | 350 |
| 351 if (is_mac) { | 351 if (is_mac) { |
| 352 sources -= [ | 352 sources -= [ |
| 353 # Uses KillRingMac.mm instead. | 353 # Uses KillRingMac.mm instead. |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 ] | 455 ] |
| 456 | 456 |
| 457 public_deps = [ | 457 public_deps = [ |
| 458 ":platform", | 458 ":platform", |
| 459 "//cc", | 459 "//cc", |
| 460 "//testing/gmock", | 460 "//testing/gmock", |
| 461 ] | 461 ] |
| 462 | 462 |
| 463 deps = [ | 463 deps = [ |
| 464 "//base/test:test_support", | 464 "//base/test:test_support", |
| 465 "//device/battery", | |
| 466 "//device/battery:mojo_bindings", | |
| 467 "//mojo/edk/system", | 465 "//mojo/edk/system", |
| 468 "//third_party/qcms", | 466 "//third_party/qcms", |
| 469 ] | 467 ] |
| 470 if (is_android) { | |
| 471 deps -= [ "//device/battery" ] | |
| 472 } | |
| 473 | 468 |
| 474 if (is_win) { | 469 if (is_win) { |
| 475 cflags = [ "/wd4267" ] # Truncation from size_t to int. | 470 cflags = [ "/wd4267" ] # Truncation from size_t to int. |
| 476 } | 471 } |
| 477 } | 472 } |
| 478 | 473 |
| 479 # GYP: blink_heap_unittests | 474 # GYP: blink_heap_unittests |
| 480 test("blink_heap_unittests") { | 475 test("blink_heap_unittests") { |
| 481 visibility = [] # Allow re-assignment of list. | 476 visibility = [] # Allow re-assignment of list. |
| 482 visibility = [ "*" ] | 477 visibility = [ "*" ] |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 } | 593 } |
| 599 | 594 |
| 600 if (current_cpu == "x86" || current_cpu == "x64") { | 595 if (current_cpu == "x86" || current_cpu == "x64") { |
| 601 source_set("blink_x86_sse") { | 596 source_set("blink_x86_sse") { |
| 602 sources = blink_platform_sse_files | 597 sources = blink_platform_sse_files |
| 603 deps = [ | 598 deps = [ |
| 604 ":blink_common", | 599 ":blink_common", |
| 605 ] | 600 ] |
| 606 } | 601 } |
| 607 } | 602 } |
| OLD | NEW |