| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 } | 10 } |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 ] | 268 ] |
| 269 } else { | 269 } else { |
| 270 deps += [ "//third_party:jpeg" ] | 270 deps += [ "//third_party:jpeg" ] |
| 271 } | 271 } |
| 272 | 272 |
| 273 # Android. | 273 # Android. |
| 274 if (is_android) { | 274 if (is_android) { |
| 275 sources -= [ | 275 sources -= [ |
| 276 "animation/throb_animation.cc", | 276 "animation/throb_animation.cc", |
| 277 "canvas_skia.cc", | 277 "canvas_skia.cc", |
| 278 "display_observer.cc", | |
| 279 "selection_model.cc", | 278 "selection_model.cc", |
| 280 ] | 279 ] |
| 281 | 280 |
| 282 if (use_aura) { | 281 if (use_aura) { |
| 283 sources -= [ "screen_android.cc" ] | 282 sources -= [ "screen_android.cc" ] |
| 284 } else { | 283 } else { |
| 285 sources -= [ "path.cc" ] | 284 sources -= [ "path.cc" ] |
| 286 } | 285 } |
| 287 | 286 |
| 288 # TODO(GYP) re-enable when base_java exists. | 287 # TODO(GYP) re-enable when base_java exists. |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 if (is_android) { | 565 if (is_android) { |
| 567 generate_jni("gfx_jni_headers") { | 566 generate_jni("gfx_jni_headers") { |
| 568 sources = [ | 567 sources = [ |
| 569 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 568 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 570 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 569 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 571 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 570 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 572 ] | 571 ] |
| 573 jni_package = "gfx" | 572 jni_package = "gfx" |
| 574 } | 573 } |
| 575 } | 574 } |
| OLD | NEW |