Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / config / android / CHIPProjectConfig.h
1 /*
2  *
3  *    Copyright (c) 2020-2021 Project CHIP Authors
4  *    Copyright (c) 2016-2017 Nest Labs, Inc.
5  *    Copyright (c) 2019-2020 Google LLC.
6  *    All rights reserved.
7  *
8  *    Licensed under the Apache License, Version 2.0 (the "License");
9  *    you may not use this file except in compliance with the License.
10  *    You may obtain a copy of the License at
11  *
12  *        http://www.apache.org/licenses/LICENSE-2.0
13  *
14  *    Unless required by applicable law or agreed to in writing, software
15  *    distributed under the License is distributed on an "AS IS" BASIS,
16  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  *    See the License for the specific language governing permissions and
18  *    limitations under the License.
19  */
20
21 /**
22  *    @file
23  *      Project-specific configuration file for Android builds.
24  *
25  */
26 #ifndef CHIPPROJECTCONFIG_H
27 #define CHIPPROJECTCONFIG_H
28
29 // Enable use of an ephemeral UDP source port for locally initiated CHIP exchanges.
30 #define CHIP_CONFIG_ENABLE_EPHEMERAL_UDP_PORT 1
31
32 // Enable UDP listening on demand in the CHIPDeviceController
33 #define CHIP_CONFIG_DEVICE_CONTROLLER_DEMAND_ENABLE_UDP 1
34
35 #define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
36
37 // Enable passcode encryption configuration 1
38 #define CHIP_CONFIG_SUPPORT_PASSCODE_CONFIG1_TEST_ONLY 1
39
40 // Uncomment this for a large Tunnel MTU.
41 //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU                           (9000)
42
43 #define CHIP_CONFIG_LEGACY_CASE_AUTH_DELEGATE 0
44
45 #define CHIP_CONFIG_LEGACY_KEY_EXPORT_DELEGATE 0
46
47 #define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 300
48
49 #define CHIP_CONFIG_ENABLE_FUNCT_ERROR_LOGGING 1
50
51 #define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
52
53 #define CHIP_CONFIG_MAX_SOFTWARE_VERSION_LENGTH 128
54
55 #endif /* CHIPPROJECTCONFIG_H */