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