| 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("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
| 10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 ldflags = [ | 48 ldflags = [ |
| 49 "/DELAYLOAD:ndfapi.dll", | 49 "/DELAYLOAD:ndfapi.dll", |
| 50 "/DELAYLOAD:pdh.dll", # The task manager is rarely used. | 50 "/DELAYLOAD:pdh.dll", # The task manager is rarely used. |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 # Use a static library here because many test binaries depend on this but don't | 55 # Use a static library here because many test binaries depend on this but don't |
| 56 # require many files from it. This makes linking more efficient. | 56 # require many files from it. This makes linking more efficient. |
| 57 split_static_library("browser") { | 57 split_static_library("browser") { |
| 58 # Split into multiple static libraries on Windows official builds, where we | 58 # Split into multiple static libraries on Windows builds. We have hit size |
| 59 # run into a 2GB max size limit. | 59 # on Windows official builds and on goma builds symbol_level = 2 is selected. |
| 60 if (is_win && is_official_build) { | 60 # Always splitting on Windows builds is simpler than trying to perfectly |
| 61 # calculate the scenarios where it is required. |
| 62 if (is_win) { |
| 61 split_count = 5 | 63 split_count = 5 |
| 62 } else { | 64 } else { |
| 63 split_count = 1 | 65 split_count = 1 |
| 64 } | 66 } |
| 65 | 67 |
| 66 sources = [ | 68 sources = [ |
| 67 "about_flags.cc", | 69 "about_flags.cc", |
| 68 "about_flags.h", | 70 "about_flags.h", |
| 69 "after_startup_task_utils.cc", | 71 "after_startup_task_utils.cc", |
| 70 "after_startup_task_utils.h", | 72 "after_startup_task_utils.h", |
| (...skipping 4507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4578 "media/pepper_cdm_test_constants.cc", | 4580 "media/pepper_cdm_test_constants.cc", |
| 4579 "media/pepper_cdm_test_constants.h", | 4581 "media/pepper_cdm_test_constants.h", |
| 4580 ] | 4582 ] |
| 4581 } | 4583 } |
| 4582 } | 4584 } |
| 4583 | 4585 |
| 4584 service_manifest("preferences_manifest") { | 4586 service_manifest("preferences_manifest") { |
| 4585 name = "preferences" | 4587 name = "preferences" |
| 4586 source = "prefs/preferences_manifest.json" | 4588 source = "prefs/preferences_manifest.json" |
| 4587 } | 4589 } |
| OLD | NEW |