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

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

Issue 1563183008: Added capability on Windows to get the physical dimensions of your attached monitors. Also added th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn build and applied guid brace warning fix Created 4 years, 11 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 | « content/browser/gpu/gpu_internals_ui.cc ('k') | ui/gfx/gfx.gyp » ('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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 "utf16_indexing.h", 209 "utf16_indexing.h",
210 "vsync_provider.h", 210 "vsync_provider.h",
211 "win/direct_manipulation.cc", 211 "win/direct_manipulation.cc",
212 "win/direct_manipulation.h", 212 "win/direct_manipulation.h",
213 "win/direct_write.cc", 213 "win/direct_write.cc",
214 "win/direct_write.h", 214 "win/direct_write.h",
215 "win/dpi.cc", 215 "win/dpi.cc",
216 "win/dpi.h", 216 "win/dpi.h",
217 "win/hwnd_util.cc", 217 "win/hwnd_util.cc",
218 "win/hwnd_util.h", 218 "win/hwnd_util.h",
219 "win/physical_size.cc",
220 "win/physical_size.h",
219 "win/scoped_set_map_mode.h", 221 "win/scoped_set_map_mode.h",
220 "win/singleton_hwnd.cc", 222 "win/singleton_hwnd.cc",
221 "win/singleton_hwnd.h", 223 "win/singleton_hwnd.h",
222 "win/singleton_hwnd_observer.cc", 224 "win/singleton_hwnd_observer.cc",
223 "win/singleton_hwnd_observer.h", 225 "win/singleton_hwnd_observer.h",
224 "win/window_impl.cc", 226 "win/window_impl.cc",
225 "win/window_impl.h", 227 "win/window_impl.h",
226 ] 228 ]
227 if (!is_ios) { 229 if (!is_ios) {
228 sources += [ 230 sources += [
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 vector_icons_cc_file, 362 vector_icons_cc_file,
361 vector_icons_h_file, 363 vector_icons_h_file,
362 ] 364 ]
363 deps += [ ":aggregate_vector_icons" ] 365 deps += [ ":aggregate_vector_icons" ]
364 } 366 }
365 367
366 # Windows. 368 # Windows.
367 if (is_win) { 369 if (is_win) {
368 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w hich is 370 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w hich is
369 # uninteresting. 371 # uninteresting.
372
373 libs = [ "setupapi.lib" ]
370 } else { 374 } else {
371 sources -= [ 375 sources -= [
372 "gdi_util.cc", 376 "gdi_util.cc",
373 "gdi_util.h", 377 "gdi_util.h",
374 "icon_util.cc", 378 "icon_util.cc",
375 "icon_util.h", 379 "icon_util.h",
376 "sys_color_change_listener.cc", 380 "sys_color_change_listener.cc",
377 "sys_color_change_listener.h", 381 "sys_color_change_listener.h",
378 ] 382 ]
379 } 383 }
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 if (is_android) { 779 if (is_android) {
776 generate_jni("gfx_jni_headers") { 780 generate_jni("gfx_jni_headers") {
777 sources = [ 781 sources = [
778 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 782 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
779 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 783 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
780 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 784 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
781 ] 785 ]
782 jni_package = "gfx" 786 jni_package = "gfx"
783 } 787 }
784 } 788 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | ui/gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698