| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 "break_list.h", | 63 "break_list.h", |
| 64 "codec/jpeg_codec.cc", | 64 "codec/jpeg_codec.cc", |
| 65 "codec/jpeg_codec.h", | 65 "codec/jpeg_codec.h", |
| 66 "codec/png_codec.cc", | 66 "codec/png_codec.cc", |
| 67 "codec/png_codec.h", | 67 "codec/png_codec.h", |
| 68 "color_analysis.cc", | 68 "color_analysis.cc", |
| 69 "color_analysis.h", | 69 "color_analysis.h", |
| 70 "color_palette.h", | 70 "color_palette.h", |
| 71 "color_space.cc", | 71 "color_space.cc", |
| 72 "color_space.h", | 72 "color_space.h", |
| 73 "color_space_mac.mm", | |
| 74 "color_space_win.cc", | |
| 75 "color_utils.cc", | 73 "color_utils.cc", |
| 76 "color_utils.h", | 74 "color_utils.h", |
| 77 "favicon_size.cc", | 75 "favicon_size.cc", |
| 78 "favicon_size.h", | 76 "favicon_size.h", |
| 79 "font.cc", | 77 "font.cc", |
| 80 "font.h", | 78 "font.h", |
| 81 "font_fallback.h", | 79 "font_fallback.h", |
| 82 "font_fallback_linux.cc", | 80 "font_fallback_linux.cc", |
| 83 "font_fallback_linux.h", | 81 "font_fallback_linux.h", |
| 84 "font_fallback_mac.mm", | 82 "font_fallback_mac.mm", |
| 85 "font_fallback_win.cc", | 83 "font_fallback_win.cc", |
| 86 "font_fallback_win.h", | 84 "font_fallback_win.h", |
| 87 "font_list.cc", | 85 "font_list.cc", |
| 88 "font_list.h", | 86 "font_list.h", |
| 89 "font_list_impl.cc", | 87 "font_list_impl.cc", |
| 90 "font_list_impl.h", | 88 "font_list_impl.h", |
| 91 "font_render_params.cc", | 89 "font_render_params.cc", |
| 92 "font_render_params.h", | 90 "font_render_params.h", |
| 93 "font_render_params_android.cc", | 91 "font_render_params_android.cc", |
| 94 "font_render_params_linux.cc", | 92 "font_render_params_linux.cc", |
| 95 "font_render_params_mac.cc", | 93 "font_render_params_mac.cc", |
| 96 "font_render_params_win.cc", | 94 "font_render_params_win.cc", |
| 97 "gdi_util.cc", | 95 "gdi_util.cc", |
| 98 "gdi_util.h", | 96 "gdi_util.h", |
| 99 "gfx_paths.cc", | 97 "gfx_paths.cc", |
| 100 "gfx_paths.h", | 98 "gfx_paths.h", |
| 99 "icc_profile.cc", |
| 100 "icc_profile.h", |
| 101 "icc_profile_mac.mm", |
| 102 "icc_profile_win.cc", |
| 101 "icon_util.cc", | 103 "icon_util.cc", |
| 102 "icon_util.h", | 104 "icon_util.h", |
| 103 "image/image.cc", | 105 "image/image.cc", |
| 104 "image/image.h", | 106 "image/image.h", |
| 105 "image/image_family.cc", | 107 "image/image_family.cc", |
| 106 "image/image_family.h", | 108 "image/image_family.h", |
| 107 "image/image_ios.mm", | 109 "image/image_ios.mm", |
| 108 "image/image_mac.mm", | 110 "image/image_mac.mm", |
| 109 "image/image_png_rep.cc", | 111 "image/image_png_rep.cc", |
| 110 "image/image_png_rep.h", | 112 "image/image_png_rep.h", |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 if (is_component_build) { | 491 if (is_component_build) { |
| 490 public_deps = [ | 492 public_deps = [ |
| 491 ":gfx", | 493 ":gfx", |
| 492 ] | 494 ] |
| 493 } else { | 495 } else { |
| 494 public_deps = [ | 496 public_deps = [ |
| 495 ":memory_buffer_sources", | 497 ":memory_buffer_sources", |
| 496 ] | 498 ] |
| 497 } | 499 } |
| 498 } | 500 } |
| 501 |
| 499 # Cannot be a static_library in component builds due to exported functions | 502 # Cannot be a static_library in component builds due to exported functions |
| 500 source_set("memory_buffer_sources") { | 503 source_set("memory_buffer_sources") { |
| 501 visibility = [ ":*" ] # Depend on through ":memory_buffer". | 504 visibility = [ ":*" ] # Depend on through ":memory_buffer". |
| 502 | 505 |
| 503 # TODO(brettw) refactor this so these sources are in a coherent directory | 506 # TODO(brettw) refactor this so these sources are in a coherent directory |
| 504 # structure rather than random samplings of ui/gfx and ui/gfx/mac. | 507 # structure rather than random samplings of ui/gfx and ui/gfx/mac. |
| 505 sources = [ | 508 sources = [ |
| 506 "buffer_format_util.cc", | 509 "buffer_format_util.cc", |
| 507 "buffer_format_util.h", | 510 "buffer_format_util.h", |
| 508 "buffer_types.h", | 511 "buffer_types.h", |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 if (is_android) { | 730 if (is_android) { |
| 728 generate_jni("gfx_jni_headers") { | 731 generate_jni("gfx_jni_headers") { |
| 729 sources = [ | 732 sources = [ |
| 730 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 733 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 731 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 734 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 732 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 735 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 733 ] | 736 ] |
| 734 jni_package = "gfx" | 737 jni_package = "gfx" |
| 735 } | 738 } |
| 736 } | 739 } |
| OLD | NEW |