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

Side by Side Diff: gyp/microhttpd.gyp

Issue 1777573005: Fully specify libmicrohttpd.a path in build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # A simple gyp file to generate microhttpd for internal purposes 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 6 # most of the work(configure and make) is performed in a python script
7 { 7 {
8 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'microhttpd', 10 'target_name': 'microhttpd',
11 'type': 'none', 11 'type': 'none',
12 'variables': { 12 'variables': {
13 'base_dir%': '../third_party/libmicrohttpd', 13 'base_dir%': '../third_party/libmicrohttpd',
14 'out_dir%': '<(INTERMEDIATE_DIR)/build', 14 'out_dir%': '<(INTERMEDIATE_DIR)/build',
15 'src_dir%': '../third_party/externals/microhttpd', 15 'src_dir%': '../third_party/externals/microhttpd',
16 }, 16 },
17 'direct_dependent_settings': { 17 'direct_dependent_settings': {
18 'include_dirs': [ 18 'include_dirs': [
19 '<(src_dir)/src/include', 19 '<(src_dir)/src/include',
20 ], 20 ],
21 # Link the built library to dependents. 21 # Link the built library to dependents.
22 'libraries': [ 22 'libraries': [
23 'libmicrohttpd.a', 23 '<(PRODUCT_DIR)/libmicrohttpd.a',
24 ], 24 ],
25 }, 25 },
26 'actions': [ 26 'actions': [
27 { 27 {
28 'action_name': 'configure_and_build', 28 'action_name': 'configure_and_build',
29 'inputs': [ 29 'inputs': [
30 '<(base_dir)/build.py', 30 '<(base_dir)/build.py',
31 '<(src_dir)/.git/HEAD', # This does not support local changes, but d oes support DEPS. 31 '<(src_dir)/.git/HEAD', # This does not support local changes, but d oes support DEPS.
32 ], 32 ],
33 'outputs': [ '<(PRODUCT_DIR)/libmicrohttpd.a' ], 33 'outputs': [ '<(PRODUCT_DIR)/libmicrohttpd.a' ],
34 'action': [ 34 'action': [
35 'python', 35 'python',
36 '<(base_dir)/build.py', 36 '<(base_dir)/build.py',
37 '--src', '<(src_dir)', 37 '--src', '<(src_dir)',
38 '--out', '<(out_dir)', 38 '--out', '<(out_dir)',
39 '--dst', '<(PRODUCT_DIR)', 39 '--dst', '<(PRODUCT_DIR)',
40 ], 40 ],
41 }, 41 },
42 ], 42 ],
43 }, 43 },
44 ], 44 ],
45 } 45 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698