summaryrefslogtreecommitdiffstats
path: root/content/test/BUILD.gn
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 /content/test/BUILD.gn
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 'content/test/BUILD.gn')
-rw-r--r--content/test/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index 9d92c88..64cf6b4 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -221,6 +221,13 @@ if (!is_ios) {
if (is_android) {
deps += [ ":jni" ]
}
+
+ if (!enable_webrtc) {
+ sources -= [
+ "test_media_stream_renderer_factory.cc",
+ "test_media_stream_renderer_factory.h",
+ ]
+ }
}
if (is_android) {
@@ -274,11 +281,11 @@ if (!is_mac) {
"//ppapi:ppapi_ipc",
"//ppapi:ppapi_proxy",
"//ppapi:ppapi_shared",
-
"//third_party/mojo/src/mojo/edk/system",
"//third_party/mojo/src/mojo/edk/test:test_support",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//third_party/mojo/src/mojo/public/js",
+
#"//ppapi:ppapi_tests", TODO(GYP)
#"//ppapi:ppapi_unittest_shared", TODO(GYP)
"//testing/gmock",