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

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

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code 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/base/BUILD.gn ('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
59 if (use_ozone) { 48 if (use_ozone) {
60 deps += [ "//ui/ozone" ] 49 deps += [ "//ui/ozone" ]
61 } 50 }
62 if (use_x11) { 51 if (use_x11) {
63 configs += [ 52 configs += [
64 "//build/config/linux:x11", 53 "//build/config/linux:x11",
65 "//build/config/linux:xrandr", 54 "//build/config/linux:xrandr",
66 ] 55 ]
67 deps += [ 56 deps += [
68 "//ui/events/platform/x11", 57 "//ui/events/platform/x11",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 171 }
183 if (use_x11) { 172 if (use_x11) {
184 deps += [ 173 deps += [
185 "//ui/events/platform/x11", 174 "//ui/events/platform/x11",
186 "//ui/gfx/x", 175 "//ui/gfx/x",
187 ] 176 ]
188 } 177 }
189 } 178 }
190 179
191 } # if (false) 180 } # if (false)
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698