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

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

Issue 886323002: Remove more targets from GN Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « ui/views/BUILD.gn ('k') | ui/wm/BUILD.gn » ('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 6
7 component("views_examples_lib") { 7 component("views_examples_lib") {
8 testonly = true 8 testonly = true
9 9
10 sources = [ 10 sources = [
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 82 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
83 cflags = [ "/wd4267" ] 83 cflags = [ "/wd4267" ]
84 } 84 }
85 85
86 if (use_aura) { 86 if (use_aura) {
87 deps += [ "//ui/aura" ] 87 deps += [ "//ui/aura" ]
88 } 88 }
89 } 89 }
90 90
91 executable("views_examples_exe") { 91 if (!is_win || link_chrome_on_windows) {
92 testonly = true 92 executable("views_examples_exe") {
93 testonly = true
93 94
94 sources = [ 95 sources = [
95 "examples_main.cc", 96 "examples_main.cc",
96 ] 97 ]
97 98
98 deps = [ 99 deps = [
99 ":views_examples_lib", 100 ":views_examples_lib",
100 "//base", 101 "//base",
101 "//base:i18n", 102 "//base:i18n",
102 "//ui/base", 103 "//ui/base",
103 "//ui/compositor", 104 "//ui/compositor",
104 "//ui/compositor:test_support", 105 "//ui/compositor:test_support",
105 "//ui/gfx", 106 "//ui/gfx",
106 "//ui/gl", 107 "//ui/gl",
107 "//ui/resources:ui_test_pak", 108 "//ui/resources:ui_test_pak",
108 "//ui/views", 109 "//ui/views",
109 "//ui/views:test_support", 110 "//ui/views:test_support",
110 "//ui/wm", 111 "//ui/wm",
111 ] 112 ]
112 113
113 if (use_aura) { 114 if (use_aura) {
114 deps += [ "//ui/aura" ] 115 deps += [ "//ui/aura" ]
115 } 116 }
116 if (use_x11) { 117 if (use_x11) {
117 deps += [ "//ui/gfx/x" ] 118 deps += [ "//ui/gfx/x" ]
119 }
118 } 120 }
119 } 121 }
120 122
121 component("views_examples_with_content_lib") { 123 component("views_examples_with_content_lib") {
122 testonly = true 124 testonly = true
123 sources = [ 125 sources = [
124 "examples_window_with_content.cc", 126 "examples_window_with_content.cc",
125 "examples_window_with_content.h", 127 "examples_window_with_content.h",
126 "views_examples_with_content_export.h", 128 "views_examples_with_content_export.h",
127 "webview_example.cc", 129 "webview_example.cc",
(...skipping 28 matching lines...) Expand all
156 "//base", 158 "//base",
157 "//content", 159 "//content",
158 "//ui/views_content_client", 160 "//ui/views_content_client",
159 ] 161 ]
160 162
161 if (is_win) { 163 if (is_win) {
162 configs += [ "//build/config/win:windowed" ] 164 configs += [ "//build/config/win:windowed" ]
163 configs -= [ "//build/config/win:console" ] 165 configs -= [ "//build/config/win:console" ]
164 } 166 }
165 } 167 }
OLDNEW
« no previous file with comments | « ui/views/BUILD.gn ('k') | ui/wm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698