Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / controller / java / 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 #pragma once
27
28 // Enable use of an ephemeral UDP source port for locally initiated CHIP exchanges.
29 #define CHIP_CONFIG_ENABLE_EPHEMERAL_UDP_PORT 1
30
31 // Enable UDP listening on demand in the CHIPDeviceController
32 #define CHIP_CONFIG_DEVICE_CONTROLLER_DEMAND_ENABLE_UDP 1
33
34 #define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
35
36 // Enable passcode encryption configuration 1
37 #define CHIP_CONFIG_SUPPORT_PASSCODE_CONFIG1_TEST_ONLY 1
38
39 // Uncomment this for a large Tunnel MTU.
40 //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU                           (9000)
41
42 #define CHIP_CONFIG_LEGACY_CASE_AUTH_DELEGATE 0
43
44 #define CHIP_CONFIG_LEGACY_KEY_EXPORT_DELEGATE 0
45
46 #define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 300
47
48 #define CHIP_CONFIG_ENABLE_FUNCT_ERROR_LOGGING 1
49
50 #define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
51
52 #define CHIP_CONFIG_MAX_SOFTWARE_VERSION_LENGTH 128