OLD | NEW |
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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 config("dependent_config") { | 7 config("dependent_config") { |
8 include_dirs = [ "//third_party/dom_distiller_js/package/proto_gen" ] | 8 include_dirs = [ "//third_party/dom_distiller_js/package/proto_gen" ] |
9 } | 9 } |
10 | 10 |
11 source_set("proto") { | 11 source_set("proto") { |
12 deps = [ ":dom_distiller_proto" ] | 12 deps = [ ":dom_distiller_proto" ] |
13 direct_dependent_configs = [ ":dependent_config" ] | 13 direct_dependent_configs = [ ":dependent_config" ] |
14 forward_dependent_configs_from = [ ":dom_distiller_proto" ] | 14 forward_dependent_configs_from = [ ":dom_distiller_proto" ] |
15 } | 15 } |
16 | 16 |
17 proto_library("dom_distiller_proto") { | 17 proto_library("dom_distiller_proto") { |
18 visibility = ":*" | 18 visibility = [ ":*" ] |
19 sources = [ "package/proto/dom_distiller.proto" ] | 19 sources = [ "package/proto/dom_distiller.proto" ] |
20 proto_out_dir = "third_party/dom_distiller_js" | 20 proto_out_dir = "third_party/dom_distiller_js" |
21 } | 21 } |
OLD | NEW |