OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # The Adobe DNG SDK, an API for reading and writing DNG files. | 5 # The Adobe DNG SDK, an API for reading and writing DNG files. |
6 { | 6 { |
7 'targets': [{ | 7 'targets': [{ |
8 'target_name': 'dng_sdk-selector', | 8 'target_name': 'dng_sdk-selector', |
9 'type': 'none', | 9 'type': 'none', |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 11 matching lines...) Expand all Loading... |
22 'cflags_cc': [ '-fexceptions' ], | 22 'cflags_cc': [ '-fexceptions' ], |
23 'cflags': [ | 23 'cflags': [ |
24 '-fexceptions', | 24 '-fexceptions', |
25 '-w', | 25 '-w', |
26 # FIXME: only disable ::posix_memalign() when needed. | 26 # FIXME: only disable ::posix_memalign() when needed. |
27 '-DNO_POSIX_MEMALIGN' | 27 '-DNO_POSIX_MEMALIGN' |
28 ], | 28 ], |
29 'msvs_settings': { | 29 'msvs_settings': { |
30 'VCCLCompilerTool': { | 30 'VCCLCompilerTool': { |
31 'WarningLevel': '0', | 31 'WarningLevel': '0', |
| 32 'AdditionalOptions': ['/wd4189', ], |
32 }, | 33 }, |
33 }, | 34 }, |
34 'xcode_settings': { | 35 'xcode_settings': { |
35 'WARNING_CFLAGS': ['-w'], | 36 'WARNING_CFLAGS': ['-w'], |
36 }, | 37 }, |
37 'dependencies': [ | 38 'dependencies': [ |
38 'dng_dont_report_errors_flags', | 39 'dng_dont_report_errors_flags', |
39 'dng_flags', | 40 'dng_flags', |
40 'dng_frame_larger_than_flags', | 41 'dng_frame_larger_than_flags', |
41 'dng_srcs', | 42 'dng_srcs', |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 ], | 274 ], |
274 }, | 275 }, |
275 }, { | 276 }, { |
276 'target_name': 'dng_frame_larger_than_flags', | 277 'target_name': 'dng_frame_larger_than_flags', |
277 'type': 'none', | 278 'type': 'none', |
278 'direct_dependent_settings': { | 279 'direct_dependent_settings': { |
279 'cflags': ['-Wframe-larger-than=20000'], | 280 'cflags': ['-Wframe-larger-than=20000'], |
280 }, | 281 }, |
281 }], | 282 }], |
282 } | 283 } |
OLD | NEW |