| 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 5fb1d3affe4d658416a0b033bf56d371e1cf8d1a..3fb1dadf3440930bb511e6c81787ab884a35dc3d 100644
|
| --- a/third_party/WebKit/Source/platform/BUILD.gn
|
| +++ b/third_party/WebKit/Source/platform/BUILD.gn
|
| @@ -204,9 +204,11 @@ component("platform") {
|
| ]
|
| deps = [
|
| ":make_platform_generated",
|
| + "//device/battery:mojo_bindings",
|
| "//third_party/WebKit/Source/platform/heap",
|
| "//third_party/harfbuzz-ng",
|
| "//third_party/icu",
|
| + "//third_party/mojo/src/mojo/edk/system",
|
| "//ui/gfx",
|
| "//ui/gfx/geometry",
|
| ]
|
| @@ -317,8 +319,15 @@ 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.
|
| }
|
| @@ -416,6 +425,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",
|
| "//url",
|
| ]
|
|
|
|
|