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

Side by Side Diff: test/mac/library_dirs/subdir/test.gyp

Issue 10749020: Adds support for the library_dirs key, which appears in the documentation but was never actually im… (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« pylib/gyp/input.py ('K') | « test/mac/library_dirs/subdir/mylib.c ('k') | 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
(Empty)
1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'libraries-test',
9 'type': 'executable',
10 'sources': [
11 'hello.cc',
12 ],
13 'link_settings': {
14 'libraries': [
15 'libcrypto.dylib',
16 'libfl.a',
17 ],
18 },
19 },
20 {
21 # This creates a static library and puts it in a nonstandard location for
22 # libraries-search-path-test.
23 'target_name': 'mylib',
24 'type': 'static_library',
25 'sources': [
26 'mylib.c',
27 ],
28 'postbuilds': [
29 {
30 'postbuild_name': 'Make a secret location',
31 'action': [
32 'mkdir',
33 '-p',
34 '${SRCROOT}/../secret_location',
Mark Mentovai 2012/07/17 19:58:34 Dumping stuff into the source tree is bad news. Ca
Brian Ellis 2012/07/17 20:26:52 Hm, most of this is copied directly from test/mac/
35 ],
36 },
37 {
38 'postbuild_name': 'Copy to secret location, with secret name',
39 'action': [
40 'cp',
41 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}',
42 '${SRCROOT}/../secret_location/libmysecretlib.a',
43 ],
44 },
45 ],
46 },
47 {
48 'target_name': 'libraries-search-path-test',
49 'type': 'executable',
50 'dependencies': [ 'mylib' ],
51 'sources': [
52 'hello.cc',
53 ],
54 'library_dirs': [
55 'secret_location',
56 ],
57 'link_settings': {
58 'libraries': [
59 'libmysecretlib.a',
60 ],
61 },
62 },
63 ],
64 }
OLDNEW
« pylib/gyp/input.py ('K') | « test/mac/library_dirs/subdir/mylib.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698