OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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 'target_defaults': { |
| 16 'cflags': [ |
| 17 '-w', |
| 18 ], |
| 19 'msvs_settings': { |
| 20 'VCCLCompilerTool': { |
| 21 'WarningLevel': '0', |
| 22 }, |
| 23 }, |
| 24 'xcode_settings': { |
| 25 'WARNING_CFLAGS': ['-w'], |
| 26 }, |
| 27 }, |
| 28 'targets': [{ |
| 29 'target_name': 'piex-selector', |
| 30 'type': 'none', |
| 31 'conditions': [ |
| 32 [ 'skia_android_framework', { |
| 33 'dependencies': [ 'android_deps.gyp:piex' ], |
| 34 'export_dependent_settings': [ 'android_deps.gyp:piex' ], |
| 35 }, { |
| 36 'dependencies': [ 'piex' ], |
| 37 'export_dependent_settings': [ 'piex' ], |
| 38 }] |
| 39 ] |
| 40 },{ |
| 41 'target_name': 'piex', |
| 42 'type': 'static_library', |
| 43 'sources': [ |
| 44 '../third_party/externals/piex/src/piex.cc', |
| 45 '../third_party/externals/piex/src/tiff_parser.cc', |
| 46 ], |
| 47 'variables': { |
| 48 'headers': [ |
| 49 '../third_party/externals/piex/src/piex.h', |
| 50 '../third_party/externals/piex/src/piex_types.h', |
| 51 '../third_party/externals/piex/src/tiff_parser.h', |
| 52 ], |
| 53 }, |
| 54 'include_dirs': ['../third_party/externals/piex'], |
| 55 'dependencies': [ |
| 56 'binary_parse', |
| 57 'image_type_recognition', |
| 58 'tiff_directory', |
| 59 ], |
| 60 'direct_dependent_settings': { |
| 61 'include_dirs': [ |
| 62 '../third_party/externals/piex', |
| 63 ], |
| 64 }, |
| 65 }, { |
| 66 'target_name': 'binary_parse', |
| 67 'type': 'static_library', |
| 68 'sources': [ |
| 69 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.cc
', |
| 70 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.cc'
, |
| 71 ], |
| 72 'variables': { |
| 73 'headers': [ |
| 74 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.h'
, |
| 75 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.h', |
| 76 ], |
| 77 }, |
| 78 'include_dirs': ['../third_party/externals/piex'], |
| 79 'cflags': ['-Wsign-compare'], |
| 80 }, { |
| 81 'target_name': 'image_type_recognition', |
| 82 'type': 'static_library', |
| 83 'sources': [ |
| 84 '../third_party/externals/piex/src/image_type_recognition/image_type_recogni
tion_lite.cc', |
| 85 ], |
| 86 'variables': { |
| 87 'headers': ['../third_party/externals/piex/src/image_type_recognition/image_
type_recognition_lite.h'], |
| 88 }, |
| 89 'include_dirs': ['../third_party/externals/piex'], |
| 90 'cflags': ['-Wsign-compare'], |
| 91 'dependencies': ['binary_parse'], |
| 92 }, { |
| 93 'target_name': 'tiff_directory', |
| 94 'type': 'static_library', |
| 95 'sources': [ |
| 96 '../third_party/externals/piex/src/tiff_directory/tiff_directory.cc', |
| 97 ], |
| 98 'variables': { |
| 99 'headers': ['../third_party/externals/piex/src/tiff_directory/tiff_directory
.h'], |
| 100 }, |
| 101 'include_dirs': ['../third_party/externals/piex'], |
| 102 'dependencies': ['binary_parse'], |
| 103 }], |
| 104 } |
OLD | NEW |