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

Side by Side Diff: media/cdm/ppapi/BUILD.gn

Issue 1957643002: media: Move widevine CDM targets to WidevineCdm folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 7 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
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/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/ppapi_cdm_adapter.gni") 7 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 9
10 # The GYP version supports build flags "use_fake_video_decoder" and 10 # The GYP version supports build flags "use_fake_video_decoder" and
11 # "use_vpx". These should be added here if necessary but its not clear if 11 # "use_vpx". These should be added here if necessary but its not clear if
12 # they are required any more. 12 # they are required any more.
13 shared_library("clearkeycdm") { 13 shared_library("clearkeycdm") {
14 output_dir = "$root_out_dir/ClearKeyCdm"
14 sources = [ 15 sources = [
15 "cdm_file_io_test.cc", 16 "cdm_file_io_test.cc",
16 "cdm_file_io_test.h", 17 "cdm_file_io_test.h",
17 "external_clear_key/cdm_video_decoder.cc", 18 "external_clear_key/cdm_video_decoder.cc",
18 "external_clear_key/cdm_video_decoder.h", 19 "external_clear_key/cdm_video_decoder.h",
19 "external_clear_key/clear_key_cdm.cc", 20 "external_clear_key/clear_key_cdm.cc",
20 "external_clear_key/clear_key_cdm.h", 21 "external_clear_key/clear_key_cdm.h",
21 "external_clear_key/clear_key_cdm_common.h", 22 "external_clear_key/clear_key_cdm_common.h",
22 ] 23 ]
23 24
(...skipping 28 matching lines...) Expand all
52 visibility = [ ":*" ] 53 visibility = [ ":*" ]
53 template_file = chrome_version_rc_template 54 template_file = chrome_version_rc_template
54 sources = [ 55 sources = [
55 "//media/clearkeycdmadapter.ver", 56 "//media/clearkeycdmadapter.ver",
56 "external_clear_key/BRANDING", 57 "external_clear_key/BRANDING",
57 ] 58 ]
58 output = "$target_gen_dir/clearkeycdmadapter_version.rc" 59 output = "$target_gen_dir/clearkeycdmadapter_version.rc"
59 } 60 }
60 61
61 ppapi_cdm_adapter("clearkeycdmadapter") { 62 ppapi_cdm_adapter("clearkeycdmadapter") {
63 output_dir = "$root_out_dir/ClearKeyCdm"
64
62 # Check whether the plugin's origin URL is valid. 65 # Check whether the plugin's origin URL is valid.
63 defines = [ "CHECK_DOCUMENT_URL" ] 66 defines = [ "CHECK_DOCUMENT_URL" ]
64 deps = [ 67 deps = [
65 ":clearkeycdm", 68 ":clearkeycdm",
66 ":clearkeycdmadapter_resources", 69 ":clearkeycdmadapter_resources",
67 "//base", # Required for the allocator implementation. 70 "//base", # Required for the allocator implementation.
68 ] 71 ]
69 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698