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

Unified Diff: device/power_save_blocker/power_save_blocker.gyp

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac 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..23e779ac94852a855aa800d7e77068b2011d904f
--- /dev/null
+++ b/device/power_save_blocker/power_save_blocker.gyp
@@ -0,0 +1,54 @@
+# 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',
+ ],
+ }],
+ ['OS == "mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
+ '$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
+ ],
+ },
+ }],
+ ],
+ },
+ ],
+}
« 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