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

Side by Side Diff: third_party/libmicrohttpd/BUILD.gn

Issue 2367513002: GN: build skiaserve (Closed)
Patch Set: sys/socket Created 4 years, 3 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 | « BUILD.gn ('k') | third_party/libmicrohttpd/build.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 Google Inc.
2 #
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 declare_args() {
7 }
8
9 import("../third_party.gni")
10
11 third_party("libmicrohttpd") {
12 public_include_dirs = [ "../externals/microhttpd/src/include" ]
13
14 include_dirs = [ "." ]
15 sources = [
16 "../externals/microhttpd/src/microhttpd/base64.c",
17 "../externals/microhttpd/src/microhttpd/connection.c",
18 "../externals/microhttpd/src/microhttpd/daemon.c",
19 "../externals/microhttpd/src/microhttpd/internal.c",
20 "../externals/microhttpd/src/microhttpd/memorypool.c",
21 "../externals/microhttpd/src/microhttpd/postprocessor.c",
22 "../externals/microhttpd/src/microhttpd/reason_phrase.c",
23 "../externals/microhttpd/src/microhttpd/response.c",
24 ]
25
26 defines = [ "DAUTH_SUPPORT=1" ]
27
28 if (!is_win) {
29 defines += [
30 "HAVE_NETINET_IN_H=1",
31 "HAVE_PTHREAD_H=1",
32 "HAVE_SYS_SOCKET_H=1",
33 "MHD_USE_POSIX_THREADS=1",
34 ]
35 }
36 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | third_party/libmicrohttpd/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698