Hi,i'm a bit confused by the log entry with ee99696592ecc147af74243dcf1709a39ca7f744 and your statement of "We're also considering providing a "complete static lib" (https://bugs.webrtc.org/6418) but that seems harder to do right now, so it'll have to wait until further cleanup and refactorings are done (https://bugs.webrtc.org/5716)."So should i be able to get one big webrtc.lib with ee99696592ecc147af74243dcf1709a39ca7f744? because i'm working under windows and i do not see this behaviour. i also tried adding "complete_static_lib = true" but it seems as the dependencies are not added to the webrtc.lib.
On Thursday, September 29, 2016 at 10:06:26 PM UTC+2, Henrik Kjellander wrote:There have been several questions regarding the way static libraries are built after migrating from GYP to GN. The behavior from the GYP days has been restored as of ee99696592ecc147af74243dcf1709a39ca7f744 (#14403) so everyone linking natively with WebRTC as a static library should be able to use that again.We're also considering providing a "complete static lib" (https://bugs.webrtc.org/6418) but that seems harder to do right now, so it'll have to wait until further cleanup and refactorings are done (https://bugs.webrtc.org/5716).
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/4f20e789-9e43-45b1-b460-120a613f193d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gnindex a97d508..77a62f0 100644--- a/webrtc/BUILD.gn+++ b/webrtc/BUILD.gn@@ -242,6 +242,7 @@ config("common_objc") { if (!is_ios || !build_with_chromium) { rtc_static_library("webrtc") {+ complete_static_lib = true sources = [ # TODO(kjellander): Remove this whenever possible. GN's static_library # target type requires at least one object to avoid errors linking.Is there anything like complete_static_lib = true but for shared libraries? e.g. complete_shared_lib = true
Also, is there a way to break the library into smaller independent ones?
There seems to be hard dependency on many libraries that otherwise are not needed by many applications
Ehsan
On Thursday, September 29, 2016 at 1:06:26 PM UTC-7, Henrik Kjellander wrote:There have been several questions regarding the way static libraries are built after migrating from GYP to GN. The behavior from the GYP days has been restored as of ee99696592ecc147af74243dcf1709a39ca7f744 (#14403) so everyone linking natively with WebRTC as a static library should be able to use that again.We're also considering providing a "complete static lib" (https://bugs.webrtc.org/6418) but that seems harder to do right now, so it'll have to wait until further cleanup and refactorings are done (https://bugs.webrtc.org/5716).
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/4d3f7fe8-83f5-47a9-8bbe-4d7ad3ee534d%40googlegroups.com.