Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Unified Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 1538803002: Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BatteryStatusDispatcher => BatteryDispatcherProxy Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 95cb9d85149aac5e7175bcc96381e986bf7bbbd4..3cbee4bdc0ab0aba943d2413f001a4432dc2faee 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -330,6 +330,8 @@ component("platform") {
"//v8",
]
deps = [
+ "//device/battery:mojo_bindings",
+ "//mojo/public/c/system:for_component",
"//third_party/WebKit/Source/platform/heap",
"//third_party/harfbuzz-ng",
"//third_party/icu",
@@ -449,6 +451,15 @@ source_set("test_support") {
"//testing/gmock",
]
+ deps = [
+ "//device/battery",
+ "//device/battery:mojo_bindings",
+ "//mojo/edk/system",
+ ]
+ if (is_android) {
+ deps -= [ "//device/battery" ]
+ }
+
if (is_win) {
cflags = [ "/wd4267" ] # Truncation from size_t to int.
}
@@ -523,6 +534,8 @@ test("blink_platform_unittests") {
"//cc",
"//cc:test_support",
"//cc/blink",
+ "//mojo/edk/embedder:headers",
+ "//mojo/edk/test:test_support",
"//skia",
"//testing/gmock",
"//testing/gtest",

Powered by Google App Engine
This is Rietveld 408576698