| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 if (!(is_chromeos && !use_ozone)) { | 139 if (!(is_chromeos && !use_ozone)) { |
| 140 executable("app_shell") { | 140 executable("app_shell") { |
| 141 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. | 141 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
| 142 testonly = true | 142 testonly = true |
| 143 sources = rebase_path(app_shell_gypi_values.app_shell_sources, | 143 sources = rebase_path(app_shell_gypi_values.app_shell_sources, |
| 144 ".", | 144 ".", |
| 145 "//extensions/shell") | 145 "//extensions/shell") |
| 146 deps = [ | 146 deps = [ |
| 147 ":app_shell_lib", | 147 ":app_shell_lib", |
| 148 "//build/config/sanitizers:deps", |
| 148 "//extensions:shell_and_test_pak", | 149 "//extensions:shell_and_test_pak", |
| 149 ] | 150 ] |
| 150 | 151 |
| 151 if (is_win) { | 152 if (is_win) { |
| 152 configs += [ "//build/config/win:windowed" ] | 153 configs += [ "//build/config/win:windowed" ] |
| 153 configs -= [ "//build/config/win:console" ] | 154 configs -= [ "//build/config/win:console" ] |
| 154 deps += [ "//base/allocator" ] | 155 deps += [ "//base/allocator" ] |
| 155 } | 156 } |
| 156 | 157 |
| 157 if (is_mac) { | 158 if (is_mac) { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 | 231 |
| 231 if (is_win) { | 232 if (is_win) { |
| 232 deps += [ "//base/allocator" ] | 233 deps += [ "//base/allocator" ] |
| 233 } | 234 } |
| 234 } | 235 } |
| 235 | 236 |
| 236 process_version("version_header") { | 237 process_version("version_header") { |
| 237 template_file = "common/version.h.in" | 238 template_file = "common/version.h.in" |
| 238 output = "$target_gen_dir/common/version.h" | 239 output = "$target_gen_dir/common/version.h" |
| 239 } | 240 } |
| OLD | NEW |