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

Side by Side Diff: build/shim_headers.gni

Issue 1881263003: unbundle: add shim_headers.gni and unbundled GN file for zlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 8 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
« no previous file with comments | « build/linux/unbundle/zlib.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 template("shim_headers") {
6 action_name = "gen_${target_name}"
7 config_name = "${target_name}_config"
8 shim_headers_path = "${root_gen_dir}/shim_headers/${target_name}"
9
10 config(config_name) {
11 include_dirs = [ shim_headers_path ]
12 }
13
14 action(action_name) {
15 script = "//tools/generate_shim_headers/generate_shim_headers.py"
16 args = [
17 "--generate",
18 "--headers-root",
19 rebase_path(invoker.root_path),
20 "--output-directory",
21 rebase_path(shim_headers_path),
22 ] + invoker.headers
23
24 outputs = process_file_template(invoker.headers,
25 "${shim_headers_path}/{{source_file_part}}")
26 }
27
28 group(target_name) {
29 deps = [
30 ":${action_name}",
31 ]
32 all_dependent_configs = [ ":${config_name}" ]
33 }
34 }
OLDNEW
« no previous file with comments | « build/linux/unbundle/zlib.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698