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

Side by Side Diff: gyp/microhttpd.gyp

Issue 1775203002: Add SkDrawPosTextHCommand JSON, fix skiaserve build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix position count, always define target. 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 | « gyp/json.gyp ('k') | gyp/most.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 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': 'static_library', 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 'src_dir%': '../third_party/externals/microhttpd', 15 'src_dir%': '../third_party/externals/microhttpd',
15 }, 16 },
16 'direct_dependent_settings': { 17 'direct_dependent_settings': {
17 'include_dirs': [ 18 'include_dirs': [
18 '<(src_dir)/src/include', 19 '<(src_dir)/src/include',
19 ], 20 ],
20 # for reasons I can't quite fathom, we need the below line to trigger 21 # Link the built library to dependents.
21 # a link
22 'libraries': [ 22 'libraries': [
23 'libmicrohttpd.a', 23 '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 '<(PRODUCT_DIR)/', 30 '<(base_dir)/build.py',
31 '<(src_dir)/.git/HEAD', # This does not support local changes, but d oes support DEPS.
31 ], 32 ],
32 'outputs': [ '<(PRODUCT_DIR)/libmicrohttpd.a' ], 33 'outputs': [ '<(PRODUCT_DIR)/libmicrohttpd.a' ],
33 'action': [ 34 'action': [
34 'python', 35 'python',
35 '<(base_dir)/build.py', 36 '<(base_dir)/build.py',
36 '--src', '<(src_dir)', 37 '--src', '<(src_dir)',
38 '--out', '<(out_dir)',
37 '--dst', '<(PRODUCT_DIR)', 39 '--dst', '<(PRODUCT_DIR)',
38 ], 40 ],
39 }, 41 },
40 ], 42 ],
41 }, 43 },
42 ], 44 ],
43 } 45 }
OLDNEW
« no previous file with comments | « gyp/json.gyp ('k') | gyp/most.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698