OLD | NEW |
| (Empty) |
1 # Copyright 2013 The Chromium Authors. 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': 'mozilla', | |
9 'type': '<(component)', | |
10 'sources': [ | |
11 'MozillaExport.h', | |
12 'NSPasteboard+Utils.h', | |
13 'NSPasteboard+Utils.mm', | |
14 'NSScreen+Utils.h', | |
15 'NSScreen+Utils.m', | |
16 'NSString+Utils.h', | |
17 'NSString+Utils.mm', | |
18 'NSURL+Utils.h', | |
19 'NSURL+Utils.m', | |
20 'NSWorkspace+Utils.h', | |
21 'NSWorkspace+Utils.m', | |
22 ], | |
23 'defines': [ | |
24 'MOZILLA_IMPLEMENTATION', | |
25 ], | |
26 'link_settings': { | |
27 'libraries': [ | |
28 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | |
29 ], | |
30 }, | |
31 'dependencies': [ | |
32 '../../base/base.gyp:base', | |
33 '../../url/url.gyp:url_lib', | |
34 ], | |
35 'conditions': [ | |
36 ['component=="shared_library"', | |
37 { | |
38 # Needed to link to Obj-C static libraries. | |
39 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | |
40 } | |
41 ], | |
42 ], | |
43 }, | |
44 ], | |
45 } | |
OLD | NEW |