• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 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
5component("mozilla") {
6  sources = [
7    "ComplexTextInputPanel.h",
8    "ComplexTextInputPanel.mm",
9    "MozillaExport.h",
10    "NSPasteboard+Utils.h",
11    "NSPasteboard+Utils.mm",
12    "NSScreen+Utils.h",
13    "NSScreen+Utils.m",
14    "NSString+Utils.h",
15    "NSString+Utils.mm",
16    "NSURL+Utils.h",
17    "NSURL+Utils.m",
18    "NSWorkspace+Utils.h",
19    "NSWorkspace+Utils.m",
20  ]
21
22  defines = [
23    "MOZILLA_IMPLEMENTATION",
24  ]
25
26  deps = [
27    "//url",
28  ]
29
30  if (is_component_build && (is_mac || is_ios)) {
31    # Needed to link to Obj-C static libraries.
32    ldflags = [ "-Wl,-ObjC" ]
33  }
34}
35