• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        'ComplexTextInputPanel.h',
12        'ComplexTextInputPanel.mm',
13        'MozillaExport.h',
14        'NSPasteboard+Utils.h',
15        'NSPasteboard+Utils.mm',
16        'NSScreen+Utils.h',
17        'NSScreen+Utils.m',
18        'NSString+Utils.h',
19        'NSString+Utils.mm',
20        'NSURL+Utils.h',
21        'NSURL+Utils.m',
22        'NSWorkspace+Utils.h',
23        'NSWorkspace+Utils.m',
24      ],
25      'defines': [
26        'MOZILLA_IMPLEMENTATION',
27      ],
28      'link_settings': {
29        'libraries': [
30          '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
31        ],
32      },
33      'dependencies': [
34        '../../url/url.gyp:url_lib',
35      ],
36      'conditions': [
37        ['component=="shared_library"',
38          {
39            # Needed to link to Obj-C static libraries.
40            'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
41          }
42        ],
43      ],
44    },
45  ],
46}
47