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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 ] | 295 ] |
296 } else { | 296 } else { |
297 deps += [ "//third_party:jpeg" ] | 297 deps += [ "//third_party:jpeg" ] |
298 } | 298 } |
299 | 299 |
300 # Android. | 300 # Android. |
301 if (is_android) { | 301 if (is_android) { |
302 if (use_aura) { | 302 if (use_aura) { |
303 sources -= [ | 303 sources -= [ |
304 "canvas_notimplemented.cc", | 304 "canvas_notimplemented.cc", |
305 "screen_android.cc", | 305 # TODO(mfomitchev): this may be wrong |
| 306 #"screen_android.cc", |
| 307 "screen_aura.cc", |
306 ] | 308 ] |
307 sources += [ "font_fallback_android.cc" ] | 309 sources += [ "font_fallback_android.cc" ] |
308 } else { | 310 } else { |
309 sources -= [ | 311 sources -= [ |
310 "animation/throb_animation.cc", | 312 "animation/throb_animation.cc", |
311 "canvas_skia.cc", | 313 "canvas_skia.cc", |
312 "path.cc", | 314 "path.cc", |
313 "selection_model.cc", | 315 "selection_model.cc", |
314 ] | 316 ] |
315 } | 317 } |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 if (is_android) { | 628 if (is_android) { |
627 generate_jni("gfx_jni_headers") { | 629 generate_jni("gfx_jni_headers") { |
628 sources = [ | 630 sources = [ |
629 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 631 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
630 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 632 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
631 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 633 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
632 ] | 634 ] |
633 jni_package = "gfx" | 635 jni_package = "gfx" |
634 } | 636 } |
635 } | 637 } |
OLD | NEW |