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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 "win/metro_mode.h", | 225 "win/metro_mode.h", |
226 "win/scoped_set_map_mode.h", | 226 "win/scoped_set_map_mode.h", |
227 "win/singleton_hwnd.cc", | 227 "win/singleton_hwnd.cc", |
228 "win/singleton_hwnd.h", | 228 "win/singleton_hwnd.h", |
229 "win/singleton_hwnd_observer.cc", | 229 "win/singleton_hwnd_observer.cc", |
230 "win/singleton_hwnd_observer.h", | 230 "win/singleton_hwnd_observer.h", |
231 "win/window_impl.cc", | 231 "win/window_impl.cc", |
232 "win/window_impl.h", | 232 "win/window_impl.h", |
233 ] | 233 ] |
234 | 234 |
235 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 235 configs += [ |
236 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 236 "//build/config:precompiled_headers", |
| 237 |
| 238 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 239 "//build/config/compiler:no_size_t_to_int_warning", |
| 240 ] |
237 | 241 |
238 defines = [ "GFX_IMPLEMENTATION" ] | 242 defines = [ "GFX_IMPLEMENTATION" ] |
239 | 243 |
240 deps = [ | 244 deps = [ |
241 ":gfx_export", | 245 ":gfx_export", |
242 "//base", | 246 "//base", |
243 "//base:i18n", | 247 "//base:i18n", |
244 "//base:base_static", | 248 "//base:base_static", |
245 "//base/third_party/dynamic_annotations", | 249 "//base/third_party/dynamic_annotations", |
246 "//skia", | 250 "//skia", |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 if (is_android) { | 596 if (is_android) { |
593 generate_jni("gfx_jni_headers") { | 597 generate_jni("gfx_jni_headers") { |
594 sources = [ | 598 sources = [ |
595 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 599 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
596 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 600 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
597 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 601 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
598 ] | 602 ] |
599 jni_package = "gfx" | 603 jni_package = "gfx" |
600 } | 604 } |
601 } | 605 } |
OLD | NEW |