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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « third_party/zlib/BUILD.gn ('k') | ui/events/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 # 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 28 matching lines...) Expand all
39 "--link-directly=0", 39 "--link-directly=0",
40 ] 40 ]
41 if (defined(invoker.bundled_header)) { 41 if (defined(invoker.bundled_header)) {
42 args += [ "--bundled-header", invoker.bundled_header ] 42 args += [ "--bundled-header", invoker.bundled_header ]
43 } 43 }
44 args += invoker.functions 44 args += invoker.functions
45 } 45 }
46 46
47 source_set(target_name) { 47 source_set(target_name) {
48 if (defined(invoker.config)) { 48 if (defined(invoker.config)) {
49 direct_dependent_configs = [ invoker.config ] 49 public_configs = [ invoker.config ]
50 } 50 }
51 sources = [ output_h, output_cc ] 51 sources = [ output_h, output_cc ]
52 deps = [ ":${target_name}_loader" ] 52 deps = [ ":${target_name}_loader" ]
53 } 53 }
54 } 54 }
OLDNEW
« no previous file with comments | « third_party/zlib/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698