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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } else { | 106 } else { |
107 group("widevinecdm") { | 107 group("widevinecdm") { |
108 # NOP | 108 # NOP |
109 } | 109 } |
110 } | 110 } |
111 | 111 |
112 if ((is_chrome_branded || enable_widevine) && enable_pepper_cdms) { | 112 if ((is_chrome_branded || enable_widevine) && enable_pepper_cdms) { |
113 # Produce and compile the .rc file. | 113 # Produce and compile the .rc file. |
114 process_version("widevinecdmadapter_resources") { | 114 process_version("widevinecdmadapter_resources") { |
115 visibility = [ ":*" ] | 115 visibility = [ ":*" ] |
| 116 template_file = chrome_version_rc_template |
116 sources = [ | 117 sources = [ |
117 "BRANDING", | 118 "BRANDING", |
118 "widevinecdmadapter.ver", | 119 "widevinecdmadapter.ver", |
119 ] | 120 ] |
120 output = "$target_gen_dir/widevinecdmadapter_version.rc" | 121 output = "$target_gen_dir/widevinecdmadapter_version.rc" |
121 } | 122 } |
122 | 123 |
123 cdm_adapter("widevinecdmadapter") { | 124 cdm_adapter("widevinecdmadapter") { |
124 deps = [ | 125 deps = [ |
125 ":widevinecdmadapter_resources", | 126 ":widevinecdmadapter_resources", |
(...skipping 24 matching lines...) Expand all Loading... |
150 # on the license server. | 151 # on the license server. |
151 source_set("widevine_test_license_server") { | 152 source_set("widevine_test_license_server") { |
152 if (is_chrome_branded && is_linux) { | 153 if (is_chrome_branded && is_linux) { |
153 deps = [ | 154 deps = [ |
154 # TODO(jrummell) | 155 # TODO(jrummell) |
155 # This target should be removed and targets should have datadeps on this t
arget: | 156 # This target should be removed and targets should have datadeps on this t
arget: |
156 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" | 157 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" |
157 ] | 158 ] |
158 } | 159 } |
159 } | 160 } |
OLD | NEW |