Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("cells") { | 5 source_set("cells") { |
| 6 sources = [ | 6 sources = [ |
| 7 "account_signin_item.h", | 7 "account_signin_item.h", |
| 8 "account_signin_item.mm", | 8 "account_signin_item.mm", |
| 9 "autofill_data_item.h", | 9 "autofill_data_item.h", |
| 10 "autofill_data_item.mm", | 10 "autofill_data_item.mm", |
| 11 "autofill_edit_item.h", | 11 "autofill_edit_item.h", |
| 12 "autofill_edit_item.mm", | 12 "autofill_edit_item.mm", |
| 13 "byo_textfield_item.h", | 13 "byo_textfield_item.h", |
| 14 "byo_textfield_item.mm", | 14 "byo_textfield_item.mm", |
| 15 "card_multiline_item.h", | 15 "card_multiline_item.h", |
| 16 "card_multiline_item.mm", | 16 "card_multiline_item.mm", |
| 17 "copied_to_chrome_item.h", | 17 "copied_to_chrome_item.h", |
| 18 "copied_to_chrome_item.mm", | 18 "copied_to_chrome_item.mm", |
| 19 "encryption_item.h", | 19 "encryption_item.h", |
| 20 "encryption_item.mm", | 20 "encryption_item.mm", |
| 21 "import_data_multiline_detail_cell.h", | 21 "import_data_multiline_detail_cell.h", |
| 22 "import_data_multiline_detail_cell.mm", | 22 "import_data_multiline_detail_cell.mm", |
| 23 "native_app_item.h", | 23 "native_app_item.h", |
| 24 "native_app_item.mm", | 24 "native_app_item.mm", |
| 25 "passphrase_error_item.h", | 25 "passphrase_error_item.h", |
| 26 "passphrase_error_item.mm", | 26 "passphrase_error_item.mm", |
| 27 "password_details_item.h", | 27 "password_details_item.h", |
| 28 "password_details_item.mm", | 28 "password_details_item.mm", |
| 29 "signin_promo_item.h", | |
| 30 "signin_promo_item.mm", | |
| 31 "sync_switch_item.h", | 29 "sync_switch_item.h", |
| 32 "sync_switch_item.mm", | 30 "sync_switch_item.mm", |
| 33 "text_and_error_item.h", | 31 "text_and_error_item.h", |
| 34 "text_and_error_item.mm", | 32 "text_and_error_item.mm", |
| 35 "version_item.h", | 33 "version_item.h", |
| 36 "version_item.mm", | 34 "version_item.mm", |
| 37 ] | 35 ] |
| 38 | 36 |
| 39 deps = [ | 37 deps = [ |
| 40 "//components/autofill/core/browser", | 38 "//components/autofill/core/browser", |
| 41 "//components/strings", | 39 "//components/strings", |
| 42 "//ios/chrome/app/strings", | 40 "//ios/chrome/app/strings", |
|
lpromero
2017/03/24 10:36:20
Is this still needed? Probably.
jlebel
2017/03/24 20:59:10
Needed for "ios/chrome/grit/ios_chromium_strings.h
| |
| 43 "//ios/chrome/browser/ui", | 41 "//ios/chrome/browser/ui", |
| 44 "//ios/chrome/browser/ui/collection_view/cells", | 42 "//ios/chrome/browser/ui/collection_view/cells", |
| 45 "//ios/chrome/browser/ui/colors", | 43 "//ios/chrome/browser/ui/colors", |
| 46 "//ios/third_party/material_roboto_font_loader_ios", | 44 "//ios/third_party/material_roboto_font_loader_ios", |
| 47 "//ui/base", | 45 "//ui/base", |
|
lpromero
2017/03/24 10:36:20
Is this still needed? Probably.
jlebel
2017/03/24 20:59:10
Needed for ui/base/l10n/l10n_util.h.
| |
| 48 ] | 46 ] |
| 49 | 47 |
| 50 configs += [ "//build/config/compiler:enable_arc" ] | 48 configs += [ "//build/config/compiler:enable_arc" ] |
| 51 } | 49 } |
| 52 | 50 |
| 53 source_set("unit_tests") { | 51 source_set("unit_tests") { |
| 54 testonly = true | 52 testonly = true |
| 55 sources = [ | 53 sources = [ |
| 56 "account_signin_item_unittest.mm", | 54 "account_signin_item_unittest.mm", |
| 57 "autofill_data_item_unittest.mm", | 55 "autofill_data_item_unittest.mm", |
| 58 "autofill_edit_item_unittest.mm", | 56 "autofill_edit_item_unittest.mm", |
| 59 "byo_textfield_item_unittest.mm", | 57 "byo_textfield_item_unittest.mm", |
| 60 "card_multiline_item_unittest.mm", | 58 "card_multiline_item_unittest.mm", |
| 61 "copied_to_chrome_item_unittest.mm", | 59 "copied_to_chrome_item_unittest.mm", |
| 62 "encryption_item_unittest.mm", | 60 "encryption_item_unittest.mm", |
| 63 "import_data_multiline_detail_cell_unittest.mm", | 61 "import_data_multiline_detail_cell_unittest.mm", |
| 64 "native_app_item_unittest.mm", | 62 "native_app_item_unittest.mm", |
| 65 "passphrase_error_item_unittest.mm", | 63 "passphrase_error_item_unittest.mm", |
| 66 "password_details_item_unittest.mm", | 64 "password_details_item_unittest.mm", |
| 67 "signin_promo_item_unittest.mm", | |
| 68 "sync_switch_item_unittest.mm", | 65 "sync_switch_item_unittest.mm", |
| 69 "text_and_error_item_unittest.mm", | 66 "text_and_error_item_unittest.mm", |
| 70 "version_item_unittest.mm", | 67 "version_item_unittest.mm", |
| 71 ] | 68 ] |
| 72 | 69 |
| 73 deps = [ | 70 deps = [ |
| 74 ":cells", | 71 ":cells", |
| 75 "//components/strings", | 72 "//components/strings", |
| 76 "//ios/chrome/app/strings", | 73 "//ios/chrome/app/strings", |
| 77 "//ios/chrome/browser/ui/collection_view/cells", | 74 "//ios/chrome/browser/ui/collection_view/cells", |
| 78 "//ios/chrome/browser/ui/collection_view/cells:test_support", | 75 "//ios/chrome/browser/ui/collection_view/cells:test_support", |
| 79 "//testing/gtest", | 76 "//testing/gtest", |
| 80 "//ui/base", | 77 "//ui/base", |
| 81 ] | 78 ] |
| 82 | 79 |
| 83 configs += [ "//build/config/compiler:enable_arc" ] | 80 configs += [ "//build/config/compiler:enable_arc" ] |
| 84 } | 81 } |
| OLD | NEW |