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