diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-10-11 18:19:19 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-10-11 18:52:47 +0300 |
commit | a674dc57d88d43c2e8e90a6084d5d2c988e0402c (patch) | |
tree | 6470719fa4ceb822e7e9bf661779aa1fb23d4e5c | |
parent | af4a07cb76c6e4700a182bfce4b8ead5440301ca (diff) | |
download | ydb-a674dc57d88d43c2e8e90a6084d5d2c988e0402c.tar.gz |
Restrict licenses in GO_PROGRAM / GO_DLL / GO_TEST by default
-rw-r--r-- | build/conf/go.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/conf/go.conf b/build/conf/go.conf index c4cb7705a2..15558cad69 100644 --- a/build/conf/go.conf +++ b/build/conf/go.conf @@ -876,6 +876,16 @@ module GO_PROGRAM: _GO_BASE_UNIT { PEERDIR+=contrib/libs/clang14-rt/lib/profile } } + + when ($OPENSOURCE == "yes" && $AUTOCHECK == "yes") { + # FIXME: Replace AUTOCHECK == yes with _not a host platform_ check after YMAKE-218 + MODULE_LICENSES_RESTRICTION_TYPES = DENY + MODULE_LICENSES_RESTRICTIONS = REQUIRE_DISCLOSURE FORBIDDEN NDA + } + when ($OS_IOS == "yes" || $OS_ANDROID == "yes" || $MAPSMOBI_BUILD_TARGET == "yes") { + MODULE_LICENSES_RESTRICTION_TYPES = DENY + MODULE_LICENSES_RESTRICTIONS = REQUIRE_DISCLOSURE FORBIDDEN NDA + } } # tag:go-specific |