Enable libpiex for Windows

This is needed to use skia in Android Studio for Windows.

Test: sdk build
Change-Id: Iaf219ff802dd367a5b9679306319049590885fad
This commit is contained in:
Jerome Gaillard
2018-11-29 14:50:11 +00:00
parent 4407e3338d
commit 1ef9d0c0f4

View File

@@ -12,6 +12,11 @@ cc_library_static {
"src/binary_parse/cached_paged_byte_array.cc", "src/binary_parse/cached_paged_byte_array.cc",
"src/binary_parse/range_checked_byte_ptr.cc", "src/binary_parse/range_checked_byte_ptr.cc",
], ],
target: {
windows: {
enabled: true,
},
},
} }
cc_library_static { cc_library_static {
@@ -23,6 +28,11 @@ cc_library_static {
"src/image_type_recognition/image_type_recognition_lite.cc", "src/image_type_recognition/image_type_recognition_lite.cc",
], ],
static_libs: ["libbinary_parse"], static_libs: ["libbinary_parse"],
target: {
windows: {
enabled: true,
},
},
} }
cc_library_static { cc_library_static {
@@ -34,6 +44,11 @@ cc_library_static {
"src/tiff_directory/tiff_directory.cc", "src/tiff_directory/tiff_directory.cc",
], ],
static_libs: ["libbinary_parse"], static_libs: ["libbinary_parse"],
target: {
windows: {
enabled: true,
},
},
} }
cc_library_shared { cc_library_shared {
@@ -54,4 +69,9 @@ cc_library_shared {
"libimage_type_recognition", "libimage_type_recognition",
"libtiff_directory", "libtiff_directory",
], ],
target: {
windows: {
enabled: true,
},
},
} }