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", | |
8 "ComplexTextInputPanel.mm", | |
9 "MozillaExport.h", | 7 "MozillaExport.h", |
10 "NSPasteboard+Utils.h", | 8 "NSPasteboard+Utils.h", |
11 "NSPasteboard+Utils.mm", | 9 "NSPasteboard+Utils.mm", |
12 "NSScreen+Utils.h", | 10 "NSScreen+Utils.h", |
13 "NSScreen+Utils.m", | 11 "NSScreen+Utils.m", |
14 "NSString+Utils.h", | 12 "NSString+Utils.h", |
15 "NSString+Utils.mm", | 13 "NSString+Utils.mm", |
16 "NSURL+Utils.h", | 14 "NSURL+Utils.h", |
17 "NSURL+Utils.m", | 15 "NSURL+Utils.m", |
18 "NSWorkspace+Utils.h", | 16 "NSWorkspace+Utils.h", |
19 "NSWorkspace+Utils.m", | 17 "NSWorkspace+Utils.m", |
20 ] | 18 ] |
21 | 19 |
22 defines = [ "MOZILLA_IMPLEMENTATION" ] | 20 defines = [ "MOZILLA_IMPLEMENTATION" ] |
23 | 21 |
24 deps = [ | 22 deps = [ |
25 "//base", | 23 "//base", |
26 "//url", | 24 "//url", |
27 ] | 25 ] |
28 | 26 |
29 if (is_component_build && (is_mac || is_ios)) { | 27 if (is_component_build && (is_mac || is_ios)) { |
30 # Needed to link to Obj-C static libraries. | 28 # Needed to link to Obj-C static libraries. |
31 ldflags = [ "-Wl,-ObjC" ] | 29 ldflags = [ "-Wl,-ObjC" ] |
32 } | 30 } |
33 } | 31 } |
OLD | NEW |