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 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 Loading... |
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 Loading... |
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 } |
OLD | NEW |