Jaesung Chung | 2934553 | 2016-01-14 02:28:47 +0900 | [diff] [blame^] | 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': ['-Wsign-compare'], |
| 32 | 'dependencies': [ |
| 33 | 'binary_parse', |
| 34 | 'image_type_recognition', |
| 35 | 'tiff_directory', |
| 36 | ], |
| 37 | }, { |
| 38 | 'target_name': 'binary_parse', |
| 39 | 'type': 'static_library', |
| 40 | 'sources': [ |
| 41 | 'src/binary_parse/cached_paged_byte_array.cc', |
| 42 | 'src/binary_parse/range_checked_byte_ptr.cc', |
| 43 | ], |
| 44 | 'variables': { |
| 45 | 'headers': [ |
| 46 | 'src/binary_parse/cached_paged_byte_array.h', |
| 47 | 'src/binary_parse/range_checked_byte_ptr.h', |
| 48 | ], |
| 49 | }, |
| 50 | 'include_dirs': ['.'], |
| 51 | 'cflags': ['-Wsign-compare'], |
| 52 | }, { |
| 53 | 'target_name': 'image_type_recognition', |
| 54 | 'type': 'static_library', |
| 55 | 'sources': [ |
| 56 | 'src/image_type_recognition/image_type_recognition_lite.cc', |
| 57 | ], |
| 58 | 'variables': { |
| 59 | 'headers': ['src/image_type_recognition/image_type_recognition_lite.h'], |
| 60 | }, |
| 61 | 'include_dirs': ['.'], |
| 62 | 'cflags': ['-Wsign-compare'], |
| 63 | 'dependencies': ['binary_parse'], |
| 64 | }, { |
| 65 | 'target_name': 'tiff_directory', |
| 66 | 'type': 'static_library', |
| 67 | 'sources': [ |
| 68 | 'src/tiff_directory/tiff_directory.cc', |
| 69 | ], |
| 70 | 'variables': { |
| 71 | 'headers': ['src/tiff_directory/tiff_directory.h'], |
| 72 | }, |
| 73 | 'include_dirs': ['.'], |
| 74 | 'dependencies': ['binary_parse'], |
| 75 | }], |
| 76 | } |