diff options
Diffstat (limited to 'android/api_levels.go')
-rw-r--r-- | android/api_levels.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/android/api_levels.go b/android/api_levels.go index bace3d455..08328e16d 100644 --- a/android/api_levels.go +++ b/android/api_levels.go @@ -225,14 +225,7 @@ func createApiLevelsJson(ctx SingletonContext, file WritablePath, ctx.Errorf(err.Error()) } - ctx.Build(pctx, BuildParams{ - Rule: WriteFile, - Description: "generate " + file.Base(), - Output: file, - Args: map[string]string{ - "content": string(jsonStr[:]), - }, - }) + WriteFileRule(ctx, file, string(jsonStr)) } func GetApiLevelsJson(ctx PathContext) WritablePath { |