Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Side by Side Diff: third_party/dom_distiller_js/BUILD.gn

Issue 2034373002: Generate the proto JSON converter for DOM distiller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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") {
8 include_dirs = [ "//third_party/dom_distiller_js/dist/proto_gen" ]
9 }
10
11 source_set("proto") { 7 source_set("proto") {
12 public_deps = [ 8 public_deps = [
13 ":dom_distiller_proto", 9 ":dom_distiller_proto",
14 ] 10 ]
15 public_configs = [ ":dependent_config" ]
16 } 11 }
17 12
18 proto_library("dom_distiller_proto") { 13 proto_library("dom_distiller_proto") {
19 visibility = [ ":*" ] 14 visibility = [ ":*" ]
20 sources = [ 15 sources = [
21 "dist/proto/dom_distiller.proto", 16 "dist/proto/dom_distiller.proto",
22 ] 17 ]
23 proto_out_dir = "third_party/dom_distiller_js" 18 proto_out_dir = "third_party/dom_distiller_js"
19 json_converter = "protoc_plugins/json_values_converter.py"
24 } 20 }
OLDNEW
« no previous file with comments | « no previous file | third_party/dom_distiller_js/protoc_plugins/README » ('j') | third_party/dom_distiller_js/protoc_plugins/README » ('J')

Powered by Google App Engine
This is Rietveld 408576698