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("//extensions/shell/app_shell.gni") | 5 import("//extensions/shell/app_shell.gni") |
6 | 6 |
7 # Technically, this directory should not depend on files from src/chrome, but | 7 # Technically, this directory should not depend on files from src/chrome, but |
8 # that's where the VERSION file is. This should probably all be moved to | 8 # that's where the VERSION file is. This should probably all be moved to |
9 # src/build. | 9 # src/build. |
10 import("//chrome/version.gni") | 10 import("//chrome/version.gni") |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 if (!(is_chromeos && !use_ozone)) { | 118 if (!(is_chromeos && !use_ozone)) { |
119 executable("app_shell") { | 119 executable("app_shell") { |
120 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. | 120 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
121 testonly = true | 121 testonly = true |
122 sources = rebase_path(app_shell_gypi_values.app_shell_sources, | 122 sources = rebase_path(app_shell_gypi_values.app_shell_sources, |
123 ".", | 123 ".", |
124 "//extensions/shell") | 124 "//extensions/shell") |
125 deps = [ | 125 deps = [ |
126 ":app_shell_lib", | 126 ":app_shell_lib", |
127 "//build/config/sanitizers:deps", | 127 "//build/config/sanitizers:deps", |
| 128 "//build/win:default_exe_manifest", |
128 "//extensions:shell_and_test_pak", | 129 "//extensions:shell_and_test_pak", |
129 ] | 130 ] |
130 | 131 |
131 if (is_win) { | 132 if (is_win) { |
132 configs += [ "//build/config/win:windowed" ] | 133 configs += [ "//build/config/win:windowed" ] |
133 configs -= [ "//build/config/win:console" ] | 134 configs -= [ "//build/config/win:console" ] |
134 } | 135 } |
135 | 136 |
136 if (is_mac) { | 137 if (is_mac) { |
137 # TODO(GYP) bug 546894: Fix GN and toolchains to handle spaces here. | 138 # TODO(GYP) bug 546894: Fix GN and toolchains to handle spaces here. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 testonly = true | 218 testonly = true |
218 sources = [ | 219 sources = [ |
219 "app/shell_main_mac.cc", | 220 "app/shell_main_mac.cc", |
220 "app/shell_main_mac.h", | 221 "app/shell_main_mac.h", |
221 ] | 222 ] |
222 deps = [ | 223 deps = [ |
223 ":app_shell_lib", | 224 ":app_shell_lib", |
224 ] | 225 ] |
225 } | 226 } |
226 } | 227 } |
OLD | NEW |