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_chromeos.cc", | 17 "power_save_blocker_chromeos.cc", |
17 "power_save_blocker_mac.cc", | 18 "power_save_blocker_mac.cc", |
18 "power_save_blocker_ozone.cc", | 19 "power_save_blocker_ozone.cc", |
19 "power_save_blocker_win.cc", | 20 "power_save_blocker_win.cc", |
20 "power_save_blocker_x11.cc", | 21 "power_save_blocker_x11.cc", |
21 ] | 22 ] |
22 | 23 |
23 defines = [ "DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION" ] | 24 defines = [ "DEVICE_POWER_SAVE_BLOCKER_IMPLEMENTATION" ] |
24 | 25 |
25 deps = [ | 26 deps = [ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 83 } |
83 | 84 |
84 android_library("java") { | 85 android_library("java") { |
85 java_files = java_sources_needing_jni | 86 java_files = java_sources_needing_jni |
86 deps = [ | 87 deps = [ |
87 "//base:base_java", | 88 "//base:base_java", |
88 "//ui/android:ui_java", | 89 "//ui/android:ui_java", |
89 ] | 90 ] |
90 } | 91 } |
91 } | 92 } |
OLD | NEW |