| OLD | NEW |
| 1 { | 1 { |
| 2 'variables': { | 2 'variables': { |
| 3 'skia_warnings_as_errors': 0, | 3 'skia_warnings_as_errors': 0, |
| 4 }, | 4 }, |
| 5 'targets': [{ | 5 'targets': [{ |
| 6 # Draws pictures cross-process. | 6 # Draws pictures cross-process. |
| 7 'target_name': 'nanomsg_picture_demo', | 7 'target_name': 'nanomsg_picture_demo', |
| 8 'type': 'executable', | 8 'type': 'executable', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 'skia_lib.gyp:skia_lib', | 10 'skia_lib.gyp:skia_lib', |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 '../third_party/externals/nanomsg/src/utils/sleep.c', | 107 '../third_party/externals/nanomsg/src/utils/sleep.c', |
| 108 '../third_party/externals/nanomsg/src/utils/stopwatch.c', | 108 '../third_party/externals/nanomsg/src/utils/stopwatch.c', |
| 109 '../third_party/externals/nanomsg/src/utils/thread.c', | 109 '../third_party/externals/nanomsg/src/utils/thread.c', |
| 110 '../third_party/externals/nanomsg/src/utils/wire.c', | 110 '../third_party/externals/nanomsg/src/utils/wire.c', |
| 111 ], | 111 ], |
| 112 | 112 |
| 113 # TODO(mtklein): Support Windows? | 113 # TODO(mtklein): Support Windows? |
| 114 # To refresh: cd third_party/externals/nanomsg; ./autogen.sh; ./configure; c
opy from Makefile. | 114 # To refresh: cd third_party/externals/nanomsg; ./autogen.sh; ./configure; c
opy from Makefile. |
| 115 'conditions': [ | 115 'conditions': [ |
| 116 ['skia_os == "linux"', { | 116 ['skia_os == "linux"', { |
| 117 'cflags': [ '-Wno-missing-field-initializers' ], | 117 'cflags': [ '-w' ], |
| 118 'libraries': [ | 118 'libraries': [ |
| 119 '-lpthread', | 119 '-lpthread', |
| 120 '-lanl', # Provides getaddrinfo_a and co. | 120 '-lanl', # Provides getaddrinfo_a and co. |
| 121 ], | 121 ], |
| 122 'direct_dependent_settings': { | 122 'direct_dependent_settings': { |
| 123 'libraries': [ '-lpthread', '-lanl' ], | 123 'libraries': [ '-lpthread', '-lanl' ], |
| 124 }, | 124 }, |
| 125 'defines=': [ # equals sign throws away most Skia defines (j
ust noise) | 125 'defines=': [ # equals sign throws away most Skia defines (j
ust noise) |
| 126 'HAVE_ACCEPT4', | 126 'HAVE_ACCEPT4', |
| 127 'HAVE_ARPA_INET_H', | 127 'HAVE_ARPA_INET_H', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 'NN_USE_IFADDRS', | 198 'NN_USE_IFADDRS', |
| 199 'NN_USE_KQUEUE', | 199 'NN_USE_KQUEUE', |
| 200 'NN_USE_PIPE', | 200 'NN_USE_PIPE', |
| 201 'STDC_HEADERS', | 201 'STDC_HEADERS', |
| 202 '_THREAD_SAFE', | 202 '_THREAD_SAFE', |
| 203 ], | 203 ], |
| 204 }], | 204 }], |
| 205 ] | 205 ] |
| 206 }] | 206 }] |
| 207 } | 207 } |
| OLD | NEW |