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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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
« no previous file with comments | « third_party/stp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | 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 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
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
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 }
OLDNEW
« no previous file with comments | « third_party/stp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698