OLD | NEW |
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 if (!is_ios) { | 5 if (!is_ios) { |
6 # GYP version: components/dom_distiller.gypi:dom_distiller_content | 6 # GYP version: components/dom_distiller.gypi:dom_distiller_content |
7 static_library("content_browser") { | 7 static_library("content_browser") { |
8 sources = [ | 8 sources = [ |
9 "browser/distillable_page_utils.cc", | 9 "browser/distillable_page_utils.cc", |
10 "browser/distillable_page_utils.h", | 10 "browser/distillable_page_utils.h", |
(...skipping 16 matching lines...) Expand all Loading... |
27 "//components/resources", | 27 "//components/resources", |
28 "//components/strings", | 28 "//components/strings", |
29 "//content/public/browser", | 29 "//content/public/browser", |
30 "//net", | 30 "//net", |
31 "//skia", | 31 "//skia", |
32 "//sync", | 32 "//sync", |
33 "//ui/gfx", | 33 "//ui/gfx", |
34 "//url", | 34 "//url", |
35 ] | 35 ] |
36 | 36 |
37 if (is_android) { | 37 if (is_android && !use_aura) { |
38 sources += [ | 38 sources += [ |
39 "browser/distillable_page_utils_android.cc", | 39 "browser/distillable_page_utils_android.cc", |
40 "browser/distillable_page_utils_android.h", | 40 "browser/distillable_page_utils_android.h", |
41 ] | 41 ] |
42 deps += [ ":jni_headers" ] | 42 deps += [ ":jni_headers" ] |
43 } | 43 } |
44 } | 44 } |
45 | 45 |
46 if (is_android) { | 46 if (is_android && !use_aura) { |
47 import("//build/config/android/rules.gni") | 47 import("//build/config/android/rules.gni") |
48 | 48 |
49 generate_jni("jni_headers") { | 49 generate_jni("jni_headers") { |
50 sources = [ | 50 sources = [ |
51 "../android/java/src/org/chromium/components/dom_distiller/content/Disti
llablePageUtils.java", | 51 "../android/java/src/org/chromium/components/dom_distiller/content/Disti
llablePageUtils.java", |
52 ] | 52 ] |
53 jni_package = "dom_distiller_content" | 53 jni_package = "dom_distiller_content" |
54 } | 54 } |
55 } | 55 } |
56 } | 56 } |
OLD | NEW |