| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |