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

Side by Side Diff: chrome/BUILD.gn

Issue 2951413004: Fix gn builds never being clean at symbol_level = 0 (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | no next file » | 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/compiler/pgo/pgo.gni") 7 import("//build/config/compiler/pgo/pgo.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 action("reorder_imports") { 45 action("reorder_imports") {
46 script = "//build/win/reorder-imports.py" 46 script = "//build/win/reorder-imports.py"
47 47
48 # See comment in chrome_dll.gypi in the hardlink_to_output 48 # See comment in chrome_dll.gypi in the hardlink_to_output
49 # target for why this cannot be 'initial' like the DLL. 49 # target for why this cannot be 'initial' like the DLL.
50 inputs = [ 50 inputs = [
51 "$root_out_dir/initialexe/chrome.exe", 51 "$root_out_dir/initialexe/chrome.exe",
52 ] 52 ]
53 outputs = [ 53 outputs = [
54 "$root_out_dir/chrome.exe", 54 "$root_out_dir/chrome.exe",
55 "$root_out_dir/chrome.exe.pdb",
56 ] 55 ]
56 if (symbol_level != 0) {
57 outputs += [ "$root_out_dir/chrome.exe.pdb" ]
58 }
57 args = [ 59 args = [
58 "-i", 60 "-i",
59 rebase_path("$root_out_dir/initialexe", root_build_dir), 61 rebase_path("$root_out_dir/initialexe", root_build_dir),
60 "-o", 62 "-o",
61 rebase_path("$root_out_dir", root_build_dir), 63 rebase_path("$root_out_dir", root_build_dir),
62 "-a", 64 "-a",
63 current_cpu, 65 current_cpu,
64 ] 66 ]
65 deps = [ 67 deps = [
66 ":chrome_initial", 68 ":chrome_initial",
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1850 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1852 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1851 "//chrome/tools/build/linux/chrome-wrapper", 1853 "//chrome/tools/build/linux/chrome-wrapper",
1852 "//third_party/xdg-utils/scripts/xdg-mime", 1854 "//third_party/xdg-utils/scripts/xdg-mime",
1853 "//third_party/xdg-utils/scripts/xdg-settings", 1855 "//third_party/xdg-utils/scripts/xdg-settings",
1854 ] 1856 ]
1855 outputs = [ 1857 outputs = [
1856 "$root_out_dir/{{source_file_part}}", 1858 "$root_out_dir/{{source_file_part}}",
1857 ] 1859 ]
1858 } 1860 }
1859 } 1861 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698