| 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/chromecast_build.gni") | 5 import("//build/config/chromecast_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") |
| 11 import("//device/vr/features.gni") | 11 import("//device/vr/features.gni") |
| 12 import("//extensions/features/features.gni") | 12 import("//extensions/features/features.gni") |
| 13 import("//media/media_options.gni") | 13 import("//media/media_options.gni") |
| 14 import("//ppapi/features/features.gni") | 14 import("//ppapi/features/features.gni") |
| 15 import("//printing/features/features.gni") | 15 import("//printing/features/features.gni") |
| 16 import("//rlz/features/features.gni") | 16 import("//rlz/features/features.gni") |
| 17 import("//ui/base/ui_features.gni") | 17 import("//ui/base/ui_features.gni") |
| 18 | 18 |
| 19 config("ui_warnings") { | 19 config("ui_warnings") { |
| 20 if (is_clang) { | 20 if (is_clang) { |
| 21 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out | 21 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out |
| 22 cflags = [ "-Wno-nonnull" ] | 22 cflags = [ "-Wno-nonnull" ] |
| 23 } | 23 } |
| 24 } | 24 } |
| 25 | 25 |
| 26 # Use a static library here because many test binaries depend on this but don't | 26 # Use a static library here because many test binaries depend on this but don't |
| 27 # require many files from it. This makes linking more efficient. | 27 # require many files from it. This makes linking more efficient. |
| 28 split_static_library("ui") { | 28 split_static_library("ui") { |
| 29 # Split into multiple static libraries on Windows official builds, where we | 29 # Split into multiple static libraries on Windows builds. We have hit size |
| 30 # run into a 2GB max size limit. | 30 # limits on Windows official builds and on goma builds when symbol_level = 2 |
| 31 if (is_win && is_official_build) { | 31 # is selected. Always splitting on Windows builds is simpler than trying to |
| 32 # perfectly calculate the scenarios where it is required. |
| 33 if (is_win) { |
| 32 split_count = 5 | 34 split_count = 5 |
| 33 } else { | 35 } else { |
| 34 split_count = 1 | 36 split_count = 1 |
| 35 } | 37 } |
| 36 | 38 |
| 37 sources = [ | 39 sources = [ |
| 38 "accelerator_utils.h", | 40 "accelerator_utils.h", |
| 39 "android/android_about_app_info.cc", | 41 "android/android_about_app_info.cc", |
| 40 "android/android_about_app_info.h", | 42 "android/android_about_app_info.h", |
| 41 "android/external_protocol_dialog_android.cc", | 43 "android/external_protocol_dialog_android.cc", |
| (...skipping 3491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3533 "test/test_confirm_bubble_model.cc", | 3535 "test/test_confirm_bubble_model.cc", |
| 3534 "test/test_confirm_bubble_model.h", | 3536 "test/test_confirm_bubble_model.h", |
| 3535 ] | 3537 ] |
| 3536 deps += [ "//chrome/test:test_support_ui" ] | 3538 deps += [ "//chrome/test:test_support_ui" ] |
| 3537 } | 3539 } |
| 3538 | 3540 |
| 3539 if (enable_extensions) { | 3541 if (enable_extensions) { |
| 3540 deps += [ "//extensions/browser" ] | 3542 deps += [ "//extensions/browser" ] |
| 3541 } | 3543 } |
| 3542 } | 3544 } |
| OLD | NEW |