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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 131513026: Inject default libraries to all targets in GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: spelling Created 6 years, 10 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 | « build/config/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 671bdee933bf81dc6af0b6106a7dd3d7a3df36b7..ff9425ffcd1b1327a34e656acbb15f9803537eb9 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -393,7 +393,9 @@ if (is_win) {
}
set_defaults("executable") {
- configs = native_compiler_configs
+ configs = native_compiler_configs + [
+ "//build/config:default_libs",
+ ]
if (is_win) {
configs += windows_linker_configs
} else if (is_mac) {
@@ -408,7 +410,9 @@ set_defaults("static_library") {
}
set_defaults("shared_library") {
- configs = native_compiler_configs
+ configs = native_compiler_configs + [
+ "//build/config:default_libs",
+ ]
if (is_win) {
configs += windows_linker_configs
} else if (is_mac) {
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698