Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 'variables': { | |
| 16 'skia_warnings_as_errors': 0, | |
|
scroggo
2016/01/14 15:26:38
Again, I don't think this is necessary here. Inste
yujieqin
2016/01/15 14:49:30
Done.
| |
| 17 }, | |
| 18 'targets': [{ | |
| 19 'target_name': 'piex-selector', | |
| 20 'type': 'none', | |
| 21 'conditions': [ | |
| 22 [ 'skia_android_framework', { | |
| 23 'dependencies': [ 'android_deps.gyp:piex' ], | |
| 24 'export_dependent_settings': [ 'android_deps.gyp:piex' ], | |
| 25 }, { | |
| 26 'dependencies': [ 'piex' ], | |
| 27 'export_dependent_settings': [ 'piex' ], | |
| 28 }] | |
| 29 ] | |
| 30 },{ | |
| 31 'target_name': 'piex', | |
| 32 'type': 'static_library', | |
| 33 'sources': [ | |
| 34 '../third_party/externals/piex/src/piex.cc', | |
| 35 '../third_party/externals/piex/src/tiff_parser.cc', | |
| 36 ], | |
| 37 'variables': { | |
| 38 'headers': [ | |
| 39 '../third_party/externals/piex/src/piex.h', | |
| 40 '../third_party/externals/piex/src/piex_types.h', | |
| 41 '../third_party/externals/piex/src/tiff_parser.h', | |
| 42 ], | |
| 43 }, | |
| 44 'include_dirs': ['../third_party/externals/piex'], | |
| 45 'cflags': ['-Wsign-compare'], | |
| 46 'dependencies': [ | |
| 47 'binary_parse', | |
| 48 'image_type_recognition', | |
| 49 'tiff_directory', | |
| 50 ], | |
| 51 'direct_dependent_settings': { | |
| 52 'include_dirs': [ | |
| 53 '../third_party/externals/piex', | |
| 54 ], | |
| 55 }, | |
| 56 }, { | |
| 57 'target_name': 'binary_parse', | |
| 58 'type': 'static_library', | |
| 59 'sources': [ | |
| 60 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.cc ', | |
| 61 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.cc' , | |
| 62 ], | |
| 63 'variables': { | |
| 64 'headers': [ | |
| 65 '../third_party/externals/piex/src/binary_parse/cached_paged_byte_array.h' , | |
| 66 '../third_party/externals/piex/src/binary_parse/range_checked_byte_ptr.h', | |
| 67 ], | |
| 68 }, | |
| 69 'include_dirs': ['../third_party/externals/piex'], | |
| 70 'cflags': ['-Wsign-compare'], | |
| 71 }, { | |
| 72 'target_name': 'image_type_recognition', | |
| 73 'type': 'static_library', | |
| 74 'sources': [ | |
| 75 '../third_party/externals/piex/src/image_type_recognition/image_type_recogni tion_lite.cc', | |
| 76 ], | |
| 77 'variables': { | |
| 78 'headers': ['../third_party/externals/piex/src/image_type_recognition/image_ type_recognition_lite.h'], | |
| 79 }, | |
| 80 'include_dirs': ['../third_party/externals/piex'], | |
| 81 'cflags': ['-Wsign-compare'], | |
| 82 'dependencies': ['binary_parse'], | |
| 83 }, { | |
| 84 'target_name': 'tiff_directory', | |
| 85 'type': 'static_library', | |
| 86 'sources': [ | |
| 87 '../third_party/externals/piex/src/tiff_directory/tiff_directory.cc', | |
| 88 ], | |
| 89 'variables': { | |
| 90 'headers': ['../third_party/externals/piex/src/tiff_directory/tiff_directory .h'], | |
| 91 }, | |
| 92 'include_dirs': ['../third_party/externals/piex'], | |
| 93 'dependencies': ['binary_parse'], | |
| 94 }], | |
| 95 } | |
| OLD | NEW |