diff options
author | Brett Wilson <brettw@chromium.org> | 2014-09-23 16:41:46 -0700 |
---|---|---|
committer | Brett Wilson <brettw@chromium.org> | 2014-09-23 23:42:24 +0000 |
commit | e5389527466d390b5653724a069008b9f1edcd5c (patch) | |
tree | b801a034992eec680db3afbfae5ed6dd6394ca7e /third_party/protobuf/proto_library.gni | |
parent | 2261d6bc3936efca1a9387085d2ebbf367d38df4 (diff) | |
download | chromium_src-e5389527466d390b5653724a069008b9f1edcd5c.zip chromium_src-e5389527466d390b5653724a069008b9f1edcd5c.tar.gz chromium_src-e5389527466d390b5653724a069008b9f1edcd5c.tar.bz2 |
Replace forward_dependent_configs with public_deps
This is the new name. It has the same meaning but additionally with a "you can use the headers" permission.
Rename direct_dependent_configs to public_configs. This is the new name with identical meaning.
TBR=jamesr
Review URL: https://codereview.chromium.org/595073002
Cr-Commit-Position: refs/heads/master@{#296302}
Diffstat (limited to 'third_party/protobuf/proto_library.gni')
-rw-r--r-- | third_party/protobuf/proto_library.gni | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni index f228f65..40fb80f 100644 --- a/third_party/protobuf/proto_library.gni +++ b/third_party/protobuf/proto_library.gni @@ -140,15 +140,15 @@ template("proto_library") { configs += invoker.extra_configs } - direct_dependent_configs = [ "//third_party/protobuf:using_proto" ] + public_configs = [ "//third_party/protobuf:using_proto" ] + public_deps = [ + # The generated headers reference headers within protobuf_lite, so + # dependencies must be able to find those headers too. + "//third_party/protobuf:protobuf_lite", + ] deps = [ ":$action_name", - "//third_party/protobuf:protobuf_lite", ] - - # The generated headers reference headers within protobuf_lite, so - # dependencies must be able to find those headers too. - forward_dependent_configs_from = [ "//third_party/protobuf:protobuf_lite" ] } } |