| 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 10 matching lines...) Expand all Loading... |
| 21 } | 21 } |
| 22 | 22 |
| 23 component("gfx") { | 23 component("gfx") { |
| 24 sources = [ | 24 sources = [ |
| 25 "android/device_display_info.cc", | 25 "android/device_display_info.cc", |
| 26 "android/device_display_info.h", | 26 "android/device_display_info.h", |
| 27 "android/gfx_jni_registrar.cc", | 27 "android/gfx_jni_registrar.cc", |
| 28 "android/gfx_jni_registrar.h", | 28 "android/gfx_jni_registrar.h", |
| 29 "android/java_bitmap.cc", | 29 "android/java_bitmap.cc", |
| 30 "android/java_bitmap.h", | 30 "android/java_bitmap.h", |
| 31 "android/shared_device_display_info.cc", | |
| 32 "android/shared_device_display_info.h", | |
| 33 "android/view_configuration.cc", | 31 "android/view_configuration.cc", |
| 34 "android/view_configuration.h", | 32 "android/view_configuration.h", |
| 35 "animation/animation.cc", | 33 "animation/animation.cc", |
| 36 "animation/animation.h", | 34 "animation/animation.h", |
| 37 "animation/animation_container.cc", | 35 "animation/animation_container.cc", |
| 38 "animation/animation_container.h", | 36 "animation/animation_container.h", |
| 39 "animation/animation_container_element.h", | 37 "animation/animation_container_element.h", |
| 40 "animation/animation_container_observer.h", | 38 "animation/animation_container_observer.h", |
| 41 "animation/animation_delegate.h", | 39 "animation/animation_delegate.h", |
| 42 "animation/linear_animation.cc", | 40 "animation/linear_animation.cc", |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 "range/range_mac.mm", | 166 "range/range_mac.mm", |
| 169 "range/range_win.cc", | 167 "range/range_win.cc", |
| 170 "scoped_canvas.h", | 168 "scoped_canvas.h", |
| 171 "scoped_cg_context_save_gstate_mac.h", | 169 "scoped_cg_context_save_gstate_mac.h", |
| 172 "scoped_ns_graphics_context_save_gstate_mac.h", | 170 "scoped_ns_graphics_context_save_gstate_mac.h", |
| 173 "scoped_ns_graphics_context_save_gstate_mac.mm", | 171 "scoped_ns_graphics_context_save_gstate_mac.mm", |
| 174 "scoped_ui_graphics_push_context_ios.h", | 172 "scoped_ui_graphics_push_context_ios.h", |
| 175 "scoped_ui_graphics_push_context_ios.mm", | 173 "scoped_ui_graphics_push_context_ios.mm", |
| 176 "screen.cc", | 174 "screen.cc", |
| 177 "screen.h", | 175 "screen.h", |
| 178 "screen_android.cc", | |
| 179 "screen_aura.cc", | 176 "screen_aura.cc", |
| 180 "screen_ios.mm", | 177 "screen_ios.mm", |
| 181 "screen_mac.mm", | 178 "screen_mac.mm", |
| 182 "screen_win.cc", | 179 "screen_win.cc", |
| 183 "screen_win.h", | 180 "screen_win.h", |
| 184 "scrollbar_size.cc", | 181 "scrollbar_size.cc", |
| 185 "scrollbar_size.h", | 182 "scrollbar_size.h", |
| 186 "selection_model.cc", | 183 "selection_model.cc", |
| 187 "selection_model.h", | 184 "selection_model.h", |
| 188 "sequential_id_generator.cc", | 185 "sequential_id_generator.cc", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "codec/jpeg_codec.cc", | 275 "codec/jpeg_codec.cc", |
| 279 "codec/jpeg_codec.h", | 276 "codec/jpeg_codec.h", |
| 280 ] | 277 ] |
| 281 } else { | 278 } else { |
| 282 deps += [ "//third_party:jpeg" ] | 279 deps += [ "//third_party:jpeg" ] |
| 283 } | 280 } |
| 284 | 281 |
| 285 # Android. | 282 # Android. |
| 286 if (is_android) { | 283 if (is_android) { |
| 287 if (use_aura) { | 284 if (use_aura) { |
| 288 sources -= [ | 285 sources -= [ "canvas_notimplemented.cc" ] |
| 289 "canvas_notimplemented.cc", | |
| 290 "screen_android.cc", | |
| 291 ] | |
| 292 sources += [ "font_fallback_android.cc" ] | 286 sources += [ "font_fallback_android.cc" ] |
| 293 } else { | 287 } else { |
| 294 sources -= [ | 288 sources -= [ |
| 295 "animation/throb_animation.cc", | 289 "animation/throb_animation.cc", |
| 296 "canvas_skia.cc", | 290 "canvas_skia.cc", |
| 297 "path.cc", | 291 "path.cc", |
| 298 "selection_model.cc", | 292 "selection_model.cc", |
| 299 ] | 293 ] |
| 300 } | 294 } |
| 301 | 295 |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 if (is_android) { | 544 if (is_android) { |
| 551 generate_jni("gfx_jni_headers") { | 545 generate_jni("gfx_jni_headers") { |
| 552 sources = [ | 546 sources = [ |
| 553 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 547 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 554 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 548 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 555 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 549 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 556 ] | 550 ] |
| 557 jni_package = "gfx" | 551 jni_package = "gfx" |
| 558 } | 552 } |
| 559 } | 553 } |
| OLD | NEW |