libimageenc.a: extract image-saving code from dwebp

BUG=webp:277
Change-Id: I2c0e1df7b13b1f77474b5478048fef022e90f77a
This commit is contained in:
Pascal Massimino
2016-09-06 22:46:31 -07:00
committed by James Zern
parent 9e478f808e
commit af1ad3e2dd
11 changed files with 736 additions and 507 deletions

View File

@@ -292,6 +292,24 @@ model {
}
}
}
imageenc(NativeLibrarySpec) {
binaries {
all {
lib library: "webp", linkage: "static"
lib library: "imageio_util", linkage: "static"
}
}
sources {
c {
source {
srcDir "./imageio"
include "image_enc.c"
}
}
}
}
cwebp(NativeExecutableSpec) {
binaries {
all {
@@ -316,6 +334,7 @@ model {
all {
lib library: "example_util", linkage: "static"
lib library: "imagedec", linkage: "static"
lib library: "imageenc", linkage: "static"
lib library: "imageio_util", linkage: "static"
lib library: "webp"
}