| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 gypi_values = exec_script( | 8 gypi_values = exec_script( |
| 9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
| 10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 "//ui/events:events_base", | 38 "//ui/events:events_base", |
| 39 "//ui/events/platform", | 39 "//ui/events/platform", |
| 40 "//ui/gfx", | 40 "//ui/gfx", |
| 41 "//ui/gfx/geometry", | 41 "//ui/gfx/geometry", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 if (use_x11 && !is_chromeos) { | 44 if (use_x11 && !is_chromeos) { |
| 45 deps += [ "//ui/display/util" ] | 45 deps += [ "//ui/display/util" ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 if (is_win) { |
| 49 sources += gypi_values.views_win_sources |
| 50 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. |
| 51 libs = [ "/imm32.lib", "oleacc.lib" ] |
| 52 ldflags = [ "/DELAYLOAD:user32.dll" ] |
| 53 deps += [ |
| 54 "//third_party/iaccessible2", |
| 55 "//third_party/wtl", |
| 56 ] |
| 57 } |
| 58 |
| 48 if (use_ozone) { | 59 if (use_ozone) { |
| 49 deps += [ "//ui/ozone" ] | 60 deps += [ "//ui/ozone" ] |
| 50 } | 61 } |
| 51 if (use_x11) { | 62 if (use_x11) { |
| 52 configs += [ | 63 configs += [ |
| 53 "//build/config/linux:x11", | 64 "//build/config/linux:x11", |
| 54 "//build/config/linux:xrandr", | 65 "//build/config/linux:xrandr", |
| 55 ] | 66 ] |
| 56 deps += [ | 67 deps += [ |
| 57 "//ui/events/platform/x11", | 68 "//ui/events/platform/x11", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 } | 182 } |
| 172 if (use_x11) { | 183 if (use_x11) { |
| 173 deps += [ | 184 deps += [ |
| 174 "//ui/events/platform/x11", | 185 "//ui/events/platform/x11", |
| 175 "//ui/gfx/x", | 186 "//ui/gfx/x", |
| 176 ] | 187 ] |
| 177 } | 188 } |
| 178 } | 189 } |
| 179 | 190 |
| 180 } # if (false) | 191 } # if (false) |
| OLD | NEW |