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/ppapi_cdm_adapter.gni") | 8 import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") |
9 import("//third_party/widevine/cdm/widevine.gni") | 9 import("//third_party/widevine/cdm/widevine.gni") |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 sources = [ | 118 sources = [ |
119 "BRANDING", | 119 "BRANDING", |
120 "widevinecdmadapter.ver", | 120 "widevinecdmadapter.ver", |
121 ] | 121 ] |
122 output = "$target_gen_dir/widevinecdmadapter_version.rc" | 122 output = "$target_gen_dir/widevinecdmadapter_version.rc" |
123 } | 123 } |
124 | 124 |
125 ppapi_cdm_adapter("widevinecdmadapter") { | 125 ppapi_cdm_adapter("widevinecdmadapter") { |
126 defines = [] | 126 defines = [] |
127 deps = [ | 127 deps = [ |
| 128 ":version_h", |
| 129 ":widevinecdm", |
128 ":widevinecdmadapter_resources", | 130 ":widevinecdmadapter_resources", |
129 ":widevinecdm", | |
130 ":version_h", | |
131 "//ppapi/cpp", | 131 "//ppapi/cpp", |
132 ] | 132 ] |
133 | 133 |
134 if (is_linux) { | 134 if (is_linux) { |
135 ldflags = | 135 ldflags = |
136 [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ] | 136 [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ] |
137 libs = [ "rt" ] | 137 libs = [ "rt" ] |
138 } else if (is_win) { | 138 } else if (is_win) { |
139 ldflags = | 139 ldflags = |
140 [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ] | 140 [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ] |
(...skipping 12 matching lines...) Expand all Loading... |
153 # on the license server. | 153 # on the license server. |
154 source_set("widevine_test_license_server") { | 154 source_set("widevine_test_license_server") { |
155 if (is_chrome_branded && is_linux) { | 155 if (is_chrome_branded && is_linux) { |
156 deps = [ | 156 deps = [ |
157 # TODO(jrummell) | 157 # TODO(jrummell) |
158 # This target should be removed and targets should have data_deps on this
target: | 158 # This target should be removed and targets should have data_deps on this
target: |
159 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" | 159 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" |
160 ] | 160 ] |
161 } | 161 } |
162 } | 162 } |
OLD | NEW |