Chromium Code Reviews| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (is_android) { | |
| 10 import("//build/config/android/config.gni") | |
| 11 import("//build/config/android/rules.gni") | |
| 12 } | |
| 13 | |
| 9 # Convenience meta-target for all of Blimp's production & test code. | 14 # Convenience meta-target for all of Blimp's production & test code. |
| 10 group("blimp") { | 15 group("blimp") { |
| 11 # In spite of the name, this really just means that non-test targets | 16 # In spite of the name, this really just means that non-test targets |
| 12 # cannot depend on this one, and that it can depend on test targets, | 17 # cannot depend on this one, and that it can depend on test targets, |
| 13 # which fits how we intend to use it. | 18 # which fits how we intend to use it. |
| 14 testonly = true | 19 testonly = true |
| 15 | 20 |
| 16 deps = [ | 21 deps = [ |
| 17 ":blimp_tests", | 22 ":blimp_tests", |
| 18 "//blimp/client", | 23 "//blimp/client", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 "//blimp/client:feature_unit_tests", | 71 "//blimp/client:feature_unit_tests", |
| 67 "//blimp/client/core:unit_tests", | 72 "//blimp/client/core:unit_tests", |
| 68 "//blimp/common:unit_tests", | 73 "//blimp/common:unit_tests", |
| 69 "//blimp/net:unit_tests", | 74 "//blimp/net:unit_tests", |
| 70 "//blimp/test:run_all_unittests", | 75 "//blimp/test:run_all_unittests", |
| 71 ] | 76 ] |
| 72 | 77 |
| 73 if (is_linux) { | 78 if (is_linux) { |
| 74 deps += [ "//blimp/engine:unit_tests" ] | 79 deps += [ "//blimp/engine:unit_tests" ] |
| 75 } | 80 } |
| 81 | |
| 82 if (is_android) { | |
| 83 deps += [ ":blimp_unittests_java_deps" ] | |
| 84 } | |
| 85 } | |
| 86 | |
| 87 if (is_android) { | |
| 88 java_group("blimp_unittests_java_deps") { | |
|
nyquist
2016/08/16 23:14:57
Could you add a comment as to why we have this wei
Khushal
2016/08/18 03:16:32
Done.
| |
| 89 testonly = true | |
| 90 visibility = [ ":*" ] | |
| 91 | |
| 92 deps = [ | |
| 93 "//base:base_java", | |
| 94 "//blimp/client/core:core_java", | |
| 95 "//net/android:net_java", | |
| 96 "//ui/android:ui_java", | |
| 97 ] | |
| 98 } | |
| 76 } | 99 } |
| 77 | 100 |
| 78 if (is_linux) { | 101 if (is_linux) { |
| 79 test("blimp_browsertests") { | 102 test("blimp_browsertests") { |
| 80 deps = [ | 103 deps = [ |
| 81 "//blimp/engine:browser_tests", | 104 "//blimp/engine:browser_tests", |
| 82 ] | 105 ] |
| 83 } | 106 } |
| 84 | 107 |
| 85 _blimp_engine_env_tests_runtime_deps = | 108 _blimp_engine_env_tests_runtime_deps = |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 201 "--output", | 224 "--output", |
| 202 rebase_path(_output_path, root_build_dir), | 225 rebase_path(_output_path, root_build_dir), |
| 203 "--target", | 226 "--target", |
| 204 rebase_path(_wrapped_script, root_build_dir), | 227 rebase_path(_wrapped_script, root_build_dir), |
| 205 "--output-directory", | 228 "--output-directory", |
| 206 rebase_path(root_out_dir, root_build_dir), | 229 rebase_path(root_out_dir, root_build_dir), |
| 207 "--flag-name=--output-linux-directory", | 230 "--flag-name=--output-linux-directory", |
| 208 ] | 231 ] |
| 209 } | 232 } |
| 210 } | 233 } |
| OLD | NEW |