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

Side by Side Diff: device/power_save_blocker/BUILD.gn

Issue 2867303003: Generalize the API of WakeLockContext mojo interface. (Closed)
Patch Set: Generalize the API of WakeLockContext mojo interface. Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 # given the interaction between os_chromeos and the feature flags for X11 and 47 # given the interaction between os_chromeos and the feature flags for X11 and
48 # ozone, so do it all in one spot. 48 # ozone, so do it all in one spot.
49 if (is_chromeos || !use_ozone) { 49 if (is_chromeos || !use_ozone) {
50 sources -= [ "power_save_blocker_ozone.cc" ] 50 sources -= [ "power_save_blocker_ozone.cc" ]
51 } 51 }
52 if (is_chromeos || !use_x11 || !use_dbus) { 52 if (is_chromeos || !use_x11 || !use_dbus) {
53 sources -= [ "power_save_blocker_x11.cc" ] 53 sources -= [ "power_save_blocker_x11.cc" ]
54 } 54 }
55 55
56 if (is_android) { 56 if (is_android) {
57 deps += [ 57 deps += [ ":jni_headers" ]
58 ":jni_headers", 58 public_deps = [
59 "//ui/android", 59 "//ui/android",
60 ] 60 ]
61 } 61 }
62 62
63 if (is_chromeos) { 63 if (is_chromeos) {
64 deps += [ 64 deps += [
65 "//chromeos", 65 "//chromeos",
66 "//chromeos:power_manager_proto", 66 "//chromeos:power_manager_proto",
67 ] 67 ]
68 } 68 }
(...skipping 15 matching lines...) Expand all
84 } 84 }
85 85
86 android_library("java") { 86 android_library("java") {
87 java_files = java_sources_needing_jni 87 java_files = java_sources_needing_jni
88 deps = [ 88 deps = [
89 "//base:base_java", 89 "//base:base_java",
90 "//ui/android:ui_java", 90 "//ui/android:ui_java",
91 ] 91 ]
92 } 92 }
93 } 93 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | device/wake_lock/public/interfaces/wake_lock_context.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698