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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
253 "//build/config/compiler:no_size_t_to_int_warning", | 253 "//build/config/compiler:no_size_t_to_int_warning", |
254 ] | 254 ] |
255 | 255 |
256 defines = [ "GFX_IMPLEMENTATION" ] | 256 defines = [ "GFX_IMPLEMENTATION" ] |
257 | 257 |
258 deps = [ | 258 deps = [ |
259 ":gfx_export", | 259 ":gfx_export", |
260 "//base", | 260 "//base", |
| 261 "//base:base_static", |
261 "//base:i18n", | 262 "//base:i18n", |
262 "//base:base_static", | |
263 "//base/third_party/dynamic_annotations", | 263 "//base/third_party/dynamic_annotations", |
264 "//skia", | 264 "//skia", |
265 "//third_party/harfbuzz-ng", | 265 "//third_party/harfbuzz-ng", |
266 "//third_party/libpng", | 266 "//third_party/libpng", |
267 "//third_party/zlib", | 267 "//third_party/zlib", |
268 "//ui/gfx/geometry", | 268 "//ui/gfx/geometry", |
269 ] | 269 ] |
270 public_deps = [ | 270 public_deps = [ |
271 "//base", | 271 "//base", |
272 "//skia", | 272 "//skia", |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 | 680 |
681 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 681 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
682 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 682 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
683 | 683 |
684 deps = [ | 684 deps = [ |
685 ":gfx", | 685 ":gfx", |
686 ":test_support", | 686 ":test_support", |
687 "//base", | 687 "//base", |
688 "//base/test:test_support", | 688 "//base/test:test_support", |
689 "//skia", | 689 "//skia", |
| 690 "//testing/gtest", |
690 "//third_party/icu:icuuc", | 691 "//third_party/icu:icuuc", |
691 "//third_party/libpng", | 692 "//third_party/libpng", |
692 "//third_party/zlib", | 693 "//third_party/zlib", |
693 "//testing/gtest", | |
694 "//ui/base", | 694 "//ui/base", |
695 "//ui/gfx/geometry", | 695 "//ui/gfx/geometry", |
696 "//ui/resources:ui_test_pak", | 696 "//ui/resources:ui_test_pak", |
697 ] | 697 ] |
698 | 698 |
699 data_deps = [ | 699 data_deps = [ |
700 "//ui/resources:ui_test_pak", | 700 "//ui/resources:ui_test_pak", |
701 ] | 701 ] |
702 | 702 |
703 if (!is_mac && !is_ios) { | 703 if (!is_mac && !is_ios) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 if (is_android) { | 754 if (is_android) { |
755 generate_jni("gfx_jni_headers") { | 755 generate_jni("gfx_jni_headers") { |
756 sources = [ | 756 sources = [ |
757 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 757 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
758 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 758 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
759 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 759 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
760 ] | 760 ] |
761 jni_package = "gfx" | 761 jni_package = "gfx" |
762 } | 762 } |
763 } | 763 } |
OLD | NEW |