diff options
Diffstat (limited to 'chromium/build/shim_headers.gni')
-rw-r--r-- | chromium/build/shim_headers.gni | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chromium/build/shim_headers.gni b/chromium/build/shim_headers.gni index 56591484d1c..a71ea6ec406 100644 --- a/chromium/build/shim_headers.gni +++ b/chromium/build/shim_headers.gni @@ -5,7 +5,7 @@ template("shim_headers") { action_name = "gen_${target_name}" config_name = "${target_name}_config" - shim_headers_path = "${root_gen_dir}/shim_headers/${target_name}" + shim_headers_path = "${root_gen_dir}" config(config_name) { include_dirs = [ shim_headers_path ] @@ -28,8 +28,11 @@ template("shim_headers") { } args += invoker.headers - outputs = process_file_template(invoker.headers, - "${shim_headers_path}/{{source_file_part}}") + output_pattern = "$target_gen_dir/" + invoker.root_path + "/{{source_file_part}}" + outputs = process_file_template(invoker.headers,output_pattern) + + input_pattern = "{{source_dir}}/" + invoker.root_path + "/{{source_file_part}}" + inputs = process_file_template(invoker.headers, input_pattern) } group(target_name) { |