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/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 "media_file_checker.cc", | 187 "media_file_checker.cc", |
188 "media_file_checker.h", | 188 "media_file_checker.h", |
189 ] | 189 ] |
190 deps += [ "//third_party/ffmpeg" ] | 190 deps += [ "//third_party/ffmpeg" ] |
191 } | 191 } |
192 | 192 |
193 if (enable_browser_cdms) { | 193 if (enable_browser_cdms) { |
194 sources += [ | 194 sources += [ |
195 "browser_cdm.cc", | 195 "browser_cdm.cc", |
196 "browser_cdm.h", | 196 "browser_cdm.h", |
| 197 "browser_cdm_factory.cc", |
197 "browser_cdm_factory.h", | 198 "browser_cdm_factory.h", |
198 ] | 199 ] |
199 } | 200 } |
200 | 201 |
201 if (is_android) { | 202 if (is_android) { |
202 sources += [ "media_stub.cc" ] | 203 sources += [ "media_stub.cc" ] |
203 } else if (is_win) { | 204 } else if (is_win) { |
204 sources += [ "media_win.cc" ] | 205 sources += [ "media_win.cc" ] |
205 } else if (is_posix) { | 206 } else if (is_posix) { |
206 sources += [ "media_posix.cc" ] | 207 sources += [ "media_posix.cc" ] |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 if (is_posix) { | 456 if (is_posix) { |
456 yasm_flags += [ "-DELF" ] | 457 yasm_flags += [ "-DELF" ] |
457 if (cpu_arch == "x64") { | 458 if (cpu_arch == "x64") { |
458 # TODO(ajwong): Why isn't this true in mac? | 459 # TODO(ajwong): Why isn't this true in mac? |
459 yasm_flags += [ "-DPIC" ] | 460 yasm_flags += [ "-DPIC" ] |
460 } | 461 } |
461 } | 462 } |
462 } | 463 } |
463 } | 464 } |
464 } | 465 } |
OLD | NEW |