OLD | NEW |
1 # Copyright 2016 Google Inc. All Rights Reserved. | 1 # Copyright 2016 Google Inc. All Rights Reserved. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with 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 | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 10 matching lines...) Expand all Loading... |
21 'export_dependent_settings': [ 'android_deps.gyp:libpiex' ], | 21 'export_dependent_settings': [ 'android_deps.gyp:libpiex' ], |
22 }, { | 22 }, { |
23 'dependencies': [ 'piex.gyp:piex' ], | 23 'dependencies': [ 'piex.gyp:piex' ], |
24 'export_dependent_settings': [ 'piex.gyp:piex' ], | 24 'export_dependent_settings': [ 'piex.gyp:piex' ], |
25 }] | 25 }] |
26 ] | 26 ] |
27 },{ | 27 },{ |
28 'target_name': 'piex', | 28 'target_name': 'piex', |
29 'type': 'static_library', | 29 'type': 'static_library', |
30 'sources': [ | 30 'sources': [ |
| 31 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.cc', |
| 32 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.cc', |
| 33 '../third_party/externals/piex/src/image_type_recognition/image_type_recogni
tion_lite.cc', |
31 '../third_party/externals/piex/src/piex.cc', | 34 '../third_party/externals/piex/src/piex.cc', |
| 35 '../third_party/externals/piex/src/tiff_directory/tiff_directory.cc', |
32 '../third_party/externals/piex/src/tiff_parser.cc', | 36 '../third_party/externals/piex/src/tiff_parser.cc', |
33 ], | 37 ], |
34 'variables': { | 38 'include_dirs': [ '../third_party/externals/piex' ], |
35 'headers': [ | 39 'direct_dependent_settings': { |
36 '../third_party/externals/piex/src/piex.h', | 40 'include_dirs': [ '../third_party/externals/piex' ], |
37 '../third_party/externals/piex/src/piex_types.h', | |
38 '../third_party/externals/piex/src/tiff_parser.h', | |
39 ], | |
40 }, | 41 }, |
41 'include_dirs': ['../third_party/externals/piex'], | 42 'cflags': [ '-w' ], |
42 'cflags': [ | 43 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0' } }, |
43 '-Wsign-compare', | 44 'xcode_settings': { 'WARNING_CFLAGS': ['-w'] }, |
44 '-w', | |
45 ], | |
46 'msvs_settings': { | |
47 'VCCLCompilerTool': { | |
48 'WarningLevel': '0', | |
49 }, | |
50 }, | |
51 'xcode_settings': { | |
52 'WARNING_CFLAGS': ['-w'], | |
53 }, | |
54 'dependencies': [ | |
55 'binary_parse', | |
56 'image_type_recognition', | |
57 'tiff_directory', | |
58 ], | |
59 'direct_dependent_settings': { | |
60 'include_dirs': [ | |
61 '../third_party/externals/piex', | |
62 ], | |
63 }, | |
64 }, { | |
65 'target_name': 'binary_parse', | |
66 'type': 'static_library', | |
67 'sources': [ | |
68 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.cc
', | |
69 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.cc'
, | |
70 ], | |
71 'variables': { | |
72 'headers': [ | |
73 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.h'
, | |
74 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.h', | |
75 ], | |
76 }, | |
77 'include_dirs': ['../third_party/externals/piex'], | |
78 'cflags': ['-Wsign-compare'], | |
79 }, { | |
80 'target_name': 'image_type_recognition', | |
81 'type': 'static_library', | |
82 'sources': [ | |
83 '../third_party/externals/piex/src/image_type_recognition/image_type_recogni
tion_lite.cc', | |
84 ], | |
85 'variables': { | |
86 'headers': ['../third_party/externals/piex/src/image_type_recognition/image_
type_recognition_lite.h'], | |
87 }, | |
88 'include_dirs': ['../third_party/externals/piex'], | |
89 'cflags': ['-Wsign-compare'], | |
90 'dependencies': ['binary_parse'], | |
91 }, { | |
92 'target_name': 'tiff_directory', | |
93 'type': 'static_library', | |
94 'sources': [ | |
95 '../third_party/externals/piex/src/tiff_directory/tiff_directory.cc', | |
96 ], | |
97 'variables': { | |
98 'headers': ['../third_party/externals/piex/src/tiff_directory/tiff_directory
.h'], | |
99 }, | |
100 'include_dirs': ['../third_party/externals/piex'], | |
101 'dependencies': ['binary_parse'], | |
102 }], | 45 }], |
103 } | 46 } |
OLD | NEW |