| 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") |
| 11 | 11 |
| 12 # This target is here to let //chrome depend on //blimp/client/public | 12 # This target is here to let //chrome depend on //blimp/client/public |
| 13 # and automatically get the correct implementation of //blimp/client/core | 13 # and automatically get the correct implementation of //blimp/client/core |
| 14 # depending on whether enable_blimp_client is set or not. | 14 # depending on whether enable_blimp_client is set or not. |
| 15 group("core_shim") { | 15 group("core_shim") { |
| 16 visibility = [ "//blimp/client/public" ] | 16 visibility = [ "//blimp/client/public" ] |
| 17 | 17 |
| 18 if (enable_blimp_client) { | 18 if (enable_blimp_client) { |
| 19 deps = [ | 19 deps = [ |
| 20 ":core", | 20 ":core", |
| 21 ] | 21 ] |
| 22 } else { | 22 } else { |
| 23 deps = [ | 23 deps = [ |
| 24 ":dummy_core", | 24 ":dummy_core", |
| 25 ] | 25 ] |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 | 28 |
| 29 group("core") { | 29 group("core") { |
| 30 visibility = [ "//blimp/client/*" ] | 30 visibility = [ |
| 31 "//blimp/client/*", |
| 32 "//blimp/test/*", |
| 33 ] |
| 31 | 34 |
| 32 deps = [ | 35 deps = [ |
| 33 ":context", | 36 ":context", |
| 34 ":switches", | 37 ":switches", |
| 35 "//blimp/client/core/compositor", | 38 "//blimp/client/core/compositor", |
| 36 "//blimp/client/core/contents", | 39 "//blimp/client/core/contents", |
| 37 "//blimp/client/core/session", | 40 "//blimp/client/core/session", |
| 38 ] | 41 ] |
| 39 } | 42 } |
| 40 | 43 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 ":core_java", | 138 ":core_java", |
| 136 ] | 139 ] |
| 137 } else { | 140 } else { |
| 138 deps = [ | 141 deps = [ |
| 139 ":dummy_core_java", | 142 ":dummy_core_java", |
| 140 ] | 143 ] |
| 141 } | 144 } |
| 142 } | 145 } |
| 143 | 146 |
| 144 java_group("core_java") { | 147 java_group("core_java") { |
| 145 visibility = [ "//blimp/client/*" ] | 148 visibility = [ |
| 149 "//blimp/client/*", |
| 150 "//blimp:blimp_unittests_java_deps", |
| 151 ] |
| 146 | 152 |
| 147 deps = [ | 153 deps = [ |
| 148 ":context_java", | 154 ":context_java", |
| 149 ":settings_java", | 155 ":settings_java", |
| 150 ":switches_java", | 156 ":switches_java", |
| 151 "//blimp/client/core/contents:contents_java", | 157 "//blimp/client/core/contents:contents_java", |
| 152 ] | 158 ] |
| 153 } | 159 } |
| 154 | 160 |
| 155 android_library("dummy_core_java") { | 161 android_library("dummy_core_java") { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 generate_jni("dummy_core_jni_headers") { | 220 generate_jni("dummy_core_jni_headers") { |
| 215 visibility = [ ":*" ] | 221 visibility = [ ":*" ] |
| 216 | 222 |
| 217 sources = [ | 223 sources = [ |
| 218 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", | 224 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", |
| 219 ] | 225 ] |
| 220 | 226 |
| 221 jni_package = "blimp/client/core" | 227 jni_package = "blimp/client/core" |
| 222 } | 228 } |
| 223 } | 229 } |
| OLD | NEW |