| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//third_party/protobuf/proto_library.gni") |
| |
| config("dependent_config") { |
| include_dirs = [ "//third_party/dom_distiller_js/dist/proto_gen" ] |
| } |
| |
| source_set("proto") { |
| public_deps = [ |
| ":dom_distiller_proto", |
| ] |
| public_configs = [ ":dependent_config" ] |
| } |
| |
| proto_library("dom_distiller_proto") { |
| visibility = [ ":*" ] |
| sources = [ |
| "dist/proto/dom_distiller.proto", |
| ] |
| proto_out_dir = "third_party/dom_distiller_js" |
| } |