| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 source_set("contents") { | 10 source_set("contents") { |
| 11 visibility = [ "//blimp/client/*" ] | 11 visibility = [ "//blimp/client/*" ] |
| 12 | 12 |
| 13 sources = [ | 13 sources = [ |
| 14 "blimp_contents_impl.cc", | 14 "blimp_contents_impl.cc", |
| 15 "blimp_contents_impl.h", | 15 "blimp_contents_impl.h", |
| 16 "blimp_contents_manager.cc", | 16 "blimp_contents_manager.cc", |
| 17 "blimp_contents_manager.h", | 17 "blimp_contents_manager.h", |
| 18 "blimp_contents_view.h", |
| 18 "blimp_navigation_controller_delegate.h", | 19 "blimp_navigation_controller_delegate.h", |
| 19 "blimp_navigation_controller_impl.cc", | 20 "blimp_navigation_controller_impl.cc", |
| 20 "blimp_navigation_controller_impl.h", | 21 "blimp_navigation_controller_impl.h", |
| 21 "ime_feature.cc", | 22 "ime_feature.cc", |
| 22 "ime_feature.h", | 23 "ime_feature.h", |
| 23 "navigation_feature.cc", | 24 "navigation_feature.cc", |
| 24 "navigation_feature.h", | 25 "navigation_feature.h", |
| 25 ] | 26 ] |
| 26 | 27 |
| 27 public_deps = [ | 28 public_deps = [ |
| 28 "//base", | 29 "//base", |
| 29 "//blimp/client:feature", | 30 "//blimp/client:feature", |
| 30 "//blimp/client/public:public_headers", | 31 "//blimp/client/public:public_headers", |
| 31 "//blimp/net", | 32 "//blimp/net", |
| 32 "//net:net", | 33 "//net:net", |
| 33 "//ui/base/ime:text_input_types", | 34 "//ui/base/ime:text_input_types", |
| 34 "//ui/gfx/geometry:geometry", | 35 "//ui/gfx/geometry:geometry", |
| 35 "//url", | 36 "//url", |
| 36 ] | 37 ] |
| 37 | 38 |
| 38 deps = [ | 39 deps = [ |
| 39 "//blimp/common", | 40 "//blimp/common", |
| 40 "//components/url_formatter", | 41 "//components/url_formatter", |
| 42 "//skia", |
| 41 ] | 43 ] |
| 42 | 44 |
| 43 if (is_android) { | 45 if (is_android) { |
| 44 sources += [ | 46 sources += [ |
| 45 "android/blimp_contents_impl_android.cc", | 47 "android/blimp_contents_impl_android.cc", |
| 46 "android/blimp_contents_impl_android.h", | 48 "android/blimp_contents_impl_android.h", |
| 47 "android/blimp_contents_jni_registrar.cc", | 49 "android/blimp_contents_jni_registrar.cc", |
| 48 "android/blimp_contents_jni_registrar.h", | 50 "android/blimp_contents_jni_registrar.h", |
| 49 "android/blimp_contents_observer_proxy.cc", | 51 "android/blimp_contents_observer_proxy.cc", |
| 50 "android/blimp_contents_observer_proxy.h", | 52 "android/blimp_contents_observer_proxy.h", |
| 51 "android/blimp_navigation_controller_impl_android.cc", | 53 "android/blimp_navigation_controller_impl_android.cc", |
| 52 "android/blimp_navigation_controller_impl_android.h", | 54 "android/blimp_navigation_controller_impl_android.h", |
| 55 "blimp_contents_view_android.cc", |
| 56 "blimp_contents_view_android.h", |
| 53 ] | 57 ] |
| 54 | 58 |
| 55 deps += [ ":jni_headers" ] | 59 deps += [ |
| 60 ":jni_headers", |
| 61 "//cc", |
| 62 "//ui/android", |
| 63 ] |
| 64 } else { |
| 65 sources += [ |
| 66 "blimp_contents_view_aura.cc", |
| 67 "blimp_contents_view_aura.h", |
| 68 ] |
| 56 } | 69 } |
| 57 } | 70 } |
| 58 | 71 |
| 59 source_set("test_support") { | 72 source_set("test_support") { |
| 60 testonly = true | 73 testonly = true |
| 61 | 74 |
| 62 sources = [ | 75 sources = [ |
| 63 "fake_navigation_feature.cc", | 76 "fake_navigation_feature.cc", |
| 64 "fake_navigation_feature.h", | 77 "fake_navigation_feature.h", |
| 65 "mock_ime_feature_delegate.cc", | 78 "mock_ime_feature_delegate.cc", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 143 |
| 131 sources = [ | 144 sources = [ |
| 132 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java"
, | 145 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsImpl.java"
, |
| 133 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverPr
oxy.java", | 146 "android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverPr
oxy.java", |
| 134 "android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControll
erImpl.java", | 147 "android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControll
erImpl.java", |
| 135 ] | 148 ] |
| 136 | 149 |
| 137 jni_package = "blimp/client/core/contents" | 150 jni_package = "blimp/client/core/contents" |
| 138 } | 151 } |
| 139 } | 152 } |
| OLD | NEW |