diff options
Diffstat (limited to 'chromium/device/fido/BUILD.gn')
-rw-r--r-- | chromium/device/fido/BUILD.gn | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/chromium/device/fido/BUILD.gn b/chromium/device/fido/BUILD.gn index ea09dff5dfb..9ac467aa604 100644 --- a/chromium/device/fido/BUILD.gn +++ b/chromium/device/fido/BUILD.gn @@ -31,34 +31,48 @@ component("fido") { "ctap_get_assertion_request.h", "ctap_make_credential_request.cc", "ctap_make_credential_request.h", + "ctap_register_operation.cc", + "ctap_register_operation.h", + "device_operation.h", "device_response_converter.cc", "device_response_converter.h", "ec_public_key.cc", "ec_public_key.h", "fido_attestation_statement.cc", "fido_attestation_statement.h", + "fido_authenticator.h", "fido_ble_connection.cc", "fido_ble_connection.h", "fido_ble_device.cc", "fido_ble_device.h", "fido_ble_discovery.cc", "fido_ble_discovery.h", + "fido_ble_discovery_base.cc", + "fido_ble_discovery_base.h", "fido_ble_frames.cc", "fido_ble_frames.h", "fido_ble_transaction.cc", "fido_ble_transaction.h", "fido_ble_uuids.cc", "fido_ble_uuids.h", + "fido_cable_device.cc", + "fido_cable_device.h", + "fido_cable_discovery.cc", + "fido_cable_discovery.h", "fido_constants.cc", "fido_constants.h", "fido_device.cc", "fido_device.h", + "fido_device_authenticator.cc", + "fido_device_authenticator.h", "fido_discovery.cc", "fido_discovery.h", "fido_hid_message.cc", "fido_hid_message.h", "fido_hid_packet.cc", "fido_hid_packet.h", + "fido_parsing_utils.cc", + "fido_parsing_utils.h", "fido_request_handler.h", "fido_request_handler_base.cc", "fido_request_handler_base.h", @@ -89,8 +103,8 @@ component("fido") { "public_key_credential_user_entity.h", "response_data.cc", "response_data.h", - "u2f_parsing_utils.cc", - "u2f_parsing_utils.h", + "u2f_command_constructor.cc", + "u2f_command_constructor.h", "u2f_register.cc", "u2f_register.h", "u2f_request.cc", @@ -99,6 +113,8 @@ component("fido") { "u2f_sign.h", "virtual_fido_device.cc", "virtual_fido_device.h", + "virtual_u2f_device.cc", + "virtual_u2f_device.h", ] defines = [ "IS_DEVICE_FIDO_IMPL" ] @@ -119,6 +135,8 @@ component("fido") { "//services/device/public/mojom", ] + libs = [] # Extended for mac. + # HID is not supported on Android. if (!is_android) { sources += [ @@ -133,6 +151,31 @@ component("fido") { "//services/device/public/mojom", ] } + + if (is_mac) { + sources += [ + "mac/authenticator.h", + "mac/authenticator.mm", + "mac/get_assertion_operation.h", + "mac/get_assertion_operation.mm", + "mac/keychain.h", + "mac/keychain.mm", + "mac/make_credential_operation.h", + "mac/make_credential_operation.mm", + "mac/operation.h", + "mac/operation_base.h", + "mac/touch_id_context.h", + "mac/touch_id_context.mm", + "mac/util.h", + "mac/util.mm", + ] + + libs += [ + "Foundation.framework", + "LocalAuthentication.framework", + "Security.framework", + ] + } } source_set("mocks") { |