| 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 3ceedf8b9d9b0089b7f0dfe051621f352b0ce8c4..bac7f03d3fbbe5e4c5c4afd61ac9ce56d1089d47 100644
|
| --- a/third_party/WebKit/Source/platform/BUILD.gn
|
| +++ b/third_party/WebKit/Source/platform/BUILD.gn
|
| @@ -239,6 +239,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",
|
| @@ -352,7 +354,13 @@ source_set("test_support") {
|
|
|
| deps = [
|
| ":platform",
|
| + "//device/battery",
|
| + "//device/battery:mojo_bindings",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| ]
|
| + if (is_android) {
|
| + deps -= [ "//device/battery" ]
|
| + }
|
|
|
| if (is_win) {
|
| cflags = [ "/wd4267" ] # Truncation from size_t to int.
|
| @@ -433,6 +441,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/embedder:headers",
|
| + "//third_party/mojo/src/mojo/edk/test:test_support",
|
| "//ui/gfx",
|
| "//ui/gfx/geometry",
|
| "//url",
|
|
|