| Index: build/toolchain/win/midl.gni
|
| diff --git a/build/toolchain/win/midl.gni b/build/toolchain/win/midl.gni
|
| index ff5899c8c7840cc57d6a0434454e1317d23c5b32..fedfafde2329439136d2e371d1374863c0802cb7 100644
|
| --- a/build/toolchain/win/midl.gni
|
| +++ b/build/toolchain/win/midl.gni
|
| @@ -45,7 +45,8 @@ template("midl") {
|
| # MIDL support built-in.
|
| # TODO(brettw) move this to a separate MIDL wrapper script for better
|
| # clarity once GYP support is not needed.
|
| - script = "$root_build_dir/gyp-win-tool"
|
| + #script = "$root_build_dir/gyp-win-tool"
|
| + script = "//build/android/gyp/touch.py"
|
|
|
| sources = invoker.sources
|
|
|
| @@ -53,36 +54,36 @@ template("midl") {
|
| # generated depending on the content of the input idl file.
|
| outputs = [
|
| "$out_dir/$header_file",
|
| - "$out_dir/$dlldata_file",
|
| - "$out_dir/$interface_identifier_file",
|
| - "$out_dir/$proxy_file",
|
| + #"$out_dir/$dlldata_file",
|
| + #"$out_dir/$interface_identifier_file",
|
| + #"$out_dir/$proxy_file",
|
| ]
|
|
|
| - if (current_cpu == "x86") {
|
| - win_tool_arch = "environment.x86"
|
| - idl_target_platform = "win32"
|
| - } else if (current_cpu == "x64") {
|
| - win_tool_arch = "environment.x64"
|
| - idl_target_platform = "x64"
|
| - } else {
|
| - assert(false, "Need environment for this arch")
|
| - }
|
| + #if (current_cpu == "x86") {
|
| + # win_tool_arch = "environment.x86"
|
| + # idl_target_platform = "win32"
|
| + #} else if (current_cpu == "x64") {
|
| + # win_tool_arch = "environment.x64"
|
| + # idl_target_platform = "x64"
|
| + #} else {
|
| + # assert(false, "Need environment for this arch")
|
| + #}
|
|
|
| args = [
|
| - "midl-wrapper",
|
| - win_tool_arch,
|
| - rebase_path(out_dir, root_build_dir),
|
| + #"midl-wrapper",
|
| + #win_tool_arch,
|
| + #rebase_path(out_dir, root_build_dir),
|
| type_library_file,
|
| header_file,
|
| dlldata_file,
|
| interface_identifier_file,
|
| proxy_file,
|
| - "{{source}}",
|
| - "/char",
|
| - "signed",
|
| - "/env",
|
| - idl_target_platform,
|
| - "/Oicf",
|
| + #"{{source}}",
|
| + #"/char",
|
| + #"signed",
|
| + #"/env",
|
| + #idl_target_platform,
|
| + #"/Oicf",
|
| ]
|
|
|
| forward_variables_from(invoker, [ "deps" ])
|
| @@ -92,8 +93,8 @@ template("midl") {
|
| forward_variables_from(invoker, [ "visibility" ])
|
|
|
| # We only compile the IID files from the IDL tool rather than all outputs.
|
| - sources = process_file_template(invoker.sources,
|
| - [ "$out_dir/$interface_identifier_file" ])
|
| + #sources = process_file_template(invoker.sources,
|
| + # [ "$out_dir/$interface_identifier_file" ])
|
|
|
| public_deps = [
|
| ":$action_name",
|
|
|