diff options
author | tfarina <tfarina@chromium.org> | 2014-08-29 09:29:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-29 16:36:50 +0000 |
commit | a3affc00ced053e2013464fbcd2431cc6e05e23d (patch) | |
tree | f014b357b52cbff587496d3724898e047a9a213f /third_party/mozilla | |
parent | 6e7e5edc6f6d817ed219a5683b6829291969d2a8 (diff) | |
download | chromium_src-a3affc00ced053e2013464fbcd2431cc6e05e23d.zip chromium_src-a3affc00ced053e2013464fbcd2431cc6e05e23d.tar.gz chromium_src-a3affc00ced053e2013464fbcd2431cc6e05e23d.tar.bz2 |
Some ui/BUILD.gn fixes.
This fixes some TODOs in ui/BUILD.gn and add GN build file for
third_party/mozilla.
BUG=None
TEST=None
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/521553002
Cr-Commit-Position: refs/heads/master@{#292649}
Diffstat (limited to 'third_party/mozilla')
-rw-r--r-- | third_party/mozilla/BUILD.gn | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/third_party/mozilla/BUILD.gn b/third_party/mozilla/BUILD.gn new file mode 100644 index 0000000..ca41a3d --- /dev/null +++ b/third_party/mozilla/BUILD.gn @@ -0,0 +1,34 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +component("mozilla") { + sources = [ + "ComplexTextInputPanel.h", + "ComplexTextInputPanel.mm", + "MozillaExport.h", + "NSPasteboard+Utils.h", + "NSPasteboard+Utils.mm", + "NSScreen+Utils.h", + "NSScreen+Utils.m", + "NSString+Utils.h", + "NSString+Utils.mm", + "NSURL+Utils.h", + "NSURL+Utils.m", + "NSWorkspace+Utils.h", + "NSWorkspace+Utils.m", + ] + + defines = [ + "MOZILLA_IMPLEMENTATION", + ] + + deps = [ + "//url", + ] + + if (is_component_build && (is_mac || is_ios)) { + # Needed to link to Obj-C static libraries. + ldflags = [ "-Wl,-ObjC" ] + } +} |