| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//chrome/version.gni") # TODO layering violation! | 6 import("//chrome/version.gni") # TODO layering violation! |
| 7 import("//media/cdm/ppapi/cdm_paths.gni") | 7 import("//media/cdm/ppapi/cdm_paths.gni") |
| 8 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") | 8 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 | 10 |
| 11 # The GYP version supports build flags "use_fake_video_decoder" and | |
| 12 # "use_vpx". These should be added here if necessary but its not clear if | |
| 13 # they are required any more. | |
| 14 shared_library("clearkeycdm") { | 11 shared_library("clearkeycdm") { |
| 15 output_dir = "$root_out_dir/$clearkey_cdm_path" | 12 output_dir = "$root_out_dir/$clearkey_cdm_path" |
| 16 sources = [ | 13 sources = [ |
| 17 "cdm_file_io_test.cc", | 14 "cdm_file_io_test.cc", |
| 18 "cdm_file_io_test.h", | 15 "cdm_file_io_test.h", |
| 19 "external_clear_key/cdm_video_decoder.cc", | 16 "external_clear_key/cdm_video_decoder.cc", |
| 20 "external_clear_key/cdm_video_decoder.h", | 17 "external_clear_key/cdm_video_decoder.h", |
| 21 "external_clear_key/clear_key_cdm.cc", | 18 "external_clear_key/clear_key_cdm.cc", |
| 22 "external_clear_key/clear_key_cdm.h", | 19 "external_clear_key/clear_key_cdm.h", |
| 23 "external_clear_key/clear_key_cdm_common.h", | 20 "external_clear_key/clear_key_cdm_common.h", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 # Check whether the plugin's origin URL is valid. | 66 # Check whether the plugin's origin URL is valid. |
| 70 defines = [ "CHECK_DOCUMENT_URL" ] | 67 defines = [ "CHECK_DOCUMENT_URL" ] |
| 71 deps = [ | 68 deps = [ |
| 72 ":clearkeycdm", | 69 ":clearkeycdm", |
| 73 ":clearkeycdmadapter_resources", | 70 ":clearkeycdmadapter_resources", |
| 74 "//base", # Required for the allocator implementation. | 71 "//base", # Required for the allocator implementation. |
| 75 "//media:shared_memory_support", | 72 "//media:shared_memory_support", |
| 76 "//ui/gfx/geometry", | 73 "//ui/gfx/geometry", |
| 77 ] | 74 ] |
| 78 } | 75 } |
| OLD | NEW |