diff options
author | Hal Canary <halcanary@google.com> | 2017-12-08 13:35:47 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-11 22:06:38 +0000 |
commit | a4935104a5dfd646bfecb01b5f4618785bedaff7 (patch) | |
tree | 8f13a056c4fc765da4eaa7ceb7f865bcb4e3aeae /infra/bots/recipe_modules/flavor/gn_flavor.py | |
parent | 94f509b5042c29540d0b4ef255798b8daed5ace6 (diff) |
resources: optionally link them into our binary
To enable, set skia_embed_resources=true in args.gn.
Also add *-EmbededResouces bots.
Change-Id: Ia69b26e926a3ad4676a4fa021894432ea2104538
Reviewed-on: https://skia-review.googlesource.com/82626
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/flavor/gn_flavor.py')
-rw-r--r-- | infra/bots/recipe_modules/flavor/gn_flavor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/flavor/gn_flavor.py b/infra/bots/recipe_modules/flavor/gn_flavor.py index 9e8e22baae..a5aad9e246 100644 --- a/infra/bots/recipe_modules/flavor/gn_flavor.py +++ b/infra/bots/recipe_modules/flavor/gn_flavor.py @@ -141,6 +141,8 @@ with open(sys.argv[1], 'w') as f: }) if extra_config == 'NoGPU': args['skia_enable_gpu'] = 'false' + if extra_config == 'EmbededResouces': + args['skia_embed_resoucres'] = 'true' if extra_config == 'Shared': args['is_component_build'] = 'true' if 'Vulkan' in extra_config and not 'Android' in extra_config: |