summaryrefslogtreecommitdiffstats
path: root/third_party/dom_distiller_js
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 23:54:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 23:54:17 +0000
commit797b25046f036852b50520205064094bd9798c99 (patch)
tree91accfd86fc948f9adc5bd79f2e68c04f330e42a /third_party/dom_distiller_js
parentf1650117caf47f6e7b50bcee0b201535294d9cfd (diff)
downloadchromium_src-797b25046f036852b50520205064094bd9798c99.zip
chromium_src-797b25046f036852b50520205064094bd9798c99.tar.gz
chromium_src-797b25046f036852b50520205064094bd9798c99.tar.bz2
Add more GN deps to the build.
These deps are some of those required to compile chrome/browser (so mostly those containing resources and protobufs that have generated headers). chrome/browser still has some dependencies left. Add third_party libs libaddressinput and dom_distiller_js. Add components dom_distiller and policy. Separate the generate_library_loader into a separate .gni file. Rename components_strings to just strings. R=ajwong@chromium.org Review URL: https://codereview.chromium.org/362583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/dom_distiller_js')
-rw-r--r--third_party/dom_distiller_js/dom_distiller_js.gyp1
-rw-r--r--third_party/dom_distiller_js/package/proto/BUILD.gn21
2 files changed, 22 insertions, 0 deletions
diff --git a/third_party/dom_distiller_js/dom_distiller_js.gyp b/third_party/dom_distiller_js/dom_distiller_js.gyp
index aaa96ed..2a65c3f 100644
--- a/third_party/dom_distiller_js/dom_distiller_js.gyp
+++ b/third_party/dom_distiller_js/dom_distiller_js.gyp
@@ -4,6 +4,7 @@
{
'targets': [
{
+ # GN version: //third_party/dom_distiller_js:proto
'target_name': 'dom_distiller_js_proto',
'type': 'static_library',
'sources': [ 'package/proto/dom_distiller.proto', ],
diff --git a/third_party/dom_distiller_js/package/proto/BUILD.gn b/third_party/dom_distiller_js/package/proto/BUILD.gn
new file mode 100644
index 0000000..4b6a53b
--- /dev/null
+++ b/third_party/dom_distiller_js/package/proto/BUILD.gn
@@ -0,0 +1,21 @@
+# 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/package/proto_gen" ]
+}
+
+source_set("proto") {
+ deps = [ ":dom_distiller_proto" ]
+ direct_dependent_configs = [ ":dependent_config" ]
+ forward_dependent_configs_from = [ ":dom_distiller_proto" ]
+}
+
+proto_library("dom_distiller_proto") {
+ visibility = ":*"
+ sources = [ "dom_distiller.proto" ]
+ proto_out_dir = "third_party/dom_distiller_js"
+}