| 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 declare_args() { | 10 import("//blimp/client/core/config.gni") |
| 11 # Enables the blimp client. This is required to get the actual implementation | |
| 12 # of blimp. | |
| 13 # By default, only a dummy-implementation is provided. | |
| 14 enable_blimp_client = false | |
| 15 } | |
| 16 | 11 |
| 17 # 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 |
| 18 # and automatically get the correct implementation of //blimp/client/core | 13 # and automatically get the correct implementation of //blimp/client/core |
| 19 # depending on whether enable_blimp_client is set or not. | 14 # depending on whether enable_blimp_client is set or not. |
| 20 group("core_shim") { | 15 group("core_shim") { |
| 21 visibility = [ "//blimp/client/public" ] | 16 visibility = [ "//blimp/client/public" ] |
| 22 | 17 |
| 23 if (enable_blimp_client) { | 18 if (enable_blimp_client) { |
| 24 deps = [ | 19 deps = [ |
| 25 ":core", | 20 ":core", |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 generate_jni("dummy_core_jni_headers") { | 209 generate_jni("dummy_core_jni_headers") { |
| 215 visibility = [ ":*" ] | 210 visibility = [ ":*" ] |
| 216 | 211 |
| 217 sources = [ | 212 sources = [ |
| 218 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", | 213 "android/java/src/org/chromium/blimp/core/DummyBlimpClientContext.java", |
| 219 ] | 214 ] |
| 220 | 215 |
| 221 jni_package = "blimp/client/core" | 216 jni_package = "blimp/client/core" |
| 222 } | 217 } |
| 223 } | 218 } |
| OLD | NEW |