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

Side by Side Diff: third_party/widevine/cdm/BUILD.gn

Issue 1862543002: media: Fix gn deps on media/ targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: source_set Created 4 years, 8 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
« media/BUILD.gn ('K') | « media/cdm/ppapi/ppapi_cdm_adapter.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
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", 128 ":version_h",
129 ":widevinecdm", 129 ":widevinecdm",
130 ":widevinecdmadapter_resources", 130 ":widevinecdmadapter_resources",
131 "//ppapi/cpp",
132 ] 131 ]
133 132
134 if (is_linux) { 133 if (is_linux) {
135 ldflags = 134 ldflags =
136 [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ] 135 [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ]
137 } else if (is_win) { 136 } else if (is_win) {
138 ldflags = 137 ldflags =
139 [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ] 138 [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ]
140 } else if (is_mac) { 139 } else if (is_mac) {
141 ldflags = 140 ldflags =
(...skipping 10 matching lines...) Expand all
152 # on the license server. 151 # on the license server.
153 source_set("widevine_test_license_server") { 152 source_set("widevine_test_license_server") {
154 if (is_chrome_branded && is_linux) { 153 if (is_chrome_branded && is_linux) {
155 deps = [ 154 deps = [
156 # TODO(jrummell) 155 # TODO(jrummell)
157 # This target should be removed and targets should have data_deps on this target: 156 # This target should be removed and targets should have data_deps on this target:
158 #"//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"
159 ] 158 ]
160 } 159 }
161 } 160 }
OLDNEW
« media/BUILD.gn ('K') | « media/cdm/ppapi/ppapi_cdm_adapter.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698