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/ios/ios_sdk.gni") | 5 import("//build/config/ios/ios_sdk.gni") |
6 | 6 |
7 source_set("app_group") { | 7 source_set("app_group") { |
8 configs += [ "//build/config/compiler:enable_arc" ] | 8 configs += [ "//build/config/compiler:enable_arc" ] |
9 sources = [ | 9 sources = [ |
10 "app_group_constants.h", | 10 "app_group_constants.h", |
11 "app_group_constants.mm", | 11 "app_group_constants.mm", |
12 "app_group_metrics.h", | 12 "app_group_metrics.h", |
13 "app_group_metrics.mm", | 13 "app_group_metrics.mm", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//components/version_info", | 18 "//components/version_info", |
| 19 "//ios/chrome/common:ios_app_bundle_id_prefix_header", |
19 ] | 20 ] |
20 | |
21 defines = [ "IOS_BUNDLE_ID_PREFIX=\"$ios_app_bundle_id_prefix\"" ] | |
22 } | 21 } |
23 | 22 |
24 # This target will be included into application extensions and the list | 23 # This target will be included into application extensions and the list |
25 # of its dependencies must be kept as short as possible. | 24 # of its dependencies must be kept as short as possible. |
26 source_set("client") { | 25 source_set("client") { |
27 configs += [ "//build/config/compiler:enable_arc" ] | 26 configs += [ "//build/config/compiler:enable_arc" ] |
28 sources = [ | 27 sources = [ |
29 "app_group_metrics_client.h", | 28 "app_group_metrics_client.h", |
30 "app_group_metrics_client.mm", | 29 "app_group_metrics_client.mm", |
31 ] | 30 ] |
32 | 31 |
33 deps = [ | 32 deps = [ |
34 ":app_group", | 33 ":app_group", |
35 "//base", | 34 "//base", |
36 ] | 35 ] |
37 } | 36 } |
38 | 37 |
39 source_set("main_app") { | 38 source_set("main_app") { |
40 sources = [ | 39 sources = [ |
41 "app_group_metrics_mainapp.h", | 40 "app_group_metrics_mainapp.h", |
42 "app_group_metrics_mainapp.mm", | 41 "app_group_metrics_mainapp.mm", |
43 ] | 42 ] |
44 | 43 |
45 deps = [ | 44 deps = [ |
46 ":app_group", | 45 ":app_group", |
47 "//base", | 46 "//base", |
48 ] | 47 ] |
49 } | 48 } |
OLD | NEW |