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

Unified Diff: third_party/WebKit/Source/modules/battery/BUILD.gn

Issue 2324803006: Move more sources from modules.gypi to subdirectories. (Closed)
Patch Set: gn check Created 4 years, 3 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/modules/battery/BUILD.gn
diff --git a/third_party/WebKit/Source/modules/battery/BUILD.gn b/third_party/WebKit/Source/modules/battery/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..739062f0c18f0e45cebbf1ca44b260b8aa659830
--- /dev/null
+++ b/third_party/WebKit/Source/modules/battery/BUILD.gn
@@ -0,0 +1,21 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//third_party/WebKit/Source/modules/modules.gni")
+
+blink_modules_sources("battery") {
+ sources = [
+ "BatteryDispatcher.cpp",
+ "BatteryDispatcher.h",
+ "BatteryManager.cpp",
+ "BatteryManager.h",
+ "NavigatorBattery.cpp",
+ "NavigatorBattery.h",
+ "battery_status.h",
+ ]
+
+ deps = [
+ "//device/battery:mojo_bindings_blink",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/modules/background_sync/BUILD.gn ('k') | third_party/WebKit/Source/modules/beacon/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698