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

Unified Diff: chrome/tools/build/win/syzygy/BUILD.gn

Issue 2420943002: Remove the syzygy optimization code. (Closed)
Patch Set: Remove the syzygy optimization code. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/build/win/syzygy/BUILD.gn
diff --git a/chrome/tools/build/win/syzygy/BUILD.gn b/chrome/tools/build/win/syzygy/BUILD.gn
index 3efec8f7b5a1fd9be5bba052b6e32cab12f52b42..08139f1bb3f592bbc4d3f59d6825b9aff6240655 100644
--- a/chrome/tools/build/win/syzygy/BUILD.gn
+++ b/chrome/tools/build/win/syzygy/BUILD.gn
@@ -7,34 +7,10 @@ import("//build/config/compiler/compiler.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/win/syzygy/syzygy.gni")
-assert(!syzygy_optimize || !is_syzyasan,
- "Don't do both syzygy_optimize and is_syzyasan")
-
# Where the output binaries will be placed.
syzygy_dest_dir = "$root_out_dir/syzygy"
-if (syzygy_optimize) {
- syzygy_optimize("chrome_dll_syzygy") {
- binary_name = "chrome.dll"
- deps = [
- "//chrome:main_dll",
- ]
- if (is_multi_dll_chrome) {
- data_deps = [
- ":chrome_child_dll_syzygy",
- ]
- }
- }
- if (is_multi_dll_chrome) {
- # Also instrument chrome_child.dll.
- syzygy_optimize("chrome_child_dll_syzygy") {
- binary_name = "chrome_child.dll"
- deps = [
- "//chrome:chrome_child",
- ]
- }
- }
-} else if (is_syzyasan) {
+if (is_syzyasan) {
syzygy_asan("chrome_dll_syzygy") {
binary_name = "chrome.dll"
dest_dir = syzygy_dest_dir
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698