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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 1879493002: [iOS/GN] Convert //ios/third_party/ochamcrest to build a framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-framework-bundle
Patch Set: Add a comment to explain the "set_sources_assignment_filter" in "ios_framework_bundle" template Created 4 years, 8 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 | « no previous file | build/config/ios/rules.gni » ('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 2e7f8782ffe4e70fd67f18baa301c13105f3257f..c36aeabf7bdea75bce08525c09dd947818acb7ca 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -556,6 +556,16 @@ if (is_component_build) {
}
}
}
+if (is_ios) {
+ set_defaults("ios_framework_bundle") {
+ configs = _shared_library_configs
+ }
+}
+if (is_mac) {
+ set_defaults("mac_framework_bundle") {
+ configs = _shared_library_configs
+ }
+}
# Source set defaults (also for components in non-component mode).
set_defaults("source_set") {
« no previous file with comments | « no previous file | build/config/ios/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698