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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'skia_warnings_as_errors': 0, | 7 'skia_warnings_as_errors': 0, |
8 }, | 8 }, |
9 'targets': [{ | 9 'targets': [{ |
10 'target_name': 'microhttpd', | 10 'target_name': 'microhttpd', |
(...skipping 13 matching lines...) Expand all Loading... |
24 '../third_party/externals/microhttpd/src/microhttpd/daemon.c', | 24 '../third_party/externals/microhttpd/src/microhttpd/daemon.c', |
25 '../third_party/externals/microhttpd/src/microhttpd/digestauth.c', | 25 '../third_party/externals/microhttpd/src/microhttpd/digestauth.c', |
26 '../third_party/externals/microhttpd/src/microhttpd/internal.c', | 26 '../third_party/externals/microhttpd/src/microhttpd/internal.c', |
27 '../third_party/externals/microhttpd/src/microhttpd/md5.c', | 27 '../third_party/externals/microhttpd/src/microhttpd/md5.c', |
28 '../third_party/externals/microhttpd/src/microhttpd/memorypool.c', | 28 '../third_party/externals/microhttpd/src/microhttpd/memorypool.c', |
29 '../third_party/externals/microhttpd/src/microhttpd/postprocessor.c', | 29 '../third_party/externals/microhttpd/src/microhttpd/postprocessor.c', |
30 '../third_party/externals/microhttpd/src/microhttpd/reason_phrase.c', | 30 '../third_party/externals/microhttpd/src/microhttpd/reason_phrase.c', |
31 '../third_party/externals/microhttpd/src/microhttpd/response.c', | 31 '../third_party/externals/microhttpd/src/microhttpd/response.c', |
32 '../third_party/externals/microhttpd/src/microhttpd/tsearch.c', | 32 '../third_party/externals/microhttpd/src/microhttpd/tsearch.c', |
33 ], | 33 ], |
| 34 'variables': { |
| 35 'skia_microhttpd_flags' : [ |
| 36 '-Wno-sign-compare', |
| 37 '-Wno-unused-const-variable', |
| 38 '-Wno-tautological-constant-out-of-range-compare', |
| 39 ], |
| 40 }, |
| 41 'cflags': [ '<@(skia_microhttpd_flags)' ], |
| 42 'xcode_settings': { 'WARNING_CFLAGS': [ '<@(skia_microhttpd_flags)' ], }, |
34 'conditions': [ | 43 'conditions': [ |
35 # For each platform, run configure and scrape the generated MHD_config.h | 44 # For each platform, run configure and scrape the generated MHD_config.h |
36 # to get a list of platform specific defines | 45 # to get a list of platform specific defines |
37 # the options to use for configure are: | 46 # the options to use for configure are: |
38 # --disable-doc --disable-exapmles --enable-https=no --disable-curl | 47 # --disable-doc --disable-exapmles --enable-https=no --disable-curl |
39 # --enable-spdy=no --enable-shared=no | 48 # --enable-spdy=no --enable-shared=no |
40 ['skia_os == "linux"', { | 49 ['skia_os == "linux"', { |
41 'cflags': [ '-w' ], | 50 'cflags': [ '-w' ], |
42 'libraries': [ | 51 'libraries': [ |
43 '-lpthread', | 52 '-lpthread', |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 'PACKAGE_VERSION="0.9.42"', | 246 'PACKAGE_VERSION="0.9.42"', |
238 "SPDY_SUPPORT=0", | 247 "SPDY_SUPPORT=0", |
239 "STDC_HEADERS=1", | 248 "STDC_HEADERS=1", |
240 'VERSION="0.9.42"', | 249 'VERSION="0.9.42"', |
241 '_MHD_EXTERN=extern', | 250 '_MHD_EXTERN=extern', |
242 ], | 251 ], |
243 }], | 252 }], |
244 ] | 253 ] |
245 }] | 254 }] |
246 } | 255 } |
OLD | NEW |