OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 component("mozilla") { | 5 component("mozilla") { |
6 sources = [ | 6 sources = [ |
7 "ComplexTextInputPanel.h", | 7 "ComplexTextInputPanel.h", |
8 "ComplexTextInputPanel.mm", | 8 "ComplexTextInputPanel.mm", |
9 "MozillaExport.h", | 9 "MozillaExport.h", |
10 "NSPasteboard+Utils.h", | 10 "NSPasteboard+Utils.h", |
11 "NSPasteboard+Utils.mm", | 11 "NSPasteboard+Utils.mm", |
12 "NSScreen+Utils.h", | 12 "NSScreen+Utils.h", |
13 "NSScreen+Utils.m", | 13 "NSScreen+Utils.m", |
14 "NSString+Utils.h", | 14 "NSString+Utils.h", |
15 "NSString+Utils.mm", | 15 "NSString+Utils.mm", |
16 "NSURL+Utils.h", | 16 "NSURL+Utils.h", |
17 "NSURL+Utils.m", | 17 "NSURL+Utils.m", |
18 "NSWorkspace+Utils.h", | 18 "NSWorkspace+Utils.h", |
19 "NSWorkspace+Utils.m", | 19 "NSWorkspace+Utils.m", |
20 ] | 20 ] |
21 | 21 |
22 defines = [ "MOZILLA_IMPLEMENTATION" ] | 22 defines = [ "MOZILLA_IMPLEMENTATION" ] |
23 | 23 |
24 deps = [ | 24 deps = [ |
| 25 "//base", |
25 "//url", | 26 "//url", |
26 ] | 27 ] |
27 | 28 |
28 if (is_component_build && (is_mac || is_ios)) { | 29 if (is_component_build && (is_mac || is_ios)) { |
29 # Needed to link to Obj-C static libraries. | 30 # Needed to link to Obj-C static libraries. |
30 ldflags = [ "-Wl,-ObjC" ] | 31 ldflags = [ "-Wl,-ObjC" ] |
31 } | 32 } |
32 } | 33 } |
OLD | NEW |