skia2/tools/BinaryAsset.h
Hal Canary a4935104a5 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>
2017-12-11 22:06:38 +00:00

19 lines
337 B
C

/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef BinaryAsset_DEFINED
#define BinaryAsset_DEFINED
#include <cstddef>
struct BinaryAsset {
const char* name;
const void* data;
size_t len;
};
#endif // BinaryAsset_DEFINED