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

Unified Diff: testing/test.gni

Issue 2150753002: Separate out target defaults in the GN build config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format 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 side-by-side diff with in-line comments
Download patch
« build/config/BUILDCONFIG.gn ('K') | « build/split_static_library.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/test.gni
diff --git a/testing/test.gni b/testing/test.gni
index 55dfab9bd7b7612cbb7411ade65e33df72447a3b..0f06c6b42d101f923d7f47833fd933cffa665048 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -362,3 +362,12 @@ template("test") {
}
}
}
+
+# Test defaults.
+set_defaults("test") {
+ if (is_android) {
+ configs = default_shared_library_configs
+ } else {
+ configs = default_executable_configs
+ }
+}
« build/config/BUILDCONFIG.gn ('K') | « build/split_static_library.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698