Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Side by Side Diff: gyp/nanomsg.gyp

Issue 2205903004: GN: get echo-headers sources via exec_script (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: still needed for Mac Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/icu.gyp ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 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 # Draws pictures cross-process. 10 # Draws pictures cross-process.
11 'target_name': 'nanomsg_picture_demo', 11 'target_name': 'nanomsg_picture_demo',
12 'type': 'executable', 12 'type': 'executable',
13 'dependencies': [ 13 'dependencies': [
14 'skia_lib.gyp:skia_lib', 14 'skia_lib.gyp:skia_lib',
15 'flags.gyp:flags', 15 'flags.gyp:flags',
16 'libnanomsg', 16 'libnanomsg',
17 ], 17 ],
18 'sources': [ '../experimental/nanomsg/picture_demo.cpp' ], 18 'sources': [ '../experimental/nanomsg/picture_demo.cpp' ],
19 },{ 19 },{
20 'target_name': 'libnanomsg', 20 'target_name': 'libnanomsg',
21 'type': 'static_library', 21 'type': 'static_library',
22 22
23 # Clients can include nanomsg public header foo.h with #include "nanomsg/src /foo.h" 23 # Clients can include nanomsg public header foo.h with #include "nanomsg/src /foo.h"
24 'direct_dependent_settings': { 24 'direct_dependent_settings': {
25 'include_dirs': [ '../third_party/externals' ] 25 'include_dirs': [ '../third_party/externals' ]
26 }, 26 },
27 27
28 'sources': [ 28 'sources': [
29 '<!@(python find.py ../third_party/externals/nanomsg/src "*.c")' 29 '<!@(python find.py "*.c" ../third_party/externals/nanomsg/src)'
30 ], 30 ],
31 31
32 # TODO(mtklein): Support Windows? 32 # TODO(mtklein): Support Windows?
33 # To refresh: cd third_party/externals/nanomsg; ./autogen.sh; ./configure; c opy from Makefile. 33 # To refresh: cd third_party/externals/nanomsg; ./autogen.sh; ./configure; c opy from Makefile.
34 'conditions': [ 34 'conditions': [
35 ['skia_os == "linux"', { 35 ['skia_os == "linux"', {
36 'cflags': [ '-w' ], 36 'cflags': [ '-w' ],
37 'libraries': [ 37 'libraries': [
38 '-lpthread', 38 '-lpthread',
39 '-lanl', # Provides getaddrinfo_a and co. 39 '-lanl', # Provides getaddrinfo_a and co.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 'NN_USE_IFADDRS', 120 'NN_USE_IFADDRS',
121 'NN_USE_KQUEUE', 121 'NN_USE_KQUEUE',
122 'NN_USE_PIPE', 122 'NN_USE_PIPE',
123 'STDC_HEADERS', 123 'STDC_HEADERS',
124 '_THREAD_SAFE', 124 '_THREAD_SAFE',
125 ], 125 ],
126 }], 126 }],
127 ] 127 ]
128 }] 128 }]
129 } 129 }
OLDNEW
« no previous file with comments | « gyp/icu.gyp ('k') | gyp/sfntly.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698