| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 # Convenience meta-target for all of Blimp's production & test code. | 7 # Convenience meta-target for all of Blimp's production & test code. |
| 8 group("blimp") { | 8 group("blimp") { |
| 9 # In spite of the name, this really just means that non-test targets | 9 # In spite of the name, this really just means that non-test targets |
| 10 # cannot depend on this one, and that it can depend on test targets, | 10 # cannot depend on this one, and that it can depend on test targets, |
| 11 # which fits how we intend to use it. | 11 # which fits how we intend to use it. |
| 12 testonly = true | 12 testonly = true |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 ":blimp_tests", | 15 ":blimp_tests", |
| 16 "//blimp/client:blimp_client", | 16 "//blimp/client:blimp_client", |
| 17 "//blimp/common:blimp_common", | 17 "//blimp/common:blimp_common", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 if (is_android) { | 20 if (is_android) { |
| 21 deps += [ "//blimp/client:blimp_apk" ] | 21 deps += [ "//blimp/client:blimp_apk" ] |
| 22 } | 22 } |
| 23 | 23 |
| 24 if (is_linux) { | 24 if (is_linux) { |
| 25 deps += [ | 25 deps += [ |
| 26 "//blimp/client:blimp_shell", |
| 26 "//blimp/engine:blimp_engine", | 27 "//blimp/engine:blimp_engine", |
| 27 "//blimp/engine:blimp_engine_bundle", | 28 "//blimp/engine:blimp_engine_bundle", |
| 28 ] | 29 ] |
| 29 } | 30 } |
| 30 } | 31 } |
| 31 | 32 |
| 32 # Builds all Blimp test code (unit tests, APKs). | 33 # Builds all Blimp test code (unit tests, APKs). |
| 33 group("blimp_tests") { | 34 group("blimp_tests") { |
| 34 testonly = true | 35 testonly = true |
| 35 | 36 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 55 } | 56 } |
| 56 | 57 |
| 57 # TODO(GYP): Delete this after we've converted everything to GN. | 58 # TODO(GYP): Delete this after we've converted everything to GN. |
| 58 # The _run targets exist only for compatibility w/ GYP. | 59 # The _run targets exist only for compatibility w/ GYP. |
| 59 group("blimp_unittests_run") { | 60 group("blimp_unittests_run") { |
| 60 testonly = true | 61 testonly = true |
| 61 deps = [ | 62 deps = [ |
| 62 ":blimp_unittests", | 63 ":blimp_unittests", |
| 63 ] | 64 ] |
| 64 } | 65 } |
| OLD | NEW |