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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
249 "//build/config/compiler:no_size_t_to_int_warning", | 249 "//build/config/compiler:no_size_t_to_int_warning", |
250 ] | 250 ] |
251 | 251 |
252 defines = [ "GFX_IMPLEMENTATION" ] | 252 defines = [ "GFX_IMPLEMENTATION" ] |
253 | 253 |
254 deps = [ | 254 deps = [ |
255 ":gfx_export", | 255 ":gfx_export", |
256 "//base", | 256 "//base", |
| 257 "//base:base_static", |
257 "//base:i18n", | 258 "//base:i18n", |
258 "//base:base_static", | |
259 "//base/third_party/dynamic_annotations", | 259 "//base/third_party/dynamic_annotations", |
260 "//skia", | 260 "//skia", |
261 "//third_party/harfbuzz-ng", | 261 "//third_party/harfbuzz-ng", |
262 "//third_party/libpng", | 262 "//third_party/libpng", |
263 "//third_party/zlib", | 263 "//third_party/zlib", |
264 "//ui/gfx/geometry", | 264 "//ui/gfx/geometry", |
265 ] | 265 ] |
266 public_deps = [ | 266 public_deps = [ |
267 "//base", | 267 "//base", |
268 "//skia", | 268 "//skia", |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 | 666 |
667 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 667 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
668 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 668 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
669 | 669 |
670 deps = [ | 670 deps = [ |
671 ":gfx", | 671 ":gfx", |
672 ":test_support", | 672 ":test_support", |
673 "//base", | 673 "//base", |
674 "//base/test:test_support", | 674 "//base/test:test_support", |
675 "//skia", | 675 "//skia", |
| 676 "//testing/gtest", |
676 "//third_party/icu:icuuc", | 677 "//third_party/icu:icuuc", |
677 "//third_party/libpng", | 678 "//third_party/libpng", |
678 "//third_party/zlib", | 679 "//third_party/zlib", |
679 "//testing/gtest", | |
680 "//ui/base", | 680 "//ui/base", |
681 "//ui/gfx/geometry", | 681 "//ui/gfx/geometry", |
682 "//ui/resources:ui_test_pak", | 682 "//ui/resources:ui_test_pak", |
683 ] | 683 ] |
684 | 684 |
685 data_deps = [ | 685 data_deps = [ |
686 "//ui/resources:ui_test_pak", | 686 "//ui/resources:ui_test_pak", |
687 ] | 687 ] |
688 | 688 |
689 if (!is_mac && !is_ios) { | 689 if (!is_mac && !is_ios) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 if (is_android) { | 740 if (is_android) { |
741 generate_jni("gfx_jni_headers") { | 741 generate_jni("gfx_jni_headers") { |
742 sources = [ | 742 sources = [ |
743 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 743 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
744 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 744 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
745 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 745 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
746 ] | 746 ] |
747 jni_package = "gfx" | 747 jni_package = "gfx" |
748 } | 748 } |
749 } | 749 } |
OLD | NEW |