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

Unified Diff: build/config/BUILDCONFIG.gn

Issue 1386783003: [GN]: Support for loadable modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests Created 5 years, 2 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
Index: build/config/BUILDCONFIG.gn
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
index 643ded82c1df0be7004de9af7c23856a2b80bbe2..65599a2d95863fe5005e8fe33ed9ca2fe8fc5c48 100644
--- a/build/config/BUILDCONFIG.gn
+++ b/build/config/BUILDCONFIG.gn
@@ -431,7 +431,8 @@ set_defaults("static_library") {
configs = _native_compiler_configs
}
-# Shared library defaults (also for components in component mode).
+# Shared library and loadable module defaults (also for components in component
+# mode).
_shared_library_configs =
_native_compiler_configs + [ "//build/config:default_libs" ]
if (is_win) {
@@ -447,6 +448,9 @@ if (is_win) {
set_defaults("shared_library") {
configs = _shared_library_configs
}
+set_defaults("loadable_module") {
+ configs = _shared_library_configs
+}
if (is_component_build) {
set_defaults("component") {
configs = _shared_library_configs
« no previous file with comments | « BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | tools/gn/binary_target_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698