| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 builds. We have hit size | 58 # Split into multiple static libraries on Windows builds. We have hit size |
| 59 # on Windows official builds and on goma builds symbol_level = 2 is selected. | 59 # limits on Windows official builds and on goma builds when symbol_level = 2 |
| 60 # Always splitting on Windows builds is simpler than trying to perfectly | 60 # is selected. Always splitting on Windows builds is simpler than trying to |
| 61 # calculate the scenarios where it is required. | 61 # perfectly calculate the scenarios where it is required. |
| 62 if (is_win) { | 62 if (is_win) { |
| 63 split_count = 5 | 63 split_count = 5 |
| 64 } else { | 64 } else { |
| 65 split_count = 1 | 65 split_count = 1 |
| 66 } | 66 } |
| 67 | 67 |
| 68 sources = [ | 68 sources = [ |
| 69 "about_flags.cc", | 69 "about_flags.cc", |
| 70 "about_flags.h", | 70 "about_flags.h", |
| 71 "after_startup_task_utils.cc", | 71 "after_startup_task_utils.cc", |
| (...skipping 4516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4588 "media/pepper_cdm_test_constants.cc", | 4588 "media/pepper_cdm_test_constants.cc", |
| 4589 "media/pepper_cdm_test_constants.h", | 4589 "media/pepper_cdm_test_constants.h", |
| 4590 ] | 4590 ] |
| 4591 } | 4591 } |
| 4592 } | 4592 } |
| 4593 | 4593 |
| 4594 service_manifest("preferences_manifest") { | 4594 service_manifest("preferences_manifest") { |
| 4595 name = "preferences" | 4595 name = "preferences" |
| 4596 source = "prefs/preferences_manifest.json" | 4596 source = "prefs/preferences_manifest.json" |
| 4597 } | 4597 } |
| OLD | NEW |