OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [ |
| 10 { |
| 11 # GN version: //device/power_save_blocker |
| 12 'target_name': 'device_power_save_blocker', |
| 13 'type': '<(component)', |
| 14 'dependencies': [ |
| 15 '../../base/base.gyp:base', |
| 16 ], |
| 17 'defines': [ |
| 18 'DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION', |
| 19 ], |
| 20 'sources': [ |
| 21 # Note: file list duplicated in GN build, other than Android, as gyp |
| 22 # for Android isn't supported. |
| 23 'power_save_blocker.h', |
| 24 'power_save_blocker_chromeos.cc', |
| 25 'power_save_blocker_impl.cc', |
| 26 'power_save_blocker_impl.h', |
| 27 'power_save_blocker_mac.cc', |
| 28 'power_save_blocker_ozone.cc', |
| 29 'power_save_blocker_win.cc', |
| 30 'power_save_blocker_x11.cc', |
| 31 ], |
| 32 'conditions': [ |
| 33 ['chromeos==1', { |
| 34 'sources!': [ |
| 35 'power_save_blocker_ozone.cc', |
| 36 'power_save_blocker_x11.cc', |
| 37 ], |
| 38 'dependencies': [ |
| 39 '../../chromeos/chromeos.gyp:chromeos', |
| 40 '../../chromeos/chromeos.gyp:power_manager_proto', |
| 41 ], |
| 42 }], |
| 43 ], |
| 44 }, |
| 45 ], |
| 46 } |
OLD | NEW |