summaryrefslogtreecommitdiffstats
path: root/ui/android
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2015-01-21 04:40:00 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-21 12:40:49 +0000
commit4359db72cde4fe4eeb4125d9a88af765fcdf39f1 (patch)
tree35ac4bdfde7715ef6b816666c4904d904544573f /ui/android
parent6f4aa7e2069231cbe49995c87aab66c807de2926 (diff)
downloadchromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.zip
chromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.tar.gz
chromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.tar.bz2
GN: Add -Wl,-z defs on linux and fix errors
This tells the linker to resolve symbols for shared libraries at build time, not run time. This alerts developers much earlier that their dependencies are underspecified. BUG=371125 Review URL: https://codereview.chromium.org/843583006 Cr-Commit-Position: refs/heads/master@{#312317}
Diffstat (limited to 'ui/android')
-rw-r--r--ui/android/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/android/BUILD.gn b/ui/android/BUILD.gn
index f74ba7e..e496cb9 100644
--- a/ui/android/BUILD.gn
+++ b/ui/android/BUILD.gn
@@ -1,3 +1,7 @@
+# Copyright 2015 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.
+
import("//build/config/android/rules.gni")
assert(is_android)
@@ -22,6 +26,7 @@ component("android") {
defines = [ "UI_ANDROID_IMPLEMENTATION" ]
deps = [
+ "//base",
"//cc",
"//skia",
"//ui/gfx",