| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 # Convenience meta-target for all of Blimp's production & test code. | 8 # Convenience meta-target for all of Blimp's production & test code. |
| 9 group("blimp") { | 9 group("blimp") { |
| 10 # In spite of the name, this really just means that non-test targets | 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, | 11 # cannot depend on this one, and that it can depend on test targets, |
| 12 # which fits how we intend to use it. | 12 # which fits how we intend to use it. |
| 13 testonly = true | 13 testonly = true |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":blimp_tests", | 16 ":blimp_tests", |
| 17 "//blimp/client:blimp_client", | 17 "//blimp/client", |
| 18 "//blimp/common:blimp_common", | 18 "//blimp/common", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 if (is_android) { | 21 if (is_android) { |
| 22 deps += [ | 22 deps += [ |
| 23 "//blimp/client:blimp_apk", | 23 "//blimp/client:blimp_apk", |
| 24 "//blimp/client:blimp_apk_incremental", | 24 "//blimp/client:blimp_apk_incremental", |
| 25 ] | 25 ] |
| 26 } | 26 } |
| 27 | 27 |
| 28 if (is_linux) { | 28 if (is_linux) { |
| 29 deps += [ | 29 deps += [ |
| 30 "//blimp/engine:blimp_engine", | 30 "//blimp/engine", |
| 31 "//blimp/engine:blimp_engine_bundle", | 31 "//blimp/engine:blimp_engine_bundle", |
| 32 ] | 32 ] |
| 33 } | 33 } |
| 34 | 34 |
| 35 if (is_linux && !is_chromeos && use_x11) { | 35 if (is_linux && !is_chromeos && use_x11) { |
| 36 deps += [ "//blimp/client:blimp_shell" ] | 36 deps += [ "//blimp/client:blimp_shell" ] |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 # Builds all Blimp test code (unit tests, APKs). | 40 # Builds all Blimp test code (unit tests, APKs). |
| (...skipping 15 matching lines...) Expand all Loading... |
| 56 "//blimp/client:blimp_client_unit_tests", | 56 "//blimp/client:blimp_client_unit_tests", |
| 57 "//blimp/client:feature_unit_tests", | 57 "//blimp/client:feature_unit_tests", |
| 58 "//blimp/common:unit_tests", | 58 "//blimp/common:unit_tests", |
| 59 "//blimp/net:unit_tests", | 59 "//blimp/net:unit_tests", |
| 60 ] | 60 ] |
| 61 | 61 |
| 62 if (is_linux) { | 62 if (is_linux) { |
| 63 deps += [ "//blimp/engine:unit_tests" ] | 63 deps += [ "//blimp/engine:unit_tests" ] |
| 64 } | 64 } |
| 65 } | 65 } |
| OLD | NEW |