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 13 matching lines...) Expand all Loading... |
24 vector_icons_public_h_file = "$target_gen_dir/vector_icons_public.h" | 24 vector_icons_public_h_file = "$target_gen_dir/vector_icons_public.h" |
25 | 25 |
26 component("gfx") { | 26 component("gfx") { |
27 sources = [ | 27 sources = [ |
28 "android/device_display_info.cc", | 28 "android/device_display_info.cc", |
29 "android/device_display_info.h", | 29 "android/device_display_info.h", |
30 "android/gfx_jni_registrar.cc", | 30 "android/gfx_jni_registrar.cc", |
31 "android/gfx_jni_registrar.h", | 31 "android/gfx_jni_registrar.h", |
32 "android/java_bitmap.cc", | 32 "android/java_bitmap.cc", |
33 "android/java_bitmap.h", | 33 "android/java_bitmap.h", |
34 "android/shared_device_display_info.cc", | |
35 "android/shared_device_display_info.h", | |
36 "android/view_configuration.cc", | 34 "android/view_configuration.cc", |
37 "android/view_configuration.h", | 35 "android/view_configuration.h", |
38 "animation/animation.cc", | 36 "animation/animation.cc", |
39 "animation/animation.h", | 37 "animation/animation.h", |
40 "animation/animation_container.cc", | 38 "animation/animation_container.cc", |
41 "animation/animation_container.h", | 39 "animation/animation_container.h", |
42 "animation/animation_container_element.h", | 40 "animation/animation_container_element.h", |
43 "animation/animation_container_observer.h", | 41 "animation/animation_container_observer.h", |
44 "animation/animation_delegate.h", | 42 "animation/animation_delegate.h", |
45 "animation/linear_animation.cc", | 43 "animation/linear_animation.cc", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 "range/range_mac.mm", | 168 "range/range_mac.mm", |
171 "range/range_win.cc", | 169 "range/range_win.cc", |
172 "scoped_canvas.h", | 170 "scoped_canvas.h", |
173 "scoped_cg_context_save_gstate_mac.h", | 171 "scoped_cg_context_save_gstate_mac.h", |
174 "scoped_ns_graphics_context_save_gstate_mac.h", | 172 "scoped_ns_graphics_context_save_gstate_mac.h", |
175 "scoped_ns_graphics_context_save_gstate_mac.mm", | 173 "scoped_ns_graphics_context_save_gstate_mac.mm", |
176 "scoped_ui_graphics_push_context_ios.h", | 174 "scoped_ui_graphics_push_context_ios.h", |
177 "scoped_ui_graphics_push_context_ios.mm", | 175 "scoped_ui_graphics_push_context_ios.mm", |
178 "screen.cc", | 176 "screen.cc", |
179 "screen.h", | 177 "screen.h", |
180 "screen_android.cc", | |
181 "screen_aura.cc", | 178 "screen_aura.cc", |
182 "screen_ios.mm", | 179 "screen_ios.mm", |
183 "screen_mac.mm", | 180 "screen_mac.mm", |
184 "screen_win.cc", | 181 "screen_win.cc", |
185 "screen_win.h", | 182 "screen_win.h", |
186 "scrollbar_size.cc", | 183 "scrollbar_size.cc", |
187 "scrollbar_size.h", | 184 "scrollbar_size.h", |
188 "selection_model.cc", | 185 "selection_model.cc", |
189 "selection_model.h", | 186 "selection_model.h", |
190 "sequential_id_generator.cc", | 187 "sequential_id_generator.cc", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 "codec/jpeg_codec.cc", | 283 "codec/jpeg_codec.cc", |
287 "codec/jpeg_codec.h", | 284 "codec/jpeg_codec.h", |
288 ] | 285 ] |
289 } else { | 286 } else { |
290 deps += [ "//third_party:jpeg" ] | 287 deps += [ "//third_party:jpeg" ] |
291 } | 288 } |
292 | 289 |
293 # Android. | 290 # Android. |
294 if (is_android) { | 291 if (is_android) { |
295 if (use_aura) { | 292 if (use_aura) { |
296 sources -= [ | 293 sources -= [ "canvas_notimplemented.cc" ] |
297 "canvas_notimplemented.cc", | |
298 "screen_android.cc", | |
299 ] | |
300 sources += [ "font_fallback_android.cc" ] | 294 sources += [ "font_fallback_android.cc" ] |
301 } else { | 295 } else { |
302 sources -= [ | 296 sources -= [ |
303 "animation/throb_animation.cc", | 297 "animation/throb_animation.cc", |
304 "canvas_skia.cc", | 298 "canvas_skia.cc", |
305 "path.cc", | 299 "path.cc", |
306 "selection_model.cc", | 300 "selection_model.cc", |
307 ] | 301 ] |
308 } | 302 } |
309 | 303 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 if (is_android) { | 583 if (is_android) { |
590 generate_jni("gfx_jni_headers") { | 584 generate_jni("gfx_jni_headers") { |
591 sources = [ | 585 sources = [ |
592 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 586 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
593 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 587 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
594 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 588 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
595 ] | 589 ] |
596 jni_package = "gfx" | 590 jni_package = "gfx" |
597 } | 591 } |
598 } | 592 } |
OLD | NEW |