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
3 # found in the LICENSE file.
7 # GYP version: components/dom_distiller.gypi:dom_distiller_content
8 source_set("content_browser") {
10 "browser/distillable_page_utils.cc",
11 "browser/distillable_page_utils.h",
12 "browser/distiller_javascript_utils.cc",
13 "browser/distiller_javascript_utils.h",
14 "browser/distiller_page_web_contents.cc",
15 "browser/distiller_page_web_contents.h",
16 "browser/dom_distiller_viewer_source.cc",
17 "browser/dom_distiller_viewer_source.h",
18 "browser/external_feedback_reporter.h",
19 "browser/web_contents_main_frame_observer.cc",
20 "browser/web_contents_main_frame_observer.h",
24 "//components/dom_distiller/core",
25 "//content/public/browser",
29 "//components/resources",
30 "//components/strings",
40 "browser/distillable_page_utils_android.cc",
41 "browser/distillable_page_utils_android.h",
43 deps += [ ":jni_headers" ]
48 import("//build/config/android/rules.gni")
50 generate_jni("jni_headers") {
52 "../android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java",
54 jni_package = "dom_distiller_content"
58 source_set("unit_tests") {
61 "browser/dom_distiller_viewer_source_unittest.cc",
62 "browser/web_contents_main_frame_observer_unittest.cc",