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 public_deps = [ ":dom_distiller_proto" ] | 12 public_deps = [ |
| 13 ":dom_distiller_proto", |
| 14 ] |
13 public_configs = [ ":dependent_config" ] | 15 public_configs = [ ":dependent_config" ] |
14 } | 16 } |
15 | 17 |
16 proto_library("dom_distiller_proto") { | 18 proto_library("dom_distiller_proto") { |
17 visibility = [ ":*" ] | 19 visibility = [ ":*" ] |
18 sources = [ "package/proto/dom_distiller.proto" ] | 20 sources = [ |
| 21 "package/proto/dom_distiller.proto", |
| 22 ] |
19 proto_out_dir = "third_party/dom_distiller_js" | 23 proto_out_dir = "third_party/dom_distiller_js" |
20 } | 24 } |
OLD | NEW |