2016-06-18 01:45:24 +02:00
|
|
|
// Copyright 2016 Google Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
package cc
|
|
|
|
|
|
|
|
import (
|
2017-02-16 02:31:33 +01:00
|
|
|
"fmt"
|
2016-06-18 01:45:24 +02:00
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
"android/soong/android"
|
2023-12-07 22:10:56 +01:00
|
|
|
"github.com/google/blueprint"
|
2016-06-18 01:45:24 +02:00
|
|
|
)
|
|
|
|
|
2017-02-16 02:31:33 +01:00
|
|
|
var (
|
2018-05-25 00:02:16 +02:00
|
|
|
versionBionicHeaders = pctx.AndroidStaticRule("versionBionicHeaders",
|
2017-02-16 02:31:33 +01:00
|
|
|
blueprint.RuleParams{
|
2017-03-30 03:33:28 +02:00
|
|
|
// The `&& touch $out` isn't really necessary, but Blueprint won't
|
|
|
|
// let us have only implicit outputs.
|
|
|
|
Command: "$versionerCmd -o $outDir $srcDir $depsPath && touch $out",
|
2017-02-16 02:31:33 +01:00
|
|
|
CommandDeps: []string{"$versionerCmd"},
|
|
|
|
},
|
2017-03-30 03:33:28 +02:00
|
|
|
"depsPath", "srcDir", "outDir")
|
2018-05-25 00:06:11 +02:00
|
|
|
|
|
|
|
preprocessNdkHeader = pctx.AndroidStaticRule("preprocessNdkHeader",
|
|
|
|
blueprint.RuleParams{
|
|
|
|
Command: "$preprocessor -o $out $in",
|
|
|
|
CommandDeps: []string{"$preprocessor"},
|
|
|
|
},
|
|
|
|
"preprocessor")
|
2017-02-16 02:31:33 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2018-10-25 12:11:09 +02:00
|
|
|
pctx.SourcePathVariable("versionerCmd", "prebuilts/clang-tools/${config.HostPrebuiltTag}/bin/versioner")
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
2016-06-18 01:45:24 +02:00
|
|
|
// Returns the NDK base include path for use with sdk_version current. Usable with -I.
|
2019-10-02 07:05:35 +02:00
|
|
|
func getCurrentIncludePath(ctx android.ModuleContext) android.InstallPath {
|
2016-06-18 01:45:24 +02:00
|
|
|
return getNdkSysrootBase(ctx).Join(ctx, "usr/include")
|
|
|
|
}
|
|
|
|
|
2018-05-25 00:00:05 +02:00
|
|
|
type headerProperties struct {
|
2016-06-18 01:45:24 +02:00
|
|
|
// Base directory of the headers being installed. As an example:
|
|
|
|
//
|
|
|
|
// ndk_headers {
|
|
|
|
// name: "foo",
|
|
|
|
// from: "include",
|
|
|
|
// to: "",
|
|
|
|
// srcs: ["include/foo/bar/baz.h"],
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// Will install $SYSROOT/usr/include/foo/bar/baz.h. If `from` were instead
|
|
|
|
// "include/foo", it would have installed $SYSROOT/usr/include/bar/baz.h.
|
2017-11-07 19:57:05 +01:00
|
|
|
From *string
|
2016-06-18 01:45:24 +02:00
|
|
|
|
|
|
|
// Install path within the sysroot. This is relative to usr/include.
|
2017-11-07 19:57:05 +01:00
|
|
|
To *string
|
2016-06-18 01:45:24 +02:00
|
|
|
|
|
|
|
// List of headers to install. Glob compatible. Common case is "include/**/*.h".
|
2019-03-05 07:35:41 +01:00
|
|
|
Srcs []string `android:"path"`
|
2016-10-20 10:36:11 +02:00
|
|
|
|
2018-05-25 00:00:48 +02:00
|
|
|
// Source paths that should be excluded from the srcs glob.
|
2019-03-05 07:35:41 +01:00
|
|
|
Exclude_srcs []string `android:"path"`
|
2018-05-25 00:00:48 +02:00
|
|
|
|
2016-10-20 10:36:11 +02:00
|
|
|
// Path to the NOTICE file associated with the headers.
|
2019-03-05 07:35:41 +01:00
|
|
|
License *string `android:"path"`
|
2016-06-18 01:45:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type headerModule struct {
|
|
|
|
android.ModuleBase
|
|
|
|
|
2018-05-25 00:00:05 +02:00
|
|
|
properties headerProperties
|
2016-06-18 01:45:24 +02:00
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
srcPaths android.Paths
|
2017-11-29 02:34:01 +01:00
|
|
|
installPaths android.Paths
|
2019-03-05 21:46:40 +01:00
|
|
|
licensePath android.Path
|
2016-06-18 01:45:24 +02:00
|
|
|
}
|
|
|
|
|
2017-02-16 02:31:33 +01:00
|
|
|
func getHeaderInstallDir(ctx android.ModuleContext, header android.Path, from string,
|
2019-10-02 07:05:35 +02:00
|
|
|
to string) android.InstallPath {
|
2017-02-16 02:31:33 +01:00
|
|
|
// Output path is the sysroot base + "usr/include" + to directory + directory component
|
|
|
|
// of the file without the leading from directory stripped.
|
|
|
|
//
|
|
|
|
// Given:
|
|
|
|
// sysroot base = "ndk/sysroot"
|
|
|
|
// from = "include/foo"
|
|
|
|
// to = "bar"
|
|
|
|
// header = "include/foo/woodly/doodly.h"
|
|
|
|
// output path = "ndk/sysroot/usr/include/bar/woodly/doodly.h"
|
|
|
|
|
|
|
|
// full/platform/path/to/include/foo
|
|
|
|
fullFromPath := android.PathForModuleSrc(ctx, from)
|
|
|
|
|
|
|
|
// full/platform/path/to/include/foo/woodly
|
|
|
|
headerDir := filepath.Dir(header.String())
|
|
|
|
|
|
|
|
// woodly
|
|
|
|
strippedHeaderDir, err := filepath.Rel(fullFromPath.String(), headerDir)
|
|
|
|
if err != nil {
|
|
|
|
ctx.ModuleErrorf("filepath.Rel(%q, %q) failed: %s", headerDir,
|
|
|
|
fullFromPath.String(), err)
|
|
|
|
}
|
|
|
|
|
|
|
|
// full/platform/path/to/sysroot/usr/include/bar/woodly
|
|
|
|
installDir := getCurrentIncludePath(ctx).Join(ctx, to, strippedHeaderDir)
|
|
|
|
|
|
|
|
// full/platform/path/to/sysroot/usr/include/bar/woodly/doodly.h
|
|
|
|
return installDir
|
|
|
|
}
|
|
|
|
|
2016-06-18 01:45:24 +02:00
|
|
|
func (m *headerModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
2017-11-07 19:57:05 +01:00
|
|
|
if String(m.properties.License) == "" {
|
2016-10-20 10:36:11 +02:00
|
|
|
ctx.PropertyErrorf("license", "field is required")
|
|
|
|
}
|
|
|
|
|
2017-11-07 19:57:05 +01:00
|
|
|
m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
|
2016-10-20 10:36:11 +02:00
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
m.srcPaths = android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
|
|
|
|
for _, header := range m.srcPaths {
|
2017-11-07 19:57:05 +01:00
|
|
|
installDir := getHeaderInstallDir(ctx, header, String(m.properties.From),
|
|
|
|
String(m.properties.To))
|
2017-08-31 21:29:17 +02:00
|
|
|
installedPath := ctx.InstallFile(installDir, header.Base(), header)
|
2017-02-16 02:31:33 +01:00
|
|
|
installPath := installDir.Join(ctx, header.Base())
|
|
|
|
if installPath != installedPath {
|
|
|
|
panic(fmt.Sprintf(
|
|
|
|
"expected header install path (%q) not equal to actual install path %q",
|
|
|
|
installPath, installedPath))
|
2016-06-18 01:45:24 +02:00
|
|
|
}
|
2017-11-29 02:34:01 +01:00
|
|
|
m.installPaths = append(m.installPaths, installPath)
|
2016-06-18 01:45:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if len(m.installPaths) == 0 {
|
|
|
|
ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 17:43:30 +02:00
|
|
|
// ndk_headers installs the sets of ndk headers defined in the srcs property
|
|
|
|
// to the sysroot base + "usr/include" + to directory + directory component.
|
|
|
|
// ndk_headers requires the license file to be specified. Example:
|
|
|
|
//
|
2022-08-16 19:27:33 +02:00
|
|
|
// Given:
|
|
|
|
// sysroot base = "ndk/sysroot"
|
|
|
|
// from = "include/foo"
|
|
|
|
// to = "bar"
|
|
|
|
// header = "include/foo/woodly/doodly.h"
|
|
|
|
// output path = "ndk/sysroot/usr/include/bar/woodly/doodly.h"
|
2023-09-19 21:04:41 +02:00
|
|
|
func NdkHeadersFactory() android.Module {
|
2016-06-18 01:45:24 +02:00
|
|
|
module := &headerModule{}
|
2017-06-24 00:06:31 +02:00
|
|
|
module.AddProperties(&module.properties)
|
|
|
|
android.InitAndroidModule(module)
|
|
|
|
return module
|
2016-06-18 01:45:24 +02:00
|
|
|
}
|
2017-02-16 02:31:33 +01:00
|
|
|
|
2018-05-25 00:02:16 +02:00
|
|
|
type versionedHeaderProperties struct {
|
2017-02-16 02:31:33 +01:00
|
|
|
// Base directory of the headers being installed. As an example:
|
|
|
|
//
|
2018-05-25 00:02:16 +02:00
|
|
|
// versioned_ndk_headers {
|
2017-02-16 02:31:33 +01:00
|
|
|
// name: "foo",
|
|
|
|
// from: "include",
|
|
|
|
// to: "",
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// Will install $SYSROOT/usr/include/foo/bar/baz.h. If `from` were instead
|
|
|
|
// "include/foo", it would have installed $SYSROOT/usr/include/bar/baz.h.
|
2017-11-10 07:42:32 +01:00
|
|
|
From *string
|
2017-02-16 02:31:33 +01:00
|
|
|
|
|
|
|
// Install path within the sysroot. This is relative to usr/include.
|
2017-11-10 07:42:32 +01:00
|
|
|
To *string
|
2017-02-16 02:31:33 +01:00
|
|
|
|
|
|
|
// Path to the NOTICE file associated with the headers.
|
2017-11-10 07:42:32 +01:00
|
|
|
License *string
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Like ndk_headers, but preprocesses the headers with the bionic versioner:
|
2024-01-09 23:02:03 +01:00
|
|
|
// https://android.googlesource.com/platform/bionic/+/main/tools/versioner/README.md.
|
2017-02-16 02:31:33 +01:00
|
|
|
//
|
|
|
|
// Unlike ndk_headers, we don't operate on a list of sources but rather a whole directory, the
|
|
|
|
// module does not have the srcs property, and operates on a full directory (the `from` property).
|
|
|
|
//
|
|
|
|
// Note that this is really only built to handle bionic/libc/include.
|
2018-05-25 00:02:16 +02:00
|
|
|
type versionedHeaderModule struct {
|
2017-02-16 02:31:33 +01:00
|
|
|
android.ModuleBase
|
|
|
|
|
2018-05-25 00:02:16 +02:00
|
|
|
properties versionedHeaderProperties
|
2017-02-16 02:31:33 +01:00
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
srcPaths android.Paths
|
2017-11-29 02:34:01 +01:00
|
|
|
installPaths android.Paths
|
2019-03-05 21:46:40 +01:00
|
|
|
licensePath android.Path
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
2022-08-16 02:55:11 +02:00
|
|
|
// Return the glob pattern to find all .h files beneath `dir`
|
|
|
|
func headerGlobPattern(dir string) string {
|
|
|
|
return filepath.Join(dir, "**", "*.h")
|
|
|
|
}
|
|
|
|
|
2018-05-25 00:02:16 +02:00
|
|
|
func (m *versionedHeaderModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
2017-11-10 07:42:32 +01:00
|
|
|
if String(m.properties.License) == "" {
|
2017-02-16 02:31:33 +01:00
|
|
|
ctx.PropertyErrorf("license", "field is required")
|
|
|
|
}
|
|
|
|
|
2017-11-10 07:42:32 +01:00
|
|
|
m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
|
2017-02-16 02:31:33 +01:00
|
|
|
|
2017-11-10 07:42:32 +01:00
|
|
|
fromSrcPath := android.PathForModuleSrc(ctx, String(m.properties.From))
|
|
|
|
toOutputPath := getCurrentIncludePath(ctx).Join(ctx, String(m.properties.To))
|
2023-08-23 12:06:35 +02:00
|
|
|
m.srcPaths = ctx.GlobFiles(headerGlobPattern(fromSrcPath.String()), nil)
|
2017-02-16 02:31:33 +01:00
|
|
|
var installPaths []android.WritablePath
|
2023-08-23 12:06:35 +02:00
|
|
|
for _, header := range m.srcPaths {
|
2017-11-10 07:42:32 +01:00
|
|
|
installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), String(m.properties.To))
|
2017-02-16 02:31:33 +01:00
|
|
|
installPath := installDir.Join(ctx, header.Base())
|
|
|
|
installPaths = append(installPaths, installPath)
|
2017-11-29 02:34:01 +01:00
|
|
|
m.installPaths = append(m.installPaths, installPath)
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
if len(m.installPaths) == 0 {
|
2017-11-10 07:42:32 +01:00
|
|
|
ctx.ModuleErrorf("glob %q matched zero files", String(m.properties.From))
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
processHeadersWithVersioner(ctx, fromSrcPath, toOutputPath, m.srcPaths, installPaths)
|
2017-03-19 21:44:32 +01:00
|
|
|
}
|
|
|
|
|
2019-03-05 21:46:40 +01:00
|
|
|
func processHeadersWithVersioner(ctx android.ModuleContext, srcDir, outDir android.Path,
|
2023-08-23 12:06:35 +02:00
|
|
|
srcPaths android.Paths, installPaths []android.WritablePath) android.Path {
|
2017-02-16 02:31:33 +01:00
|
|
|
// The versioner depends on a dependencies directory to simplify determining include paths
|
|
|
|
// when parsing headers. This directory contains architecture specific directories as well
|
|
|
|
// as a common directory, each of which contains symlinks to the actually directories to
|
|
|
|
// be included.
|
|
|
|
//
|
|
|
|
// ctx.Glob doesn't follow symlinks, so we need to do this ourselves so we correctly
|
|
|
|
// depend on these headers.
|
|
|
|
// TODO(http://b/35673191): Update the versioner to use a --sysroot.
|
|
|
|
depsPath := android.PathForSource(ctx, "bionic/libc/versioner-dependencies")
|
|
|
|
depsGlob := ctx.Glob(filepath.Join(depsPath.String(), "**/*"), nil)
|
|
|
|
for i, path := range depsGlob {
|
2020-01-11 02:11:46 +01:00
|
|
|
if ctx.IsSymlink(path) {
|
|
|
|
dest := ctx.Readlink(path)
|
2017-02-16 02:31:33 +01:00
|
|
|
// Additional .. to account for the symlink itself.
|
|
|
|
depsGlob[i] = android.PathForSource(
|
|
|
|
ctx, filepath.Clean(filepath.Join(path.String(), "..", dest)))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-30 03:33:28 +02:00
|
|
|
timestampFile := android.PathForModuleOut(ctx, "versioner.timestamp")
|
2017-10-24 02:16:14 +02:00
|
|
|
ctx.Build(pctx, android.BuildParams{
|
2018-05-25 00:02:16 +02:00
|
|
|
Rule: versionBionicHeaders,
|
2017-05-09 22:45:28 +02:00
|
|
|
Description: "versioner preprocess " + srcDir.Rel(),
|
2017-03-30 03:33:28 +02:00
|
|
|
Output: timestampFile,
|
2023-08-23 12:06:35 +02:00
|
|
|
Implicits: append(srcPaths, depsGlob...),
|
2017-02-16 02:31:33 +01:00
|
|
|
ImplicitOutputs: installPaths,
|
|
|
|
Args: map[string]string{
|
|
|
|
"depsPath": depsPath.String(),
|
2017-03-19 21:44:32 +01:00
|
|
|
"srcDir": srcDir.String(),
|
|
|
|
"outDir": outDir.String(),
|
2017-02-16 02:31:33 +01:00
|
|
|
},
|
|
|
|
})
|
2017-03-19 21:44:32 +01:00
|
|
|
|
|
|
|
return timestampFile
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
|
|
|
|
2019-04-03 17:43:30 +02:00
|
|
|
// versioned_ndk_headers preprocesses the headers with the bionic versioner:
|
2024-01-09 23:02:03 +01:00
|
|
|
// https://android.googlesource.com/platform/bionic/+/main/tools/versioner/README.md.
|
2019-04-03 17:43:30 +02:00
|
|
|
// Unlike the ndk_headers soong module, versioned_ndk_headers operates on a
|
|
|
|
// directory level specified in `from` property. This is only used to process
|
|
|
|
// the bionic/libc/include directory.
|
2023-09-28 21:30:51 +02:00
|
|
|
func VersionedNdkHeadersFactory() android.Module {
|
2018-05-25 00:02:16 +02:00
|
|
|
module := &versionedHeaderModule{}
|
2017-06-24 00:06:31 +02:00
|
|
|
|
|
|
|
module.AddProperties(&module.properties)
|
|
|
|
|
2018-10-11 02:18:08 +02:00
|
|
|
android.InitAndroidModule(module)
|
2017-06-24 00:06:31 +02:00
|
|
|
|
|
|
|
return module
|
2017-02-16 02:31:33 +01:00
|
|
|
}
|
2018-05-25 00:06:11 +02:00
|
|
|
|
2022-08-16 02:55:11 +02:00
|
|
|
// preprocessed_ndk_header {
|
|
|
|
//
|
|
|
|
// name: "foo",
|
|
|
|
// preprocessor: "foo.sh",
|
|
|
|
// srcs: [...],
|
|
|
|
// to: "android",
|
|
|
|
//
|
|
|
|
// }
|
2018-05-25 00:06:11 +02:00
|
|
|
//
|
|
|
|
// Will invoke the preprocessor as:
|
2022-08-16 19:27:33 +02:00
|
|
|
//
|
|
|
|
// $preprocessor -o $SYSROOT/usr/include/android/needs_preproc.h $src
|
|
|
|
//
|
2018-05-25 00:06:11 +02:00
|
|
|
// For each src in srcs.
|
|
|
|
type preprocessedHeadersProperties struct {
|
|
|
|
// The preprocessor to run. Must be a program inside the source directory
|
|
|
|
// with no dependencies.
|
|
|
|
Preprocessor *string
|
|
|
|
|
|
|
|
// Source path to the files to be preprocessed.
|
|
|
|
Srcs []string
|
|
|
|
|
|
|
|
// Source paths that should be excluded from the srcs glob.
|
|
|
|
Exclude_srcs []string
|
|
|
|
|
|
|
|
// Install path within the sysroot. This is relative to usr/include.
|
|
|
|
To *string
|
|
|
|
|
|
|
|
// Path to the NOTICE file associated with the headers.
|
|
|
|
License *string
|
|
|
|
}
|
|
|
|
|
|
|
|
type preprocessedHeadersModule struct {
|
|
|
|
android.ModuleBase
|
|
|
|
|
|
|
|
properties preprocessedHeadersProperties
|
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
srcPaths android.Paths
|
2018-05-25 00:06:11 +02:00
|
|
|
installPaths android.Paths
|
2019-03-05 21:46:40 +01:00
|
|
|
licensePath android.Path
|
2018-05-25 00:06:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *preprocessedHeadersModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|
|
|
if String(m.properties.License) == "" {
|
|
|
|
ctx.PropertyErrorf("license", "field is required")
|
|
|
|
}
|
|
|
|
|
|
|
|
preprocessor := android.PathForModuleSrc(ctx, String(m.properties.Preprocessor))
|
|
|
|
m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License))
|
|
|
|
|
2023-08-23 12:06:35 +02:00
|
|
|
m.srcPaths = android.PathsForModuleSrcExcludes(ctx, m.properties.Srcs, m.properties.Exclude_srcs)
|
2018-05-25 00:06:11 +02:00
|
|
|
installDir := getCurrentIncludePath(ctx).Join(ctx, String(m.properties.To))
|
2023-08-23 12:06:35 +02:00
|
|
|
for _, src := range m.srcPaths {
|
2018-05-25 00:06:11 +02:00
|
|
|
installPath := installDir.Join(ctx, src.Base())
|
|
|
|
m.installPaths = append(m.installPaths, installPath)
|
|
|
|
|
|
|
|
ctx.Build(pctx, android.BuildParams{
|
|
|
|
Rule: preprocessNdkHeader,
|
|
|
|
Description: "preprocess " + src.Rel(),
|
|
|
|
Input: src,
|
|
|
|
Output: installPath,
|
|
|
|
Args: map[string]string{
|
|
|
|
"preprocessor": preprocessor.String(),
|
|
|
|
},
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
if len(m.installPaths) == 0 {
|
|
|
|
ctx.ModuleErrorf("srcs %q matched zero files", m.properties.Srcs)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 17:43:30 +02:00
|
|
|
// preprocessed_ndk_headers preprocesses all the ndk headers listed in the srcs
|
|
|
|
// property by executing the command defined in the preprocessor property.
|
2018-05-25 00:06:11 +02:00
|
|
|
func preprocessedNdkHeadersFactory() android.Module {
|
|
|
|
module := &preprocessedHeadersModule{}
|
|
|
|
|
|
|
|
module.AddProperties(&module.properties)
|
|
|
|
|
2018-10-11 02:18:08 +02:00
|
|
|
android.InitAndroidModule(module)
|
2018-05-25 00:06:11 +02:00
|
|
|
|
|
|
|
return module
|
|
|
|
}
|