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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h | 42 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h |
43 copy("version_h") { | 43 copy("version_h") { |
44 sources = [ | 44 sources = [ |
45 widevine_cdm_version_h_file, | 45 widevine_cdm_version_h_file, |
46 ] | 46 ] |
47 | 47 |
48 # TODO(brettw) this should go into target_out_dir and callers should include | 48 # TODO(brettw) this should go into target_out_dir and callers should include |
49 # it from there. This requires, however, renaming the default | 49 # it from there. This requires, however, renaming the default |
50 # widevine_cdm_version.h in this directory to avoid conflicts. | 50 # widevine_cdm_version.h in this directory to avoid conflicts. |
51 outputs = [ "$root_gen_dir/widevine_cdm_version.h" ] | 51 outputs = [ |
| 52 "$root_gen_dir/widevine_cdm_version.h", |
| 53 ] |
52 } | 54 } |
53 | 55 |
54 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_binaries | 56 # GYP version: third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_binaries |
55 if (widevine_cdm_binary_files == []) { | 57 if (widevine_cdm_binary_files == []) { |
56 group("binaries") { | 58 group("binaries") { |
57 # NOP | 59 # NOP |
58 } | 60 } |
59 } else { | 61 } else { |
60 copy("binaries") { | 62 copy("binaries") { |
61 sources = widevine_cdm_binary_files | 63 sources = widevine_cdm_binary_files |
62 outputs = [ "$root_out_dir/{{source_file_part}}" ] | 64 outputs = [ |
| 65 "$root_out_dir/{{source_file_part}}", |
| 66 ] |
63 | 67 |
64 # TODO(GYP) | 68 # TODO(GYP) |
65 # 'COPY_PHASE_STRIP': 'NO', | 69 # 'COPY_PHASE_STRIP': 'NO', |
66 } | 70 } |
67 } | 71 } |
68 | 72 |
69 source_set("adapter") { | 73 source_set("adapter") { |
70 if (is_chrome_branded) { | 74 if (is_chrome_branded) { |
71 deps = [ | 75 deps = [ |
72 ":version_h", | 76 ":version_h", |
(...skipping 16 matching lines...) Expand all Loading... |
89 # 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 |
90 # on the license server. | 94 # on the license server. |
91 source_set("widevine_test_license_server") { | 95 source_set("widevine_test_license_server") { |
92 if (is_chrome_branded && is_linux) { | 96 if (is_chrome_branded && is_linux) { |
93 deps = [ | 97 deps = [ |
94 # TODO(GYP) | 98 # TODO(GYP) |
95 #"//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" |
96 ] | 100 ] |
97 } | 101 } |
98 } | 102 } |
OLD | NEW |