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

Side by Side Diff: content/gpu/BUILD.gn

Issue 375873006: Rename source_prereqs to inputs in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/tracing/BUILD.gn ('k') | device/usb/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 import("//content/content.gni") 5 import("//content/content.gni")
6 6
7 # We don't support x64 prior to Win7 and D3DCompiler_43.dll is not needed on 7 # We don't support x64 prior to Win7 and D3DCompiler_43.dll is not needed on
8 # Vista+. 8 # Vista+.
9 need_d3dcompiler = (is_win && cpu_arch == "x86" && directxsdk_exists) 9 need_d3dcompiler = (is_win && cpu_arch == "x86" && directxsdk_exists)
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 55
56 if (need_d3dcompiler) { 56 if (need_d3dcompiler) {
57 action("extract_d3dcompiler") { 57 action("extract_d3dcompiler") {
58 visibility = ":*" 58 visibility = ":*"
59 script = "//build/extract_from_cab.py" 59 script = "//build/extract_from_cab.py"
60 60
61 cabfile = "//third_party/directxsdk/files/Redist/Jun2010_D3DCompiler_43_x86. cab" 61 cabfile = "//third_party/directxsdk/files/Redist/Jun2010_D3DCompiler_43_x86. cab"
62 dllfile = "D3DCompiler_43.dll" 62 dllfile = "D3DCompiler_43.dll"
63 63
64 source_prereqs = [ cabfile ] 64 inputs = [ cabfile ]
65 outputs = [ "$root_out_dir/$dllfile" ] 65 outputs = [ "$root_out_dir/$dllfile" ]
66 66
67 args = [ 67 args = [
68 rebase_path(cabfile, root_build_dir), 68 rebase_path(cabfile, root_build_dir),
69 dllfile, 69 dllfile,
70 rebase_path(root_out_dir, root_build_dir), 70 rebase_path(root_out_dir, root_build_dir),
71 ] 71 ]
72 } 72 }
73 } 73 }
OLDNEW
« no previous file with comments | « content/browser/tracing/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698