Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 1700313002: Remove gfx::JPEGCodec. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/gfx/codec/jpeg_codec.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 29 matching lines...) Expand all
40 "animation/linear_animation.cc", 40 "animation/linear_animation.cc",
41 "animation/linear_animation.h", 41 "animation/linear_animation.h",
42 "animation/multi_animation.cc", 42 "animation/multi_animation.cc",
43 "animation/multi_animation.h", 43 "animation/multi_animation.h",
44 "animation/slide_animation.cc", 44 "animation/slide_animation.cc",
45 "animation/slide_animation.h", 45 "animation/slide_animation.h",
46 "animation/throb_animation.cc", 46 "animation/throb_animation.cc",
47 "animation/throb_animation.h", 47 "animation/throb_animation.h",
48 "animation/tween.cc", 48 "animation/tween.cc",
49 "animation/tween.h", 49 "animation/tween.h",
50 "codec/jpeg_codec.cc",
51 "codec/jpeg_codec.h",
52 "codec/png_codec.cc", 50 "codec/png_codec.cc",
53 "codec/png_codec.h", 51 "codec/png_codec.h",
54 "display.cc", 52 "display.cc",
55 "display.h", 53 "display.h",
56 "display_change_notifier.cc", 54 "display_change_notifier.cc",
57 "display_change_notifier.h", 55 "display_change_notifier.h",
58 "display_observer.cc", 56 "display_observer.cc",
59 "display_observer.h", 57 "display_observer.h",
60 "frame_time.h", 58 "frame_time.h",
61 "gpu_memory_buffer.cc", 59 "gpu_memory_buffer.cc",
(...skipping 25 matching lines...) Expand all
87 "win/singleton_hwnd.cc", 85 "win/singleton_hwnd.cc",
88 "win/singleton_hwnd.h", 86 "win/singleton_hwnd.h",
89 "win/window_impl.cc", 87 "win/window_impl.cc",
90 "win/window_impl.h", 88 "win/window_impl.h",
91 ] 89 ]
92 90
93 defines = [ "GFX_IMPLEMENTATION" ] 91 defines = [ "GFX_IMPLEMENTATION" ]
94 92
95 deps = [ 93 deps = [
96 ":gfx_export", 94 ":gfx_export",
97 "//base/third_party/dynamic_annotations",
98 "//base:base_static", 95 "//base:base_static",
99 "//base:i18n", 96 "//base:i18n",
97 "//base/third_party/dynamic_annotations",
100 "//skia", 98 "//skia",
101 "//third_party/libjpeg_turbo:libjpeg",
102 "//third_party/libpng", 99 "//third_party/libpng",
103 "//third_party/zlib", 100 "//third_party/zlib",
104 "//third_party:jpeg",
105 "//ui/gfx/geometry", 101 "//ui/gfx/geometry",
106 ] 102 ]
107 public_deps = [ 103 public_deps = [
108 "//base", 104 "//base",
109 "//skia", 105 "//skia",
110 "//third_party/icu", 106 "//third_party/icu",
111 ] 107 ]
112 108
113 # Android. 109 # Android.
114 if (is_android) { 110 if (is_android) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ] 154 ]
159 } 155 }
160 156
161 test("gfx_unittests") { 157 test("gfx_unittests") {
162 sources = [ 158 sources = [
163 "animation/animation_container_unittest.cc", 159 "animation/animation_container_unittest.cc",
164 "animation/animation_unittest.cc", 160 "animation/animation_unittest.cc",
165 "animation/multi_animation_unittest.cc", 161 "animation/multi_animation_unittest.cc",
166 "animation/slide_animation_unittest.cc", 162 "animation/slide_animation_unittest.cc",
167 "animation/tween_unittest.cc", 163 "animation/tween_unittest.cc",
168 "codec/jpeg_codec_unittest.cc",
169 "codec/png_codec_unittest.cc", 164 "codec/png_codec_unittest.cc",
170 "display_change_notifier_unittest.cc", 165 "display_change_notifier_unittest.cc",
171 "display_unittest.cc", 166 "display_unittest.cc",
172 "geometry/box_unittest.cc", 167 "geometry/box_unittest.cc",
173 "geometry/cubic_bezier_unittest.cc", 168 "geometry/cubic_bezier_unittest.cc",
174 "geometry/insets_unittest.cc", 169 "geometry/insets_unittest.cc",
175 "geometry/matrix3_unittest.cc", 170 "geometry/matrix3_unittest.cc",
176 "geometry/point3_unittest.cc", 171 "geometry/point3_unittest.cc",
177 "geometry/point_unittest.cc", 172 "geometry/point_unittest.cc",
178 "geometry/quad_unittest.cc", 173 "geometry/quad_unittest.cc",
(...skipping 10 matching lines...) Expand all
189 "transform_unittest.cc", 184 "transform_unittest.cc",
190 "transform_util_unittest.cc", 185 "transform_util_unittest.cc",
191 ] 186 ]
192 187
193 deps = [ 188 deps = [
194 ":gfx", 189 ":gfx",
195 ":test_support", 190 ":test_support",
196 "//base", 191 "//base",
197 "//base/test:test_support", 192 "//base/test:test_support",
198 "//skia", 193 "//skia",
194 "//testing/gtest",
199 "//third_party/icu:icuuc", 195 "//third_party/icu:icuuc",
200 "//third_party/libpng", 196 "//third_party/libpng",
201 "//third_party/zlib", 197 "//third_party/zlib",
202 "//testing/gtest",
203 "//ui/base", 198 "//ui/base",
204 "//ui/gfx/geometry", 199 "//ui/gfx/geometry",
205 ] 200 ]
206 201
207 if (is_android) { 202 if (is_android) {
208 sources -= [ 203 sources -= [
209 # Do not run display_change_notifier_unittest.cc on Android because it 204 # Do not run display_change_notifier_unittest.cc on Android because it
210 # does not compile display_observer.cc 205 # does not compile display_observer.cc
211 "display_change_notifier_unittest.cc", 206 "display_change_notifier_unittest.cc",
212 ] 207 ]
213 208
214 deps += [ 209 deps += [
215 #'../../testing/android/native_test.gyp:native_test_native_code', TODO(GYP ) 210 #'../../testing/android/native_test.gyp:native_test_native_code', TODO(GYP )
216 ] 211 ]
217 } 212 }
218 } 213 }
219 214
220 if (is_android) { 215 if (is_android) {
221 generate_jni("gfx_jni_headers") { 216 generate_jni("gfx_jni_headers") {
222 sources = [ 217 sources = [
223 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 218 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
224 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 219 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
225 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 220 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
226 ] 221 ]
227 jni_package = "gfx" 222 jni_package = "gfx"
228 } 223 }
229 } 224 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/codec/jpeg_codec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698