| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 sources = [ | 101 sources = [ |
| 102 "examples_main.cc", | 102 "examples_main.cc", |
| 103 ] | 103 ] |
| 104 | 104 |
| 105 deps = [ | 105 deps = [ |
| 106 ":views_examples_lib", | 106 ":views_examples_lib", |
| 107 "//base", | 107 "//base", |
| 108 "//base:i18n", | 108 "//base:i18n", |
| 109 "//base/test:test_support", | 109 "//base/test:test_support", |
| 110 "//build/config/sanitizers:deps", | 110 "//build/config:exe_and_shlib_deps", |
| 111 "//build/win:default_exe_manifest", | 111 "//build/win:default_exe_manifest", |
| 112 "//cc/surfaces", | 112 "//cc/surfaces", |
| 113 "//ui/base", | 113 "//ui/base", |
| 114 "//ui/compositor", | 114 "//ui/compositor", |
| 115 "//ui/compositor:test_support", | 115 "//ui/compositor:test_support", |
| 116 "//ui/gfx", | 116 "//ui/gfx", |
| 117 "//ui/gl/init", | 117 "//ui/gl/init", |
| 118 "//ui/resources:ui_test_pak", | 118 "//ui/resources:ui_test_pak", |
| 119 "//ui/views", | 119 "//ui/views", |
| 120 "//ui/views:test_support", | 120 "//ui/views:test_support", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 sources = [ | 161 sources = [ |
| 162 "examples_with_content_main_exe.cc", | 162 "examples_with_content_main_exe.cc", |
| 163 ] | 163 ] |
| 164 | 164 |
| 165 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] | 165 defines = [ "VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION" ] |
| 166 | 166 |
| 167 deps = [ | 167 deps = [ |
| 168 ":copy_content_resources", | 168 ":copy_content_resources", |
| 169 ":views_examples_with_content_lib", | 169 ":views_examples_with_content_lib", |
| 170 "//base", | 170 "//base", |
| 171 "//build/config/sanitizers:deps", | 171 "//build/config:exe_and_shlib_deps", |
| 172 "//build/win:default_exe_manifest", | 172 "//build/win:default_exe_manifest", |
| 173 "//content", | 173 "//content", |
| 174 "//content:sandbox_helper_win", | 174 "//content:sandbox_helper_win", |
| 175 "//sandbox", | 175 "//sandbox", |
| 176 "//ui/views_content_client", | 176 "//ui/views_content_client", |
| 177 ] | 177 ] |
| 178 | 178 |
| 179 if (is_win) { | 179 if (is_win) { |
| 180 configs += [ "//build/config/win:windowed" ] | 180 configs += [ "//build/config/win:windowed" ] |
| 181 configs -= [ "//build/config/win:console" ] | 181 configs -= [ "//build/config/win:console" ] |
| 182 } | 182 } |
| 183 } | 183 } |
| 184 | 184 |
| 185 copy("copy_content_resources") { | 185 copy("copy_content_resources") { |
| 186 deps = [ | 186 deps = [ |
| 187 "//content:resources", | 187 "//content:resources", |
| 188 ] | 188 ] |
| 189 sources = [ | 189 sources = [ |
| 190 "$root_gen_dir/content/content_resources.pak", | 190 "$root_gen_dir/content/content_resources.pak", |
| 191 ] | 191 ] |
| 192 outputs = [ | 192 outputs = [ |
| 193 "$root_out_dir/content_resources.pak", | 193 "$root_out_dir/content_resources.pak", |
| 194 ] | 194 ] |
| 195 } | 195 } |
| OLD | NEW |