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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 vector_icons_h_file, | 343 vector_icons_h_file, |
344 ] | 344 ] |
345 deps += [ ":aggregate_vector_icons" ] | 345 deps += [ ":aggregate_vector_icons" ] |
346 } | 346 } |
347 | 347 |
348 # Windows. | 348 # Windows. |
349 if (is_win) { | 349 if (is_win) { |
350 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is | 350 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
351 # uninteresting. | 351 # uninteresting. |
352 | 352 |
353 libs = [ "setupapi.lib" ] | 353 libs = [ |
| 354 "setupapi.lib", |
| 355 "dwrite.lib", |
| 356 ] |
354 } else { | 357 } else { |
355 sources -= [ | 358 sources -= [ |
356 "gdi_util.cc", | 359 "gdi_util.cc", |
357 "gdi_util.h", | 360 "gdi_util.h", |
358 "icon_util.cc", | 361 "icon_util.cc", |
359 "icon_util.h", | 362 "icon_util.h", |
360 "sys_color_change_listener.cc", | 363 "sys_color_change_listener.cc", |
361 "sys_color_change_listener.h", | 364 "sys_color_change_listener.h", |
362 ] | 365 ] |
363 } | 366 } |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 ] | 870 ] |
868 | 871 |
869 ldflags = [ | 872 ldflags = [ |
870 "/DELAYLOAD:d2d1.dll", | 873 "/DELAYLOAD:d2d1.dll", |
871 "/DELAYLOAD:d3d10_1.dll", | 874 "/DELAYLOAD:d3d10_1.dll", |
872 ] | 875 ] |
873 | 876 |
874 libs = [ | 877 libs = [ |
875 "d2d1.lib", | 878 "d2d1.lib", |
876 "d3d10_1.lib", | 879 "d3d10_1.lib", |
| 880 "dwrite.lib", |
877 "imm32.lib", | 881 "imm32.lib", |
878 "oleacc.lib", | 882 "oleacc.lib", |
879 ] | 883 ] |
880 } | 884 } |
881 | 885 |
882 if (!is_ios) { | 886 if (!is_ios) { |
883 deps += [ | 887 deps += [ |
884 "//mojo/edk/system", | 888 "//mojo/edk/system", |
885 "//mojo/public/cpp/bindings", | 889 "//mojo/public/cpp/bindings", |
886 "//ui/gfx/geometry/mojo:unit_test", | 890 "//ui/gfx/geometry/mojo:unit_test", |
887 "//ui/gfx/mojo:test_interfaces", | 891 "//ui/gfx/mojo:test_interfaces", |
888 ] | 892 ] |
889 } | 893 } |
890 } | 894 } |
891 | 895 |
892 if (is_android) { | 896 if (is_android) { |
893 generate_jni("gfx_jni_headers") { | 897 generate_jni("gfx_jni_headers") { |
894 sources = [ | 898 sources = [ |
895 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 899 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
896 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 900 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
897 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 901 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
898 ] | 902 ] |
899 jni_package = "gfx" | 903 jni_package = "gfx" |
900 } | 904 } |
901 } | 905 } |
OLD | NEW |