| 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 # Technically, this directory should not depend on files from src/chrome, but | 5 # Technically, this directory should not depend on files from src/chrome, but |
| 6 # that's where the VERSION file is. This should probably all be moved to | 6 # that's where the VERSION file is. This should probably all be moved to |
| 7 # src/build. | 7 # src/build. |
| 8 import("//chrome/version.gni") | 8 import("//chrome/version.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 | 10 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 "//ui/display", | 145 "//ui/display", |
| 146 ] | 146 ] |
| 147 sources += [ | 147 sources += [ |
| 148 "browser/api/shell_gcd/shell_gcd_api.cc", | 148 "browser/api/shell_gcd/shell_gcd_api.cc", |
| 149 "browser/api/shell_gcd/shell_gcd_api.h", | 149 "browser/api/shell_gcd/shell_gcd_api.h", |
| 150 "browser/api/vpn_provider/vpn_service_factory.cc", | 150 "browser/api/vpn_provider/vpn_service_factory.cc", |
| 151 ] | 151 ] |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 | 154 |
| 155 if (!(is_chromeos && !use_ozone)) { | 155 if (!(is_chromeos && !use_ozone) && (!is_win || link_chrome_on_windows)) { |
| 156 executable("app_shell") { | 156 executable("app_shell") { |
| 157 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. | 157 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
| 158 testonly = true | 158 testonly = true |
| 159 sources = [ | 159 sources = [ |
| 160 "app/shell_main.cc", | 160 "app/shell_main.cc", |
| 161 ] | 161 ] |
| 162 deps = [ | 162 deps = [ |
| 163 ":app_shell_lib", | 163 ":app_shell_lib", |
| 164 "//extensions:shell_and_test_pak", | 164 "//extensions:shell_and_test_pak", |
| 165 ] | 165 ] |
| 166 | 166 |
| 167 if (is_win) { | 167 if (is_win) { |
| 168 configs += [ "//build/config/win:windowed" ] | 168 configs += [ "//build/config/win:windowed" ] |
| 169 configs -= [ "//build/config/win:console" ] | 169 configs -= [ "//build/config/win:console" ] |
| 170 } | 170 } |
| 171 } | 171 } |
| 172 } | 172 } |
| 173 | 173 |
| 174 process_version("version_header") { | 174 process_version("version_header") { |
| 175 source = "common/version.h.in" | 175 source = "common/version.h.in" |
| 176 output = "$target_gen_dir/common/version.h" | 176 output = "$target_gen_dir/common/version.h" |
| 177 } | 177 } |
| OLD | NEW |