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

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

Issue 2053633003: Makes views example copy content_resources.pak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | 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/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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 executable("views_examples_with_content_exe") { 152 executable("views_examples_with_content_exe") {
153 testonly = true 153 testonly = true
154 154
155 sources = [ 155 sources = [
156 "examples_with_content_main_exe.cc", 156 "examples_with_content_main_exe.cc",
157 ] 157 ]
158 158
159 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] 159 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ]
160 160
161 deps = [ 161 deps = [
162 ":copy_content_resources",
162 ":views_examples_with_content_lib", 163 ":views_examples_with_content_lib",
163 "//base", 164 "//base",
164 "//build/config/sanitizers:deps", 165 "//build/config/sanitizers:deps",
165 "//build/win:default_exe_manifest", 166 "//build/win:default_exe_manifest",
166 "//content", 167 "//content",
167 "//content:sandbox_helper_win", 168 "//content:sandbox_helper_win",
168 "//sandbox", 169 "//sandbox",
169 "//ui/views_content_client", 170 "//ui/views_content_client",
170 ] 171 ]
171 172
172 if (is_win) { 173 if (is_win) {
173 configs += [ "//build/config/win:windowed" ] 174 configs += [ "//build/config/win:windowed" ]
174 configs -= [ "//build/config/win:console" ] 175 configs -= [ "//build/config/win:console" ]
175 } 176 }
176 } 177 }
178
179 copy("copy_content_resources") {
180 deps = [
181 "//content:resources",
182 ]
183 sources = [
184 "$root_gen_dir/content/content_resources.pak",
185 ]
186 outputs = [
187 "$root_out_dir/content_resources.pak",
188 ]
189 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698