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/process_version_rc_template.gni") | 7 import("//chrome/process_version_rc_template.gni") |
8 import("//media/cdm/ppapi/cdm_paths.gni") | 8 import("//media/cdm/ppapi/cdm_paths.gni") |
9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") | 9 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") |
10 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "//media/cdm/stub/stub_cdm.cc", | 112 "//media/cdm/stub/stub_cdm.cc", |
113 "//media/cdm/stub/stub_cdm.h", | 113 "//media/cdm/stub/stub_cdm.h", |
114 ] | 114 ] |
115 | 115 |
116 defines = [ "CDM_IMPLEMENTATION" ] | 116 defines = [ "CDM_IMPLEMENTATION" ] |
117 | 117 |
118 deps = [ | 118 deps = [ |
119 ":version_h", | 119 ":version_h", |
120 ":copy_widevinecdm", | 120 ":copy_widevinecdm", |
121 "//base", | 121 "//base", |
122 "//build/config/sanitizers:deps", | 122 "//build/config:exe_and_shlib_deps", |
123 ] | 123 ] |
124 | 124 |
125 public_deps = [ ":copy_widevinecdm" ] | 125 public_deps = [ ":copy_widevinecdm" ] |
126 cflags = [ "-fvisibility=hidden" ] | 126 cflags = [ "-fvisibility=hidden" ] |
127 } | 127 } |
128 } else if (widevine_cdm_binary_files != []) { | 128 } else if (widevine_cdm_binary_files != []) { |
129 copy("widevinecdm") { | 129 copy("widevinecdm") { |
130 sources = widevine_cdm_binary_files | 130 sources = widevine_cdm_binary_files |
131 outputs = [ | 131 outputs = [ |
132 "$root_out_dir/$widevine_cdm_path/{{source_file_part}}", | 132 "$root_out_dir/$widevine_cdm_path/{{source_file_part}}", |
(...skipping 10 matching lines...) Expand all Loading... |
143 sources = [ | 143 sources = [ |
144 "//media/cdm/stub/stub_cdm.cc", | 144 "//media/cdm/stub/stub_cdm.cc", |
145 "//media/cdm/stub/stub_cdm.h", | 145 "//media/cdm/stub/stub_cdm.h", |
146 ] | 146 ] |
147 | 147 |
148 defines = [ "CDM_IMPLEMENTATION" ] | 148 defines = [ "CDM_IMPLEMENTATION" ] |
149 | 149 |
150 deps = [ | 150 deps = [ |
151 ":version_h", | 151 ":version_h", |
152 "//base", | 152 "//base", |
153 "//build/config/sanitizers:deps", | 153 "//build/config:exe_and_shlib_deps", |
154 ] | 154 ] |
155 | 155 |
156 if (is_mac) { | 156 if (is_mac) { |
157 ldflags = [ | 157 ldflags = [ |
158 # Not to strip important symbols by -Wl,-dead_strip. | 158 # Not to strip important symbols by -Wl,-dead_strip. |
159 "-Wl,-exported_symbol,_PPP_GetInterface", | 159 "-Wl,-exported_symbol,_PPP_GetInterface", |
160 "-Wl,-exported_symbol,_PPP_InitializeModule", | 160 "-Wl,-exported_symbol,_PPP_InitializeModule", |
161 "-Wl,-exported_symbol,_PPP_ShutdownModule", | 161 "-Wl,-exported_symbol,_PPP_ShutdownModule", |
162 ] | 162 ] |
163 #TODO(jrummell) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 163 #TODO(jrummell) Mac: 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 "../scripts/signer.py", | 247 "../scripts/signer.py", |
248 ] | 248 ] |
249 outputs = [ | 249 outputs = [ |
250 "$root_out_dir/installer/widevine/{{source_file_part}}", | 250 "$root_out_dir/installer/widevine/{{source_file_part}}", |
251 ] | 251 ] |
252 } | 252 } |
253 } else { | 253 } else { |
254 group("widevine_signature_scripts") { | 254 group("widevine_signature_scripts") { |
255 } | 255 } |
256 } | 256 } |
OLD | NEW |