| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/ios/ios_sdk.gni") | 6 import("//build/config/ios/ios_sdk.gni") |
| 7 | 7 |
| 8 source_set("common") { | 8 source_set("common") { |
| 9 sources = [ | 9 sources = [ |
| 10 "channel_info.h", | 10 "channel_info.h", |
| 11 "channel_info.mm", | 11 "channel_info.mm", |
| 12 "material_timing.h", | 12 "material_timing.h", |
| 13 "material_timing.mm", | 13 "material_timing.mm", |
| 14 "string_util.h", | 14 "string_util.h", |
| 15 "string_util.mm", | 15 "string_util.mm", |
| 16 "x_callback_url.cc", | 16 "x_callback_url.cc", |
| 17 "x_callback_url.h", | 17 "x_callback_url.h", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//components/version_info", | 22 "//components/version_info", |
| 23 "//ios/chrome/common/app_group:main_app", | 23 "//ios/chrome/common/app_group:main_app", |
| 24 "//ios/chrome/common/physical_web:physical_web", | 24 "//ios/chrome/common/physical_web", |
| 25 "//net", | 25 "//net", |
| 26 "//url", | 26 "//url", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 libs = [ "QuartzCore.framework" ] | 29 libs = [ "QuartzCore.framework" ] |
| 30 } | 30 } |
| 31 | 31 |
| 32 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 33 testonly = true | 33 testonly = true |
| 34 sources = [ | 34 sources = [ |
| 35 "block_unittest.mm", | 35 "block_unittest.mm", |
| 36 "ns_regular_expression_unittest.mm", | 36 "ns_regular_expression_unittest.mm", |
| 37 "string_util_unittest.mm", | 37 "string_util_unittest.mm", |
| 38 "x_callback_url_unittest.cc", | 38 "x_callback_url_unittest.cc", |
| 39 ] | 39 ] |
| 40 deps = [ | 40 deps = [ |
| 41 ":common", | 41 ":common", |
| 42 "//base", | 42 "//base", |
| 43 "//testing/gtest", | 43 "//testing/gtest", |
| 44 ] | 44 ] |
| 45 } | 45 } |
| 46 | 46 |
| 47 buildflag_header("ios_app_bundle_id_prefix_header") { | 47 buildflag_header("ios_app_bundle_id_prefix_header") { |
| 48 header = "ios_app_bundle_id_prefix.h" | 48 header = "ios_app_bundle_id_prefix.h" |
| 49 flags = [ "IOS_APP_BUNDLE_ID_PREFIX=\"$ios_app_bundle_id_prefix\"" ] | 49 flags = [ "IOS_APP_BUNDLE_ID_PREFIX=\"$ios_app_bundle_id_prefix\"" ] |
| 50 } | 50 } |
| OLD | NEW |