blob: 737a0c2b1113b0633fe0480c64e0adaf1174d056 [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',
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': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010031 'cflags': [
32 '-Wsign-compare',
33 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010034 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010035 ],
Jaesung Chung29345532016-01-14 02:28:47 +090036 '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': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010055 'cflags': [
56 '-Wsign-compare',
57 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010058 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010059 ],
Jaesung Chung29345532016-01-14 02:28:47 +090060}, {
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': ['.'],
Eik Brauera9540112016-01-27 13:25:41 +010070 'cflags': [
71 '-Wsign-compare',
72 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010073 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010074 ],
Jaesung Chung29345532016-01-14 02:28:47 +090075 'dependencies': ['binary_parse'],
76}, {
77 'target_name': 'tiff_directory',
78 'type': 'static_library',
Eik Brauera9540112016-01-27 13:25:41 +010079 'cflags': [
80 '-Wsign-compare',
81 '-Wsign-conversion',
Eik Brauerb415ce22016-02-01 12:26:23 +010082 '-Wunused-parameter',
Eik Brauera9540112016-01-27 13:25:41 +010083 ],
Jaesung Chung29345532016-01-14 02:28:47 +090084 '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}