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/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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 executable("views_examples_exe") { | 96 executable("views_examples_exe") { |
97 testonly = true | 97 testonly = true |
98 | 98 |
99 sources = [ | 99 sources = [ |
100 "examples_main.cc", | 100 "examples_main.cc", |
101 ] | 101 ] |
102 | 102 |
103 deps = [ | 103 deps = [ |
104 ":views_examples_lib", | 104 ":views_examples_lib", |
105 "//base", | 105 "//base", |
| 106 "//build/config/sanitizers:deps", |
106 "//base:i18n", | 107 "//base:i18n", |
107 "//ui/base", | 108 "//ui/base", |
108 "//ui/compositor", | 109 "//ui/compositor", |
109 "//ui/compositor:test_support", | 110 "//ui/compositor:test_support", |
110 "//ui/gfx", | 111 "//ui/gfx", |
111 "//ui/gl", | 112 "//ui/gl", |
112 "//ui/resources:ui_test_pak", | 113 "//ui/resources:ui_test_pak", |
113 "//ui/views", | 114 "//ui/views", |
114 "//ui/views:test_support", | 115 "//ui/views:test_support", |
115 "//ui/wm", | 116 "//ui/wm", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 153 |
153 sources = [ | 154 sources = [ |
154 "examples_with_content_main_exe.cc", | 155 "examples_with_content_main_exe.cc", |
155 ] | 156 ] |
156 | 157 |
157 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] | 158 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] |
158 | 159 |
159 deps = [ | 160 deps = [ |
160 ":views_examples_with_content_lib", | 161 ":views_examples_with_content_lib", |
161 "//base", | 162 "//base", |
| 163 "//build/config/sanitizers:deps", |
162 "//content", | 164 "//content", |
163 "//content:startup_helper_win", | 165 "//content:startup_helper_win", |
164 "//ui/views_content_client", | 166 "//ui/views_content_client", |
165 ] | 167 ] |
166 | 168 |
167 if (is_win) { | 169 if (is_win) { |
168 configs += [ "//build/config/win:windowed" ] | 170 configs += [ "//build/config/win:windowed" ] |
169 configs -= [ "//build/config/win:console" ] | 171 configs -= [ "//build/config/win:console" ] |
170 } | 172 } |
171 } | 173 } |
OLD | NEW |