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

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

Issue 2536223003: Refactor ContentViewClient (3/6) (Closed)
Patch Set: removed getDesiredMeasureSpec Created 4 years 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if (is_chromeos || !use_ozone) { 44 if (is_chromeos || !use_ozone) {
45 sources -= [ "power_save_blocker_ozone.cc" ] 45 sources -= [ "power_save_blocker_ozone.cc" ]
46 } 46 }
47 if (is_chromeos || !use_x11 || !use_dbus) { 47 if (is_chromeos || !use_x11 || !use_dbus) {
48 sources -= [ "power_save_blocker_x11.cc" ] 48 sources -= [ "power_save_blocker_x11.cc" ]
49 } 49 }
50 50
51 if (is_android) { 51 if (is_android) {
52 deps += [ 52 deps += [
53 ":jni_headers", 53 ":jni_headers",
54 "//skia",
boliu 2016/12/03 00:16:39 err, this makes no sense to me, why does this need
Jinsuk Kim 2016/12/05 01:24:33 Because it has a reference to teh type SkColor. I
54 "//ui/android", 55 "//ui/android",
55 ] 56 ]
56 } 57 }
57 58
58 if (is_chromeos) { 59 if (is_chromeos) {
59 deps += [ 60 deps += [
60 "//chromeos", 61 "//chromeos",
61 "//chromeos:power_manager_proto", 62 "//chromeos:power_manager_proto",
62 ] 63 ]
63 } 64 }
(...skipping 15 matching lines...) Expand all
79 } 80 }
80 81
81 android_library("java") { 82 android_library("java") {
82 java_files = java_sources_needing_jni 83 java_files = java_sources_needing_jni
83 deps = [ 84 deps = [
84 "//base:base_java", 85 "//base:base_java",
85 "//ui/android:ui_java", 86 "//ui/android:ui_java",
86 ] 87 ]
87 } 88 }
88 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698