1# Copyright 2015 Google Inc. All Rights Reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14{ 15'includes': ['internal_include_do_not_delete.gypi'], 16'targets': [{ 17 'target_name': 'piex', 18 'type': 'static_library', 19 'sources': [ 20 'src/piex.cc', 21 'src/tiff_parser.cc', 22 ], 23 'variables': { 24 'headers': [ 25 'src/piex.h', 26 'src/piex_types.h', 27 'src/tiff_parser.h', 28 ], 29 }, 30 'include_dirs': ['.'], 31 'cflags': [ 32 '-Wsign-compare', 33 '-Wsign-conversion', 34 '-Wunused-parameter', 35 ], 36 'dependencies': [ 37 'binary_parse', 38 'image_type_recognition', 39 'tiff_directory', 40 ], 41}, { 42 'target_name': 'binary_parse', 43 'type': 'static_library', 44 'sources': [ 45 'src/binary_parse/cached_paged_byte_array.cc', 46 'src/binary_parse/range_checked_byte_ptr.cc', 47 ], 48 'variables': { 49 'headers': [ 50 'src/binary_parse/cached_paged_byte_array.h', 51 'src/binary_parse/range_checked_byte_ptr.h', 52 ], 53 }, 54 'include_dirs': ['.'], 55 'cflags': [ 56 '-Wsign-compare', 57 '-Wsign-conversion', 58 '-Wunused-parameter', 59 ], 60}, { 61 'target_name': 'image_type_recognition', 62 'type': 'static_library', 63 'sources': [ 64 'src/image_type_recognition/image_type_recognition_lite.cc', 65 ], 66 'variables': { 67 'headers': ['src/image_type_recognition/image_type_recognition_lite.h'], 68 }, 69 'include_dirs': ['.'], 70 'cflags': [ 71 '-Wsign-compare', 72 '-Wsign-conversion', 73 '-Wunused-parameter', 74 ], 75 'dependencies': ['binary_parse'], 76}, { 77 'target_name': 'tiff_directory', 78 'type': 'static_library', 79 'cflags': [ 80 '-Wsign-compare', 81 '-Wsign-conversion', 82 '-Wunused-parameter', 83 ], 84 'sources': [ 85 'src/tiff_directory/tiff_directory.cc', 86 ], 87 'variables': { 88 'headers': ['src/tiff_directory/tiff_directory.h'], 89 }, 90 'include_dirs': ['.'], 91 'dependencies': ['binary_parse'], 92}], 93} 94