Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 1 | PRODUCT_SOONG_NAMESPACES += \ |
Krzysztof Kosiński | 1316da7 | 2023-06-02 05:11:57 +0000 | [diff] [blame] | 2 | hardware/google/camera |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 3 | |
| 4 | $(call soong_config_set,lyric,use_lyric_camera_hal,true) |
| 5 | $(call soong_config_set,google3a_config,gcam_awb,true) |
| 6 | $(call soong_config_set,google3a_config,ghawb_truetone,true) |
| 7 | |
Baligh Uddin | 941dc90 | 2024-07-09 23:19:23 +0000 | [diff] [blame] | 8 | # Flag controls whether Lyric apex can be located in the dist-directory. |
| 9 | $(call soong_config_set, lyric, dist_lyric_apex, $(RELEASE_PIXEL_DIST_LYRIC_APEX)) |
| 10 | |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 11 | # Select GCH backend. |
| 12 | # TODO(b/192681010): This dependency inversion should be removed. |
| 13 | ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),) |
| 14 | $(call soong_config_set,gch,hwl_library,lyric) |
| 15 | endif |
| 16 | |
Baligh Uddin | 29b454d | 2024-08-13 14:47:50 +0000 | [diff] [blame] | 17 | # Use build-time flag to select whether to build from source |
| 18 | # or ingest prebuilt-apex. We would want the development teams |
| 19 | # using release configuration: (trunk-staging) to build from source. |
| 20 | # All shipping releases will switch to prebuilts (trunk+) |
| 21 | # if this condition is not true, then build from source. |
| 22 | |
| 23 | ifneq ($(RELEASE_PIXEL_CAMERA_ENABLE_PREBUILT),true) |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 24 | |
| 25 | PRODUCT_SOONG_NAMESPACES += \ |
| 26 | vendor/google/camera \ |
| 27 | vendor/google/camera/google_3a/libs_v4 \ |
| 28 | vendor/google/camera/rlsservice |
| 29 | |
| 30 | # TODO(b/257379485): 3A is incrementally enabling cuttlefish build for native |
| 31 | # code coverage support, temporary require separate namespace for folders that |
| 32 | # can be built successfully. |
| 33 | PRODUCT_SOONG_NAMESPACES += \ |
Cherry Ng | 6ff7ca0 | 2023-06-30 23:42:49 +0800 | [diff] [blame] | 34 | vendor/google/camera/common/g3_shared \ |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 35 | vendor/google/camera/google_3a/libs_v4/g3ABase \ |
| 36 | vendor/google/camera/google_3a/libs_v4/gABC/native_coverage \ |
| 37 | vendor/google/camera/google_3a/libs_v4/gAF \ |
| 38 | vendor/google/camera/google_3a/libs_v4/gafd \ |
| 39 | vendor/google/camera/google_3a/libs_v4/gHAWB/native_coverage |
| 40 | |
| 41 | # Calibration tool for debug builds |
| 42 | PRODUCT_PACKAGES_DEBUG += tarasque_test |
Raja Ramachandran | cf1faab | 2023-12-06 11:18:50 +0800 | [diff] [blame] | 43 | PRODUCT_PACKAGES_DEBUG += ProtoCalibGenerator |
Baligh Uddin | 29b454d | 2024-08-13 14:47:50 +0000 | [diff] [blame] | 44 | endif # RELEASE_PIXEL_CAMERA_ENABLE_PREBUILT check |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 45 | |
| 46 | # Init-time log settings for Google 3A |
| 47 | PRODUCT_PACKAGES += libg3a_standalone_gabc_rc |
| 48 | PRODUCT_PACKAGES += libg3a_standalone_gaf_rc |
| 49 | PRODUCT_PACKAGES += libg3a_standalone_ghawb_rc |
| 50 | |
| 51 | # Vendor APEX which contains the camera HAL |
| 52 | PRODUCT_PACKAGES += com.google.pixel.camera.hal |
| 53 | PRODUCT_PACKAGES += init.camera.set-interrupts-ownership |
Krzysztof Kosiński | b105faa | 2023-05-04 05:29:28 +0000 | [diff] [blame] | 54 | PRODUCT_PACKAGES += lyric_preview_dis_xml |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 55 | |
Utku Utkan | 12a1666 | 2023-06-14 16:03:27 -0700 | [diff] [blame] | 56 | DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \ |
| 57 | device/google/gs-common/camera/device_framework_matrix_product.xml |
| 58 | |
Utku Utkan | 7b4794f | 2023-06-21 08:56:46 -0700 | [diff] [blame] | 59 | DEVICE_MATRIX_FILE += \ |
| 60 | device/google/gs-common/camera/compatibility_matrix.xml |
| 61 | |
Krzysztof Kosiński | eea841f | 2023-04-29 09:26:55 +0000 | [diff] [blame] | 62 | # sepolicy dir is added in dump.mk. |
| 63 | # Make doesn't deduplicate sepolicy dirs, so including it here causes build errors. |