1*a67afe4dSAndroid Build Coastguard Worker# simple.dfa 2*a67afe4dSAndroid Build Coastguard Worker# Build time configuration of libpng 3*a67afe4dSAndroid Build Coastguard Worker# 4*a67afe4dSAndroid Build Coastguard Worker# Author: John Bowler 5*a67afe4dSAndroid Build Coastguard Worker# Copyright: (c) John Bowler, 2013 6*a67afe4dSAndroid Build Coastguard Worker# Usage rights: 7*a67afe4dSAndroid Build Coastguard Worker# To the extent possible under law, the author has waived all copyright and 8*a67afe4dSAndroid Build Coastguard Worker# related or neighboring rights to this work. This work is published from: 9*a67afe4dSAndroid Build Coastguard Worker# United States. 10*a67afe4dSAndroid Build Coastguard Worker# 11*a67afe4dSAndroid Build Coastguard Worker# Build libpng with just the simplified APIs (read and write). 12*a67afe4dSAndroid Build Coastguard Worker# 13*a67afe4dSAndroid Build Coastguard Worker 14*a67afe4dSAndroid Build Coastguard Workereverything = off 15*a67afe4dSAndroid Build Coastguard Worker 16*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_WRITE on 17*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_READ on 18*a67afe4dSAndroid Build Coastguard Worker 19*a67afe4dSAndroid Build Coastguard Worker# It isn't necessary to chose fixed or floating point for the APIs because the 20*a67afe4dSAndroid Build Coastguard Worker# simplified API doesn't need fixed or floating point numbers. It is necessary 21*a67afe4dSAndroid Build Coastguard Worker# to chose an internal math implementation. The default (because of 'everything 22*a67afe4dSAndroid Build Coastguard Worker# = off') is fixed point - turn the floating point implementation on if you have 23*a67afe4dSAndroid Build Coastguard Worker# hardware floating point or prefer your software floating point implementation. 24*a67afe4dSAndroid Build Coastguard Workeroption FLOATING_ARITHMETIC on 25*a67afe4dSAndroid Build Coastguard Worker 26*a67afe4dSAndroid Build Coastguard Worker# This is not strictly necessary, but without it the message strings in the API 27*a67afe4dSAndroid Build Coastguard Worker# will not be filled in 28*a67afe4dSAndroid Build Coastguard Workeroption ERROR_TEXT on 29*a67afe4dSAndroid Build Coastguard Worker 30*a67afe4dSAndroid Build Coastguard Worker# Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't 31*a67afe4dSAndroid Build Coastguard Worker# need this if you don't use them, they just allow the in-memory layout to be 32*a67afe4dSAndroid Build Coastguard Worker# changed to match common hardware formats. 33*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_READ_AFIRST on 34*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_READ_BGR on 35*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_WRITE_AFIRST on 36*a67afe4dSAndroid Build Coastguard Workeroption SIMPLIFIED_WRITE_BGR on 37