| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 } |
| OLD | NEW |