Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: third_party/widevine/cdm/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | tools/android/forwarder2/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//chrome/version.gni") # TODO layering violation 7 import("//chrome/version.gni") # TODO layering violation
8 import("//media/cdm/ppapi/cdm_adapter.gni") 8 import("//media/cdm/ppapi/cdm_adapter.gni")
9 import("//third_party/widevine/cdm/widevine.gni") 9 import("//third_party/widevine/cdm/widevine.gni")
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 sources = [ 80 sources = [
81 "//media/cdm/stub/stub_cdm.cc", 81 "//media/cdm/stub/stub_cdm.cc",
82 "//media/cdm/stub/stub_cdm.h", 82 "//media/cdm/stub/stub_cdm.h",
83 ] 83 ]
84 84
85 defines = [ "CDM_IMPLEMENTATION" ] 85 defines = [ "CDM_IMPLEMENTATION" ]
86 86
87 deps = [ 87 deps = [
88 ":version_h", 88 ":version_h",
89 "//base", 89 "//base",
90 "//build/config/sanitizers:deps",
90 ] 91 ]
91 92
92 if (is_mac) { 93 if (is_mac) {
93 ldflags = [ 94 ldflags = [
94 # Not to strip important symbols by -Wl,-dead_strip. 95 # Not to strip important symbols by -Wl,-dead_strip.
95 "-Wl,-exported_symbol,_PPP_GetInterface", 96 "-Wl,-exported_symbol,_PPP_GetInterface",
96 "-Wl,-exported_symbol,_PPP_InitializeModule", 97 "-Wl,-exported_symbol,_PPP_InitializeModule",
97 "-Wl,-exported_symbol,_PPP_ShutdownModule", 98 "-Wl,-exported_symbol,_PPP_ShutdownModule",
98 ] 99 ]
99 #TODO(jrummell) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 100 #TODO(jrummell) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 # on the license server. 152 # on the license server.
152 source_set("widevine_test_license_server") { 153 source_set("widevine_test_license_server") {
153 if (is_chrome_branded && is_linux) { 154 if (is_chrome_branded && is_linux) {
154 deps = [ 155 deps = [
155 # TODO(jrummell) 156 # TODO(jrummell)
156 # This target should be removed and targets should have datadeps on this t arget: 157 # This target should be removed and targets should have datadeps on this t arget:
157 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server" 158 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen se_server"
158 ] 159 ]
159 } 160 }
160 } 161 }
OLDNEW
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | tools/android/forwarder2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698