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