DevTools: kill codeschool extension from whitelist
[chromium-blink-merge.git] / components / dom_distiller / content / BUILD.gn
blobdf9b5c0fe553eb15d317d96b8274a2f0d6eed15a
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.
5 if (!is_ios) {
6   # GYP version: components/dom_distiller.gypi:dom_distiller_content
7   static_library("content") {
8     sources = [
9       "distillable_page_utils.cc",
10       "distillable_page_utils.h",
11       "distiller_page_web_contents.cc",
12       "distiller_page_web_contents.h",
13       "dom_distiller_viewer_source.cc",
14       "dom_distiller_viewer_source.h",
15       "web_contents_main_frame_observer.cc",
16       "web_contents_main_frame_observer.h",
17     ]
19     public_deps = [
20       "//components/dom_distiller/core",
21     ]
22     deps = [
23       "//base",
24       "//components/resources",
25       "//components/strings",
26       "//content/public/browser",
27       "//net",
28       "//skia",
29       "//sync",
30       "//ui/gfx",
31       "//url",
32     ]
34     if (is_android) {
35       sources += [
36         "distillable_page_utils_android.cc",
37         "distillable_page_utils_android.h",
38       ]
39       deps += [ ":jni_headers" ]
40     }
41   }
43   if (is_android) {
44     import("//build/config/android/rules.gni")
46     generate_jni("jni_headers") {
47       sources = [
48         "../android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java",
49       ]
50       jni_package = "dom_distiller_content"
51     }
52   }