Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: chrome/BUILD.gn

Issue 891893002: Disable chrome target and tests on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try #2 with a flag and a dummy chrome target Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/locales.gni") 6 import("//build/config/locales.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/chrome_repack_locales.gni") 8 import("//chrome/chrome_repack_locales.gni")
9 import("//chrome/version.gni") 9 import("//chrome/version.gni")
10 10
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 14
15 if (!is_android) { 15 if (is_win && !link_chrome_on_windows) {
16 # When linking is disabled on Windows, create a dummy Chrome target to
17 # make targets work that depend on Chrome.
18 group("chrome") {
19 }
20 }
21
22 if (!is_android && (!is_win || link_chrome_on_windows)) {
16 # TODO(GYP) for Windows need to the the reorder-imports step which probably 23 # TODO(GYP) for Windows need to the the reorder-imports step which probably
17 # means adding another target and renaming this to chrome_initial like in GYP. 24 # means adding another target and renaming this to chrome_initial like in GYP.
18 executable("chrome") { 25 executable("chrome") {
19 # Because the sources list varies so significantly per-platform, generally 26 # Because the sources list varies so significantly per-platform, generally
20 # each platform lists its own files rather than relying on filtering or 27 # each platform lists its own files rather than relying on filtering or
21 # removing unused files. 28 # removing unused files.
22 sources = [ 29 sources = [
23 "app/chrome_exe_resource.h", 30 "app/chrome_exe_resource.h",
24 ] 31 ]
25 deps = [] 32 deps = []
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 "//chrome/browser", 682 "//chrome/browser",
676 "//chrome/browser/ui", 683 "//chrome/browser/ui",
677 "//chrome/plugin", 684 "//chrome/plugin",
678 "//chrome/renderer", 685 "//chrome/renderer",
679 "//chrome/utility", 686 "//chrome/utility",
680 "//components/enhanced_bookmarks", 687 "//components/enhanced_bookmarks",
681 "//content/public/app:browser", 688 "//content/public/app:browser",
682 ] 689 ]
683 } 690 }
684 } 691 }
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698