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

Side by Side Diff: gyp/microhttpd.gyp

Issue 1628363002: Build and link microhttpd from gyp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: spaces Created 4 years, 10 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 | « no previous file | gyp/skiaserve.gyp » ('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 # A simple gyp file to generate microhttpd for internal purposes
6 # most of the work(configure and make) is performed in a python script
7 {
8 'targets': [
9 {
10 'target_name': 'microhttpd',
11 'type': 'static_library',
12 'variables': {
13 'base_dir%': '../third_party/libmicrohttpd',
14 'src_dir%': '../third_party/externals/microhttpd',
15 },
16 'direct_dependent_settings': {
17 'include_dirs': [
18 '<(src_dir)/src/include',
19 ],
20 # for reasons I can't quite fathom, we need the below line to trigger
21 # a link
22 'libraries': [
23 'libmicrohttpd.a',
24 ],
25 },
26 'actions': [
27 {
28 'action_name': 'configure_and_build',
29 'inputs': [
30 '<(PRODUCT_DIR)/',
31 ],
32 'outputs': [ '<(PRODUCT_DIR)/libmicrohttpd.a' ],
33 'action': [
34 'python',
35 '<(base_dir)/build.py',
36 '--src', '<(src_dir)',
37 '--dst', '<(PRODUCT_DIR)',
38 ],
39 },
40 ],
41 },
42 ],
43 }
OLDNEW
« no previous file with comments | « no previous file | gyp/skiaserve.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698