| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/chrome_build.gni") | |
| 6 import("//testing/test.gni") | |
| 7 | |
| 8 # Convenience meta-target for all of Blimp's production & test code. | |
| 9 group("blimp") { | |
| 10 # In spite of the name, this really just means that non-test targets | |
| 11 # cannot depend on this one, and that it can depend on test targets, | |
| 12 # which fits how we intend to use it. | |
| 13 testonly = true | |
| 14 | |
| 15 deps = [ | |
| 16 ":blimp_tests", | |
| 17 "//blimp/common", | |
| 18 ] | |
| 19 } | |
| 20 | |
| 21 # Builds all Blimp test code (unit tests, test APKs). | |
| 22 group("blimp_tests") { | |
| 23 testonly = true | |
| 24 | |
| 25 deps = [ | |
| 26 ":blimp_unittests", | |
| 27 ] | |
| 28 | |
| 29 if (is_linux) { | |
| 30 deps += [ "//blimp/test/fake_engine:fake_engine_app_tests" ] | |
| 31 } | |
| 32 } | |
| 33 | |
| 34 test("blimp_unittests") { | |
| 35 deps = [ | |
| 36 "//blimp/common:unit_tests", | |
| 37 "//blimp/test:run_all_unittests", | |
| 38 ] | |
| 39 | |
| 40 if (is_android) { | |
| 41 enable_multidex = true | |
| 42 } | |
| 43 } | |
| OLD | NEW |