Update mojo sdk to rev d459e688a608f6eda850a23bb5e308a76ea51a47
[chromium-blink-merge.git] / third_party / mozilla / BUILD.gn
blob8c21b728dc45bd298858a32d73bf450ade62d925
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.
5 component("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   ]
22   defines = [ "MOZILLA_IMPLEMENTATION" ]
24   deps = [
25     "//url",
26   ]
28   if (is_component_build && (is_mac || is_ios)) {
29     # Needed to link to Obj-C static libraries.
30     ldflags = [ "-Wl,-ObjC" ]
31   }