1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5cc_library_shared { 6 name: "libProxyConfig", 7 srcs: [ 8 "libProxyConfig.cpp", 9 ], 10 shared_libs: [ 11 "libjsoncpp", 12 ], 13 apex_available: [ 14 "//apex_available:platform", 15 "//apex_available:anyapex", 16 ], 17 export_include_dirs: ["include"], 18 export_shared_lib_headers: ["libjsoncpp"], 19 host_supported: true, 20 vendor_available: true, 21} 22 23cc_binary { 24 name: "automotive_vsock_proxy", 25 srcs: ["proxy.cpp"], 26 shared_libs: [ 27 "libProxyConfig", 28 ], 29 target: { 30 host: { 31 static_libs: [ 32 "libcuttlefish_host_config", 33 ], 34 }, 35 }, 36 defaults: ["cuttlefish_base"], 37 host_supported: true, 38 vendor: true, 39} 40 41// For CF CVD Host Package 42filegroup { 43 name: "automotive_proxy_config_file_group", 44 srcs: ["proxy_config.json"], 45} 46 47prebuilt_etc_host { 48 name: "automotive_proxy_config", 49 filename: "proxy_config.json", 50 sub_dir: "automotive", 51 src: ":automotive_proxy_config_file_group", 52} 53