| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| 11 | 11 |
| 12 component("power_save_blocker") { | 12 component("power_save_blocker") { |
| 13 sources = [ | 13 sources = [ |
| 14 "power_save_blocker.h", | 14 "power_save_blocker.h", |
| 15 "power_save_blocker_android.cc", | 15 "power_save_blocker_android.cc", |
| 16 "power_save_blocker_android.h", | 16 "power_save_blocker_android.h", |
| 17 "power_save_blocker_chromeos.cc", | 17 "power_save_blocker_chromeos.cc", |
| 18 "power_save_blocker_export.h", |
| 18 "power_save_blocker_mac.cc", | 19 "power_save_blocker_mac.cc", |
| 19 "power_save_blocker_ozone.cc", | 20 "power_save_blocker_ozone.cc", |
| 20 "power_save_blocker_win.cc", | 21 "power_save_blocker_win.cc", |
| 21 "power_save_blocker_x11.cc", | 22 "power_save_blocker_x11.cc", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 defines = [ "DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION" ] | 25 defines = [ "DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION" ] |
| 25 | 26 |
| 26 deps = [ | 27 deps = [ |
| 27 "//base", | 28 "//base", |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 84 } |
| 84 | 85 |
| 85 android_library("java") { | 86 android_library("java") { |
| 86 java_files = java_sources_needing_jni | 87 java_files = java_sources_needing_jni |
| 87 deps = [ | 88 deps = [ |
| 88 "//base:base_java", | 89 "//base:base_java", |
| 89 "//ui/android:ui_java", | 90 "//ui/android:ui_java", |
| 90 ] | 91 ] |
| 91 } | 92 } |
| 92 } | 93 } |
| OLD | NEW |