| Index: third_party/WebKit/Source/platform/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
|
| index 023849debc931adf116ef505864b0c8936edef58..91d3512bfce849a44863fb21aaff0ec8cd10b430 100644
|
| --- a/third_party/WebKit/Source/platform/BUILD.gn
|
| +++ b/third_party/WebKit/Source/platform/BUILD.gn
|
| @@ -204,6 +204,8 @@ component("platform") {
|
| ]
|
| deps = [
|
| ":make_platform_generated",
|
| + "//device/battery:mojo_bindings",
|
| + "//mojo/public/c/system:for_component",
|
| "//third_party/WebKit/Source/platform/heap",
|
| "//third_party/harfbuzz-ng",
|
| "//third_party/icu",
|
| @@ -317,8 +319,15 @@ source_set("test_support") {
|
|
|
| deps = [
|
| ":platform",
|
| + "//device/battery",
|
| + "//device/battery:mojo_bindings",
|
| + "//mojo/public/c/system:for_component",
|
| ]
|
|
|
| + if (is_android) {
|
| + deps -= [ "//device/battery" ]
|
| + }
|
| +
|
| if (is_win) {
|
| cflags = [ "/wd4267" ] # Truncation from size_t to int.
|
| }
|
| @@ -418,6 +427,8 @@ test("blink_platform_unittests") {
|
| "//third_party/WebKit/Source/wtf",
|
| "//third_party/WebKit/Source/wtf:test_support",
|
| "//third_party/harfbuzz-ng",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| + "//third_party/mojo/src/mojo/edk/test:test_support",
|
| "//ui/gfx",
|
| "//ui/gfx/geometry",
|
| "//url",
|
|
|