| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 sources = widevine_cdm_binary_files | 67 sources = widevine_cdm_binary_files |
| 68 outputs = [ "$root_out_dir/{{source_file_part}}" ] | 68 outputs = [ "$root_out_dir/{{source_file_part}}" ] |
| 69 # TODO(GYP) | 69 # TODO(GYP) |
| 70 # 'COPY_PHASE_STRIP': 'NO', | 70 # 'COPY_PHASE_STRIP': 'NO', |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 source_set("adapter") { | 74 source_set("adapter") { |
| 75 if (is_chrome_branded) { | 75 if (is_chrome_branded) { |
| 76 deps = [ | 76 deps = [ |
| 77 ":widevine_cdm_version_h", | 77 ":version_h", |
| 78 ":widevine_cdm_binaries", | 78 ":binaries", |
| 79 "//ppapi:ppapi_cpp", | 79 "//ppapi:ppapi_cpp", |
| 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 = [ "$root_out_dir/libwidevinecdm.sp" ] | 85 libs = [ "$root_out_dir/libwidevinecdm.sp" ] |
| 86 } else if (is_win) { | 86 } else if (is_win) { |
| 87 libs = [ "$root_out_dir/widevinecdm.dll.lib" ] | 87 libs = [ "$root_out_dir/widevinecdm.dll.lib" ] |
| 88 } else if (is_mac) { | 88 } else if (is_mac) { |
| 89 libs = [ "$root_out_dir/libwidevinecdm.dylib" ] | 89 libs = [ "$root_out_dir/libwidevinecdm.dylib" ] |
| 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 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" | 99 #"//third_party/widevine/test/license_server/license_server.gyp:test_licen
se_server" |
| 100 ] | 100 ] |
| 101 } | 101 } |
| 102 } | 102 } |
| OLD | NEW |