blob: 15741dcf9a0725e74873bb19452dcf82e290867c [file] [log] [blame]
Jaesung Chung29345532016-01-14 02:28:47 +09001# 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',
Nick Chusid5c5b6712021-06-03 15:33:24 -040021 'src/piex_cr3.cc',
Jaesung Chung29345532016-01-14 02:28:47 +090022 'src/tiff_parser.cc',
23 ],
24 'variables': {
25 'headers': [
26 'src/piex.h',
Nick Chusid5c5b6712021-06-03 15:33:24 -040027 'src/piex_cr3.h',
Jaesung Chung29345532016-01-14 02:28:47 +090028 'src/piex_types.h',
29 'src/tiff_parser.h',
30 ],
31 },
32 'include_dirs': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010033 'cflags': [
34 '-Wsign-compare',
35 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010036 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010037 ],
Jaesung Chung29345532016-01-14 02:28:47 +090038 'dependencies': [
39 'binary_parse',
40 'image_type_recognition',
41 'tiff_directory',
42 ],
43}, {
44 'target_name': 'binary_parse',
45 'type': 'static_library',
46 'sources': [
47 'src/binary_parse/cached_paged_byte_array.cc',
48 'src/binary_parse/range_checked_byte_ptr.cc',
49 ],
50 'variables': {
51 'headers': [
52 'src/binary_parse/cached_paged_byte_array.h',
53 'src/binary_parse/range_checked_byte_ptr.h',
54 ],
55 },
56 'include_dirs': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010057 'cflags': [
58 '-Wsign-compare',
59 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010060 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010061 ],
Jaesung Chung29345532016-01-14 02:28:47 +090062}, {
63 'target_name': 'image_type_recognition',
64 'type': 'static_library',
65 'sources': [
66 'src/image_type_recognition/image_type_recognition_lite.cc',
67 ],
68 'variables': {
69 'headers': ['src/image_type_recognition/image_type_recognition_lite.h'],
70 },
71 'include_dirs': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010072 'cflags': [
73 '-Wsign-compare',
74 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010075 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010076 ],
Jaesung Chung29345532016-01-14 02:28:47 +090077 'dependencies': ['binary_parse'],
78}, {
79 'target_name': 'tiff_directory',
80 'type': 'static_library',
Eik Brauera9540112016-01-27 13:25:41 +010081 'cflags': [
82 '-Wsign-compare',
83 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010084 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010085 ],
Jaesung Chung29345532016-01-14 02:28:47 +090086 'sources': [
87 'src/tiff_directory/tiff_directory.cc',
88 ],
89 'variables': {
90 'headers': ['src/tiff_directory/tiff_directory.h'],
91 },
92 'include_dirs': ['.'],
93 'dependencies': ['binary_parse'],
94}],
95}