Chromium Code Reviews| 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 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 Loading... | |
| 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 } |
| OLD | NEW |