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

Side by Side Diff: tools/generate_library_loader/generate_library_loader.gni

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 years, 6 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 | « testing/libfuzzer/fuzzer_test.gni ('k') | ui/vector_icons/vector_icons.gni » ('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 # This template makes a stub for a Linux system library that dynamically loads 5 # This template makes a stub for a Linux system library that dynamically loads
6 # it at runtime. 6 # it at runtime.
7 7
8 # name: Name to use for the value of the --name arg. 8 # name: Name to use for the value of the --name arg.
9 # output_h/output_cc: Names for the generated header/cc file with no dir. 9 # output_h/output_cc: Names for the generated header/cc file with no dir.
10 # header: header file to process. Example: "<foo/bar.h>" 10 # header: header file to process. Example: "<foo/bar.h>"
(...skipping 12 matching lines...) Expand all
23 23
24 outputs = [ 24 outputs = [
25 output_h, 25 output_h,
26 output_cc, 26 output_cc,
27 ] 27 ]
28 28
29 args = [ 29 args = [
30 "--name", 30 "--name",
31 invoker.name, 31 invoker.name,
32 "--output-h", 32 "--output-h",
33 rebase_path(output_h), 33 rebase_path(output_h, root_build_dir),
34 "--output-cc", 34 "--output-cc",
35 rebase_path(output_cc), 35 rebase_path(output_cc, root_build_dir),
36 "--header", 36 "--header",
37 invoker.header, 37 invoker.header,
38 38
39 # Note GYP build exposes a per-target variable to control this, which, if 39 # Note GYP build exposes a per-target variable to control this, which, if
40 # manually set to true, will disable dlopen(). Its not clear this is 40 # manually set to true, will disable dlopen(). Its not clear this is
41 # needed, so here we just leave off. If this can be done globally, we can 41 # needed, so here we just leave off. If this can be done globally, we can
42 # expose one switch for this value, otherwise we need to add a template 42 # expose one switch for this value, otherwise we need to add a template
43 # param for this. 43 # param for this.
44 "--link-directly=0", 44 "--link-directly=0",
45 ] 45 ]
(...skipping 12 matching lines...) Expand all
58 } 58 }
59 sources = [ 59 sources = [
60 output_cc, 60 output_cc,
61 output_h, 61 output_h,
62 ] 62 ]
63 public_deps = [ 63 public_deps = [
64 ":${target_name}_loader", 64 ":${target_name}_loader",
65 ] 65 ]
66 } 66 }
67 } 67 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/fuzzer_test.gni ('k') | ui/vector_icons/vector_icons.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698