| 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 30 matching lines...) Expand all Loading... |
| 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) { | 48 if (is_win) { |
| 49 sources += gypi_values.views_win_sources | 49 sources += gypi_values.views_win_sources |
| 50 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | 50 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. |
| 51 libs = [ "/imm32.lib", "oleacc.lib" ] | 51 libs = [ "imm32.lib", "oleacc.lib" ] |
| 52 ldflags = [ "/DELAYLOAD:user32.dll" ] | 52 ldflags = [ "/DELAYLOAD:user32.dll" ] |
| 53 deps += [ | 53 deps += [ |
| 54 "//third_party/iaccessible2", | 54 "//third_party/iaccessible2", |
| 55 "//third_party/wtl", | 55 "//third_party/wtl", |
| 56 ] | 56 ] |
| 57 } | 57 } |
| 58 | 58 |
| 59 if (use_ozone) { | 59 if (use_ozone) { |
| 60 deps += [ "//ui/ozone" ] | 60 deps += [ "//ui/ozone" ] |
| 61 } | 61 } |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 } | 182 } |
| 183 if (use_x11) { | 183 if (use_x11) { |
| 184 deps += [ | 184 deps += [ |
| 185 "//ui/events/platform/x11", | 185 "//ui/events/platform/x11", |
| 186 "//ui/gfx/x", | 186 "//ui/gfx/x", |
| 187 ] | 187 ] |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 | 190 |
| 191 } # if (false) | 191 } # if (false) |
| OLD | NEW |