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

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

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 years, 1 month 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 | « ui/native_theme/native_theme_win.cc ('k') | no next file » | 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/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
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
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)
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698