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

Unified Diff: device/power_save_blocker/power_save_blocker.gyp

Issue 1999953002: Move content/browser/power_save_blocker to //device/power_save_blocker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@power-save-next-2
Patch Set: . Created 4 years, 6 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: device/power_save_blocker/power_save_blocker.gyp
diff --git a/device/power_save_blocker/power_save_blocker.gyp b/device/power_save_blocker/power_save_blocker.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..3605b6f80493c2d4ea5d953fa2350e648985b47e
--- /dev/null
+++ b/device/power_save_blocker/power_save_blocker.gyp
@@ -0,0 +1,46 @@
+# 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ # GN version: //device/power_save_blocker
+ 'target_name': 'device_power_save_blocker',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ ],
+ 'defines': [
+ 'DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION',
+ ],
+ 'sources': [
+ # Note: file list duplicated in GN build, other than Android, as gyp
+ # for Android isn't supported.
+ 'power_save_blocker.h',
+ 'power_save_blocker_chromeos.cc',
+ 'power_save_blocker_impl.cc',
+ 'power_save_blocker_impl.h',
+ 'power_save_blocker_mac.cc',
+ 'power_save_blocker_ozone.cc',
+ 'power_save_blocker_win.cc',
+ 'power_save_blocker_x11.cc',
+ ],
+ 'conditions': [
+ ['chromeos==1', {
+ 'sources!': [
+ 'power_save_blocker_ozone.cc',
+ 'power_save_blocker_x11.cc',
+ ],
+ 'dependencies': [
+ '../../chromeos/chromeos.gyp:chromeos',
+ '../../chromeos/chromeos.gyp:power_manager_proto',
+ ],
+ }],
+ ],
+ },
+ ],
+}
« no previous file with comments | « device/power_save_blocker/power_save_blocker.h ('k') | device/power_save_blocker/power_save_blocker_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698