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

Side by Side Diff: breakpad/BUILD.gn

Issue 2149483002: Reduce chrome.exe .text size by 50 KB with static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking comments Created 4 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
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/symlink.gni") 5 import("//build/symlink.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 public_configs = [ ":client_config" ] 849 public_configs = [ ":client_config" ]
850 } 850 }
851 851
852 config("breakpad_handler_warnings") { 852 config("breakpad_handler_warnings") {
853 if (is_clang) { 853 if (is_clang) {
854 # See https://code.google.com/p/google-breakpad/issues/detail?id=658. 854 # See https://code.google.com/p/google-breakpad/issues/detail?id=658.
855 cflags = [ "-Wno-reorder" ] 855 cflags = [ "-Wno-reorder" ]
856 } 856 }
857 } 857 }
858 858
859 source_set("breakpad_handler") { 859 static_library("breakpad_handler") {
860 configs += [ ":handler_config" ] 860 configs += [ ":handler_config" ]
861 if (is_win) { 861 if (is_win) {
862 public_configs = [ ":handler_config" ] 862 public_configs = [ ":handler_config" ]
863 } 863 }
864 864
865 defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ] 865 defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ]
866 866
867 sources = [ 867 sources = [
868 "src/client/windows/crash_generation/client_info.cc", 868 "src/client/windows/crash_generation/client_info.cc",
869 "src/client/windows/crash_generation/client_info.h", 869 "src/client/windows/crash_generation/client_info.h",
(...skipping 27 matching lines...) Expand all
897 897
898 if (is_android) { 898 if (is_android) {
899 # TODO(GYP_GONE) Delete this after we've converted everything to GN. 899 # TODO(GYP_GONE) Delete this after we've converted everything to GN.
900 group("breakpad_unittests_deps") { 900 group("breakpad_unittests_deps") {
901 testonly = true 901 testonly = true
902 deps = [ 902 deps = [
903 ":breakpad_unittests", 903 ":breakpad_unittests",
904 ] 904 ]
905 } 905 }
906 } 906 }
OLDNEW
« no previous file with comments | « no previous file | build/secondary/third_party/crashpad/crashpad/client/BUILD.gn » ('j') | third_party/libpng/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698