| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 # Note: file list duplicated in GN build, other than Android, as gyp | 21 # Note: file list duplicated in GN build, other than Android, as gyp |
| 22 # for Android isn't supported. | 22 # for Android isn't supported. |
| 23 'power_save_blocker.h', | 23 'power_save_blocker.h', |
| 24 'power_save_blocker_chromeos.cc', | 24 'power_save_blocker_chromeos.cc', |
| 25 'power_save_blocker_mac.cc', | 25 'power_save_blocker_mac.cc', |
| 26 'power_save_blocker_ozone.cc', | 26 'power_save_blocker_ozone.cc', |
| 27 'power_save_blocker_win.cc', | 27 'power_save_blocker_win.cc', |
| 28 'power_save_blocker_x11.cc', | 28 'power_save_blocker_x11.cc', |
| 29 ], | 29 ], |
| 30 'conditions': [ | 30 'conditions': [ |
| 31 ['use_x11==1 and chromeos==0', { |
| 32 'dependencies': [ |
| 33 '../../build/linux/system.gyp:xext', |
| 34 '../../build/linux/system.gyp:xscrnsaver', |
| 35 '../../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 36 ], |
| 37 }], |
| 38 ['use_dbus==1', { |
| 39 'dependencies': [ |
| 40 '../../build/linux/system.gyp:dbus', |
| 41 '../../dbus/dbus.gyp:dbus', |
| 42 ], |
| 43 }], |
| 31 ['chromeos==1', { | 44 ['chromeos==1', { |
| 32 'sources!': [ | 45 'sources!': [ |
| 33 'power_save_blocker_ozone.cc', | 46 'power_save_blocker_ozone.cc', |
| 34 'power_save_blocker_x11.cc', | 47 'power_save_blocker_x11.cc', |
| 35 ], | 48 ], |
| 36 'dependencies': [ | 49 'dependencies': [ |
| 37 '../../chromeos/chromeos.gyp:chromeos', | 50 '../../chromeos/chromeos.gyp:chromeos', |
| 38 '../../chromeos/chromeos.gyp:power_manager_proto', | 51 '../../chromeos/chromeos.gyp:power_manager_proto', |
| 39 ], | 52 ], |
| 40 }], | 53 }], |
| 41 ['OS == "mac"', { | 54 ['OS == "mac"', { |
| 42 'link_settings': { | 55 'link_settings': { |
| 43 'libraries': [ | 56 'libraries': [ |
| 44 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 57 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 45 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 58 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 46 ], | 59 ], |
| 47 }, | 60 }, |
| 48 }], | 61 }], |
| 49 ], | 62 ], |
| 50 }, | 63 }, |
| 51 ], | 64 ], |
| 52 } | 65 } |
| OLD | NEW |