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

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

Issue 9254033: xcode emulation for make: Adjust .a and .dylib entries in 'libraries'. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: '' Created 8 years, 11 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
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',
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 'xcode_settings': {
55 'LIBRARY_SEARCH_PATHS': [
56 '<(DEPTH)/secret_location',
57 ],
58 },
59 'link_settings': {
60 'libraries': [
61 'libmysecretlib.a',
62 ],
63 },
64 },
65 ],
66 }
OLDNEW
« test/mac/libraries/subdir/hello.cc ('K') | « test/mac/libraries/subdir/mylib.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698