| 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 import("//blimp/client/core/config.gni") | 10 import("//blimp/client/core/config.gni") |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 "//blimp/client/*", | 31 "//blimp/client/*", |
| 32 "//blimp/test/*", | 32 "//blimp/test/*", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 deps = [ | 35 deps = [ |
| 36 ":context", | 36 ":context", |
| 37 ":switches", | 37 ":switches", |
| 38 "//blimp/client/core/compositor", | 38 "//blimp/client/core/compositor", |
| 39 "//blimp/client/core/contents", | 39 "//blimp/client/core/contents", |
| 40 "//blimp/client/core/geolocation", | 40 "//blimp/client/core/geolocation", |
| 41 "//blimp/client/core/render_widget", |
| 41 "//blimp/client/core/session", | 42 "//blimp/client/core/session", |
| 43 "//blimp/client/core/settings", |
| 42 ] | 44 ] |
| 43 } | 45 } |
| 44 | 46 |
| 45 source_set("dummy_core") { | 47 source_set("dummy_core") { |
| 46 visibility = [ ":*" ] | 48 visibility = [ ":*" ] |
| 47 | 49 |
| 48 sources = [ | 50 sources = [ |
| 49 "dummy_blimp_client_context.cc", | 51 "dummy_blimp_client_context.cc", |
| 50 "dummy_blimp_client_context.h", | 52 "dummy_blimp_client_context.h", |
| 51 ] | 53 ] |
| (...skipping 17 matching lines...) Expand all Loading... |
| 69 | 71 |
| 70 source_set("unit_tests") { | 72 source_set("unit_tests") { |
| 71 testonly = true | 73 testonly = true |
| 72 | 74 |
| 73 sources = [ | 75 sources = [ |
| 74 "blimp_client_context_impl_unittest.cc", | 76 "blimp_client_context_impl_unittest.cc", |
| 75 ] | 77 ] |
| 76 | 78 |
| 77 deps = [ | 79 deps = [ |
| 78 ":context", | 80 ":context", |
| 79 "//blimp/client:feature", | |
| 80 "//blimp/client/core/compositor:unit_tests", | 81 "//blimp/client/core/compositor:unit_tests", |
| 81 "//blimp/client/core/contents:unit_tests", | 82 "//blimp/client/core/contents:unit_tests", |
| 82 "//blimp/client/core/geolocation:unit_tests", | 83 "//blimp/client/core/geolocation:unit_tests", |
| 84 "//blimp/client/core/render_widget:unit_tests", |
| 83 "//blimp/client/core/session:unit_tests", | 85 "//blimp/client/core/session:unit_tests", |
| 84 "//blimp/client/public:public_headers", | 86 "//blimp/client/public:public_headers", |
| 87 "//blimp/client/support:test_support", |
| 85 "//blimp/client/test", | 88 "//blimp/client/test", |
| 86 "//testing/gmock", | 89 "//testing/gmock", |
| 87 "//testing/gtest", | 90 "//testing/gtest", |
| 88 ] | 91 ] |
| 89 } | 92 } |
| 90 | 93 |
| 91 source_set("context") { | 94 source_set("context") { |
| 92 sources = [ | 95 sources = [ |
| 93 "blimp_client_context_impl.cc", | 96 "blimp_client_context_impl.cc", |
| 94 "blimp_client_context_impl.h", | 97 "blimp_client_context_impl.h", |
| 95 ] | 98 ] |
| 96 | 99 |
| 97 public_deps = [ | 100 public_deps = [ |
| 98 "//base", | 101 "//base", |
| 99 "//blimp/client/core/contents", | 102 "//blimp/client/core/contents", |
| 100 "//blimp/client/core/session", | 103 "//blimp/client/core/session", |
| 101 "//blimp/client/public:public_headers", | 104 "//blimp/client/public:public_headers", |
| 102 "//url", | 105 "//url", |
| 103 ] | 106 ] |
| 104 | 107 |
| 108 deps = [ |
| 109 ":switches", |
| 110 "//blimp/client/core/settings", |
| 111 ] |
| 112 |
| 105 if (is_android) { | 113 if (is_android) { |
| 106 sources += [ | 114 sources += [ |
| 107 "android/blimp_client_context_impl_android.cc", | 115 "android/blimp_client_context_impl_android.cc", |
| 108 "android/blimp_client_context_impl_android.h", | 116 "android/blimp_client_context_impl_android.h", |
| 109 "android/blimp_jni_registrar.cc", | 117 "android/blimp_jni_registrar.cc", |
| 110 ] | 118 ] |
| 111 | 119 |
| 112 deps = [ | 120 deps += [ |
| 113 ":context_jni_headers", | 121 ":context_jni_headers", |
| 114 "//blimp/client/core/settings", | 122 "//blimp/client/core/settings", |
| 115 ] | 123 ] |
| 116 } | 124 } |
| 117 } | 125 } |
| 118 | 126 |
| 119 source_set("switches") { | 127 source_set("switches") { |
| 120 visibility = [ | 128 visibility = [ |
| 121 "//blimp/client/*", | 129 "//blimp/client/*", |
| 122 "//blimp/engine:browser_tests", | 130 "//blimp/engine:browser_tests", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 generate_jni("dummy_core_jni_headers") { | 226 generate_jni("dummy_core_jni_headers") { |
| 219 visibility = [ ":*" ] | 227 visibility = [ ":*" ] |
| 220 | 228 |
| 221 sources = [ | 229 sources = [ |
| 222 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", | 230 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", |
| 223 ] | 231 ] |
| 224 | 232 |
| 225 jni_package = "blimp/client/core" | 233 jni_package = "blimp/client/core" |
| 226 } | 234 } |
| 227 } | 235 } |
| OLD | NEW |