Home | History | Annotate | Download | only in libxcam
      1 cc_defaults {
      2     name: "libxcam_defaults",
      3 
      4     cflags: [
      5         // XCam Version Num 1.1.0
      6         "-DXCAM_VERSION=0x110",
      7 
      8         "-fPIC",
      9         "-W",
     10         "-Wall",
     11         "-D_REENTRANT",
     12         "-Wformat",
     13         "-Wno-unused-parameter",
     14         "-Wformat-security",
     15         "-fstack-protector",
     16         "-DANDROID",
     17     ],
     18 
     19     local_include_dirs: [
     20         "xcore",
     21         "modules",
     22     ],
     23 }
     24 
     25 // For libxcam
     26 // =================================================
     27 cc_library_shared {
     28     name: "libxcam",
     29     defaults: ["libxcam_defaults"],
     30 
     31     srcs: [
     32         "xcore/buffer_pool.cpp",
     33         "xcore/calibration_parser.cpp",
     34         "xcore/file_handle.cpp",
     35         "xcore/image_file_handle.cpp",
     36         "xcore/image_handler.cpp",
     37         "xcore/surview_fisheye_dewarp.cpp",
     38         "xcore/thread_pool.cpp",
     39         "xcore/video_buffer.cpp",
     40         "xcore/worker.cpp",
     41         "xcore/xcam_buffer.cpp",
     42         "xcore/xcam_common.cpp",
     43         "xcore/xcam_thread.cpp",
     44         "xcore/xcam_utils.cpp",
     45         "xcore/interface/blender.cpp",
     46         "xcore/interface/feature_match.cpp",
     47         "xcore/interface/geo_mapper.cpp",
     48         "xcore/interface/stitcher.cpp",
     49 
     50         "modules/soft/soft_blender.cpp",
     51         "modules/soft/soft_blender_tasks_priv.cpp",
     52         "modules/soft/soft_copy_task.cpp",
     53         "modules/soft/soft_geo_mapper.cpp",
     54         "modules/soft/soft_geo_tasks_priv.cpp",
     55         "modules/soft/soft_handler.cpp",
     56         "modules/soft/soft_stitcher.cpp",
     57         "modules/soft/soft_video_buf_allocator.cpp",
     58         "modules/soft/soft_worker.cpp",
     59     ],
     60 
     61     rtti: true,
     62 }
     63 
     64 // For test-soft-image
     65 // =================================================
     66 cc_test {
     67     name: "test-soft-image",
     68     defaults: ["libxcam_defaults"],
     69 
     70     gtest: false,
     71     srcs: ["tests/test-soft-image.cpp"],
     72     shared_libs: ["libxcam"],
     73 
     74     local_include_dirs: ["tests"],
     75 }
     76