| 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 widevine_arch = cpu_arch | 5 widevine_arch = cpu_arch |
| 6 if (widevine_arch == "x86") { | 6 if (widevine_arch == "x86") { |
| 7 widevine_arch = "ia32" | 7 widevine_arch = "ia32" |
| 8 } | 8 } |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 # TODO(GYP) | 68 # TODO(GYP) |
| 69 # 'COPY_PHASE_STRIP': 'NO', | 69 # 'COPY_PHASE_STRIP': 'NO', |
| 70 } | 70 } |
| 71 } | 71 } |
| 72 | 72 |
| 73 source_set("adapter") { | 73 source_set("adapter") { |
| 74 if (is_chrome_branded) { | 74 if (is_chrome_branded) { |
| 75 deps = [ | 75 deps = [ |
| 76 ":version_h", | 76 ":version_h", |
| 77 ":binaries", | 77 ":binaries", |
| 78 "//ppapi:ppapi_cpp", | 78 "//ppapi/cpp", |
| 79 | 79 |
| 80 #'<(DEPTH)/media/media_cdm_adapter.gyp:cdmadapter', TODO(GYP) | 80 #'<(DEPTH)/media/media_cdm_adapter.gyp:cdmadapter', TODO(GYP) |
| 81 ] | 81 ] |
| 82 } | 82 } |
| 83 | 83 |
| 84 if (is_linux) { | 84 if (is_linux) { |
| 85 libs = [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ] | 85 libs = [ rebase_path("$root_out_dir/libwidevinecdm.so", root_build_dir) ] |
| 86 } else if (is_win) { | 86 } else if (is_win) { |
| 87 libs = [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ] | 87 libs = [ rebase_path("$root_out_dir/widevinecdm.dll.lib", root_build_dir) ] |
| 88 } else if (is_mac) { | 88 } else if (is_mac) { |
| 89 libs = [ rebase_path("$root_out_dir/libwidevinecdm.dylib", root_build_dir) ] | 89 libs = [ rebase_path("$root_out_dir/libwidevinecdm.dylib", root_build_dir) ] |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 | 92 |
| 93 # This target exists for tests to depend on that pulls in a runtime dependency | 93 # This target exists for tests to depend on that pulls in a runtime dependency |
| 94 # on the license server. | 94 # on the license server. |
| 95 source_set("widevine_test_license_server") { | 95 source_set("widevine_test_license_server") { |
| 96 if (is_chrome_branded && is_linux) { | 96 if (is_chrome_branded && is_linux) { |
| 97 deps = [ | 97 deps = [ |
| 98 # TODO(GYP) | 98 # TODO(GYP) |
| 99 # This target should be removed and targets should have datadeps on this t
arget: | 99 # This target should be removed and targets should have datadeps on this t
arget: |
| 100 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" | 100 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" |
| 101 ] | 101 ] |
| 102 } | 102 } |
| 103 } | 103 } |
| OLD | NEW |