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/ui.gni") | 6 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
7 | 8 |
8 # Convenience meta-target for all of Blimp's production & test code. | 9 # Convenience meta-target for all of Blimp's production & test code. |
9 group("blimp") { | 10 group("blimp") { |
10 # In spite of the name, this really just means that non-test targets | 11 # 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 # cannot depend on this one, and that it can depend on test targets, |
12 # which fits how we intend to use it. | 13 # which fits how we intend to use it. |
13 testonly = true | 14 testonly = true |
14 | 15 |
15 deps = [ | 16 deps = [ |
16 ":blimp_tests", | 17 ":blimp_tests", |
17 "//blimp/client", | 18 "//blimp/client", |
18 "//blimp/common", | 19 "//blimp/common", |
19 ] | 20 ] |
20 | 21 |
21 if (is_android) { | 22 if (is_android) { |
22 deps += [ | 23 deps += [ |
23 "//blimp/client:blimp_apk", | 24 "//blimp/client:blimp_apk", |
24 "//blimp/client:blimp_apk_incremental", | 25 "//blimp/client:blimp_apk_incremental", |
25 ] | 26 ] |
26 } | 27 } |
27 | 28 |
28 if (is_linux) { | 29 if (is_linux) { |
29 deps += [ | 30 deps += [ |
30 "//blimp/engine", | 31 "//blimp/engine", |
31 "//blimp/engine:blimp_engine_bundle", | 32 "//blimp/engine:blimp_engine_bundle", |
32 ] | 33 ] |
| 34 |
| 35 if (is_official_build) { |
| 36 deps += [ "//blimp/engine:blimp_symbols" ] |
| 37 } |
33 } | 38 } |
34 | 39 |
35 if (is_linux && !is_chromeos && use_x11) { | 40 if (is_linux && !is_chromeos && use_x11) { |
36 deps += [ "//blimp/client:blimp_shell" ] | 41 deps += [ "//blimp/client:blimp_shell" ] |
37 } | 42 } |
38 } | 43 } |
39 | 44 |
40 # Builds all Blimp test code (unit tests, APKs). | 45 # Builds all Blimp test code (unit tests, APKs). |
41 group("blimp_tests") { | 46 group("blimp_tests") { |
42 testonly = true | 47 testonly = true |
(...skipping 25 matching lines...) Expand all Loading... |
68 } | 73 } |
69 } | 74 } |
70 | 75 |
71 if (is_linux) { | 76 if (is_linux) { |
72 test("blimp_browsertests") { | 77 test("blimp_browsertests") { |
73 deps = [ | 78 deps = [ |
74 "//blimp/test:engine_browsertests", | 79 "//blimp/test:engine_browsertests", |
75 ] | 80 ] |
76 } | 81 } |
77 } | 82 } |
OLD | NEW |