1 ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true) 2 LOCAL_PATH := $(call my-dir) 3 4 ifeq ($(strip $(USE_VIDEO_EFFECT)),true) 5 LOCAL_C_FLAGS := -DUSE_VIDEO_EFFECT 6 endif 7 8 ################################################################################ 9 10 include $(CLEAR_VARS) 11 12 ifeq ($(TARGET_HAS_VPP),true) 13 LOCAL_CFLAGS += -DTARGET_HAS_VPP 14 endif 15 16 LOCAL_SHARED_LIBRARIES := \ 17 libwrs_omxil_common \ 18 libva_videodecoder \ 19 liblog \ 20 libva \ 21 libva-android 22 23 LOCAL_C_INCLUDES := \ 24 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 25 $(TARGET_OUT_HEADERS)/khronos/openmax \ 26 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 27 $(TARGET_OUT_HEADERS)/libva \ 28 $(call include-path-for, frameworks-native)/media/hardware \ 29 $(call include-path-for, frameworks-native)/media/openmax 30 31 PLATFORM_USE_GEN_HW := \ 32 baytrail \ 33 cherrytrail 34 35 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 36 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 37 endif 38 39 LOCAL_SRC_FILES := \ 40 OMXComponentCodecBase.cpp\ 41 OMXVideoDecoderBase.cpp\ 42 OMXVideoDecoderAVC.cpp 43 LOCAL_CFLAGS += -Werror 44 LOCAL_MODULE_TAGS := optional 45 LOCAL_MODULE := libOMXVideoDecoderAVC 46 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 47 LOCAL_CFLAGS += -DVED_TILING 48 endif 49 50 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 51 LOCAL_CFLAGS += -DVED_TILING 52 endif 53 54 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 55 LOCAL_CFLAGS += -DVED_TILING 56 endif 57 58 ifeq ($(TARGET_VPP_USE_GEN),true) 59 LOCAL_CFLAGS += -DDEINTERLACE_EXT 60 endif 61 62 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 63 LOCAL_CFLAGS += -DUSE_GEN_HW 64 endif 65 66 include $(BUILD_SHARED_LIBRARY) 67 68 ################################################################################ 69 70 PLATFORM_SUPPORT_VP8 := \ 71 merrifield \ 72 morganfield \ 73 moorefield \ 74 baytrail \ 75 cherrytrail 76 77 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_SUPPORT_VP8)),) 78 include $(CLEAR_VARS) 79 80 ifeq ($(TARGET_HAS_VPP),true) 81 LOCAL_CFLAGS += -DTARGET_HAS_VPP 82 endif 83 84 LOCAL_SHARED_LIBRARIES := \ 85 libwrs_omxil_common \ 86 libva_videodecoder \ 87 liblog \ 88 libva \ 89 libva-android 90 91 LOCAL_C_INCLUDES := \ 92 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 93 $(TARGET_OUT_HEADERS)/khronos/openmax \ 94 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 95 $(TARGET_OUT_HEADERS)/libva \ 96 $(call include-path-for, frameworks-native)/media/hardware \ 97 $(call include-path-for, frameworks-native)/media/openmax 98 99 LOCAL_SRC_FILES := \ 100 OMXComponentCodecBase.cpp\ 101 OMXVideoDecoderBase.cpp\ 102 OMXVideoDecoderVP8.cpp 103 LOCAL_CFLAGS += -Werror 104 LOCAL_MODULE_TAGS := optional 105 LOCAL_MODULE := libOMXVideoDecoderVP8 106 107 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 108 LOCAL_CFLAGS += -DVED_TILING 109 endif 110 111 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 112 LOCAL_CFLAGS += -DVED_TILING 113 endif 114 115 PLATFORM_USE_GEN_HW := \ 116 baytrail \ 117 cherrytrail 118 119 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 120 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 121 endif 122 123 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 124 LOCAL_CFLAGS += -DUSE_GEN_HW 125 endif 126 127 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 128 LOCAL_CFLAGS += -DUSE_X_TILE 129 endif 130 131 include $(BUILD_SHARED_LIBRARY) 132 endif 133 134 ################################################################################ 135 136 # VP9 with SW decode and HW Render 137 include $(CLEAR_VARS) 138 139 ifeq ($(TARGET_HAS_VPP),true) 140 LOCAL_CFLAGS += -DTARGET_HAS_VPP 141 endif 142 143 LOCAL_SHARED_LIBRARIES := \ 144 libui \ 145 libwrs_omxil_common \ 146 libva_videodecoder \ 147 liblog \ 148 libva \ 149 libva-android \ 150 libva-tpi 151 152 LOCAL_STATIC_LIBRARIES := \ 153 libvpx_internal 154 155 LOCAL_C_INCLUDES := \ 156 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 157 $(TARGET_OUT_HEADERS)/khronos/openmax \ 158 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 159 $(TARGET_OUT_HEADERS)/libva \ 160 $(LOCAL_PATH)/libvpx_internal/libvpx \ 161 $(LOCAL_PATH)/libvpx_internal/libvpx/vpx_codec \ 162 $(LOCAL_PATH)/libvpx_internal/libvpx/vpx_ports \ 163 $(call include-path-for, frameworks-native)/media/hardware \ 164 $(call include-path-for, frameworks-native)/media/openmax 165 166 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 167 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 168 endif 169 170 LOCAL_SRC_FILES := \ 171 OMXComponentCodecBase.cpp\ 172 OMXVideoDecoderBase.cpp\ 173 OMXVideoDecoderVP9HWR.cpp 174 175 LOCAL_CFLAGS += -Werror 176 LOCAL_MODULE_TAGS := optional 177 LOCAL_MODULE := libOMXVideoDecoderVP9HWR 178 179 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 180 LOCAL_CFLAGS += -DVED_TILING 181 endif 182 183 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 184 LOCAL_CFLAGS += -DVED_TILING 185 endif 186 187 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 188 LOCAL_CFLAGS += -DUSE_GEN_HW 189 endif 190 include $(BUILD_SHARED_LIBRARY) 191 192 # VP9 hybrid decoder and HW Render 193 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 194 include $(CLEAR_VARS) 195 ifeq ($(TARGET_HAS_VPP),true) 196 LOCAL_CFLAGS += -DTARGET_HAS_VPP 197 endif 198 LOCAL_SHARED_LIBRARIES := \ 199 libui \ 200 libwrs_omxil_common \ 201 liblog \ 202 libva_videodecoder \ 203 libdl \ 204 205 LOCAL_C_INCLUDES := \ 206 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 207 $(TARGET_OUT_HEADERS)/khronos/openmax \ 208 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 209 $(TARGET_OUT_HEADERS)/libva \ 210 $(call include-path-for, frameworks-native)/media/hardware \ 211 $(call include-path-for, frameworks-native)/media/openmax 212 213 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 214 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 215 endif 216 217 LOCAL_SRC_FILES := \ 218 OMXComponentCodecBase.cpp\ 219 OMXVideoDecoderBase.cpp\ 220 OMXVideoDecoderVP9Hybrid.cpp 221 222 LOCAL_CFLAGS += -Werror 223 LOCAL_MODULE_TAGS := optional 224 LOCAL_MODULE := libOMXVideoDecoderVP9Hybrid 225 226 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 227 LOCAL_CFLAGS += -DVED_TILING 228 endif 229 230 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 231 LOCAL_CFLAGS += -DVED_TILING 232 endif 233 234 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 235 LOCAL_CFLAGS += -DUSE_GEN_HW 236 endif 237 include $(BUILD_SHARED_LIBRARY) 238 endif 239 240 include $(CLEAR_VARS) 241 ifeq ($(TARGET_HAS_VPP),true) 242 LOCAL_CFLAGS += -DTARGET_HAS_VPP 243 endif 244 245 LOCAL_SHARED_LIBRARIES := \ 246 libwrs_omxil_common \ 247 libva_videodecoder \ 248 liblog \ 249 libva \ 250 libva-android 251 252 LOCAL_C_INCLUDES := \ 253 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 254 $(TARGET_OUT_HEADERS)/khronos/openmax \ 255 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 256 $(TARGET_OUT_HEADERS)/libva \ 257 $(call include-path-for, frameworks-native)/media/hardware \ 258 $(call include-path-for, frameworks-native)/media/openmax 259 260 PLATFORM_USE_GEN_HW := \ 261 baytrail \ 262 cherrytrail 263 264 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 265 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 266 endif 267 268 LOCAL_SRC_FILES := \ 269 OMXComponentCodecBase.cpp\ 270 OMXVideoDecoderBase.cpp\ 271 OMXVideoDecoderMPEG4.cpp 272 LOCAL_CFLAGS += -Werror 273 LOCAL_MODULE_TAGS := optional 274 LOCAL_MODULE := libOMXVideoDecoderMPEG4 275 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 276 LOCAL_CFLAGS += -DVED_TILING 277 endif 278 279 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 280 LOCAL_CFLAGS += -DVED_TILING 281 endif 282 283 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 284 LOCAL_CFLAGS += -DVED_TILING 285 endif 286 287 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 288 LOCAL_CFLAGS += -DUSE_GEN_HW 289 endif 290 291 include $(BUILD_SHARED_LIBRARY) 292 293 ################################################################################ 294 295 include $(CLEAR_VARS) 296 ifeq ($(TARGET_HAS_VPP),true) 297 LOCAL_CFLAGS += -DTARGET_HAS_VPP 298 endif 299 300 LOCAL_SHARED_LIBRARIES := \ 301 libwrs_omxil_common \ 302 libva_videodecoder \ 303 liblog \ 304 libva \ 305 libva-android 306 307 LOCAL_C_INCLUDES := \ 308 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 309 $(TARGET_OUT_HEADERS)/khronos/openmax \ 310 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 311 $(TARGET_OUT_HEADERS)/libva \ 312 $(call include-path-for, frameworks-native)/media/hardware \ 313 $(call include-path-for, frameworks-native)/media/openmax 314 315 PLATFORM_USE_GEN_HW := \ 316 baytrail \ 317 cherrytrail 318 319 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 320 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 321 endif 322 323 LOCAL_SRC_FILES := \ 324 OMXComponentCodecBase.cpp\ 325 OMXVideoDecoderBase.cpp\ 326 OMXVideoDecoderH263.cpp 327 LOCAL_CFLAGS += -Werror 328 LOCAL_MODULE_TAGS := optional 329 LOCAL_MODULE := libOMXVideoDecoderH263 330 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 331 LOCAL_CFLAGS += -DVED_TILING 332 endif 333 334 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 335 LOCAL_CFLAGS += -DVED_TILING 336 endif 337 338 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 339 LOCAL_CFLAGS += -DVED_TILING 340 endif 341 342 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 343 LOCAL_CFLAGS += -DUSE_GEN_HW 344 endif 345 346 include $(BUILD_SHARED_LIBRARY) 347 348 ################################################################################ 349 350 include $(CLEAR_VARS) 351 ifeq ($(TARGET_HAS_VPP),true) 352 LOCAL_CFLAGS += -DTARGET_HAS_VPP 353 endif 354 355 LOCAL_SHARED_LIBRARIES := \ 356 libwrs_omxil_common \ 357 libva_videodecoder \ 358 liblog \ 359 libva \ 360 libva-android 361 362 LOCAL_C_INCLUDES := \ 363 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 364 $(TARGET_OUT_HEADERS)/khronos/openmax \ 365 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 366 $(TARGET_OUT_HEADERS)/libva \ 367 $(call include-path-for, frameworks-native)/media/hardware \ 368 $(call include-path-for, frameworks-native)/media/openmax 369 370 PLATFORM_USE_GEN_HW := \ 371 baytrail \ 372 cherrytrail 373 374 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 375 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 376 endif 377 378 LOCAL_SRC_FILES := \ 379 OMXComponentCodecBase.cpp\ 380 OMXVideoDecoderBase.cpp\ 381 OMXVideoDecoderWMV.cpp 382 LOCAL_CFLAGS += -Werror 383 LOCAL_MODULE_TAGS := optional 384 LOCAL_MODULE := libOMXVideoDecoderWMV 385 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 386 LOCAL_CFLAGS += -DVED_TILING 387 endif 388 389 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 390 LOCAL_CFLAGS += -DVED_TILING 391 endif 392 393 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 394 LOCAL_CFLAGS += -DVED_TILING 395 endif 396 397 ifeq ($(TARGET_VPP_USE_GEN),true) 398 LOCAL_CFLAGS += -DDEINTERLACE_EXT 399 endif 400 401 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 402 LOCAL_CFLAGS += -DUSE_GEN_HW 403 endif 404 405 include $(BUILD_SHARED_LIBRARY) 406 407 ################################################################################ 408 409 #Build secure AVC video decoder only on supported platforms 410 ifeq ($(USE_INTEL_SECURE_AVC),true) 411 412 include $(CLEAR_VARS) 413 ifeq ($(TARGET_HAS_VPP),true) 414 LOCAL_CFLAGS += -DTARGET_HAS_VPP 415 endif 416 417 LOCAL_SHARED_LIBRARIES := \ 418 libwrs_omxil_common \ 419 libdrm \ 420 libva_videodecoder \ 421 liblog \ 422 libva \ 423 libva-android 424 425 LOCAL_C_INCLUDES := \ 426 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 427 $(TARGET_OUT_HEADERS)/khronos/openmax \ 428 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 429 $(TARGET_OUT_HEADERS)/libva \ 430 $(TARGET_OUT_HEADERS)/libdrm \ 431 $(call include-path-for, frameworks-native)/media/hardware \ 432 $(call include-path-for, frameworks-native)/media/openmax \ 433 434 LOCAL_SRC_FILES := \ 435 OMXComponentCodecBase.cpp\ 436 OMXVideoDecoderBase.cpp 437 438 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 439 LOCAL_SRC_FILES += \ 440 securevideo/moorefield/OMXVideoDecoderAVCSecure.cpp \ 441 securevideo/moorefield/drm_vendor_api.c 442 LOCAL_CFLAGS += -DVED_TILING 443 LOCAL_SHARED_LIBRARIES += libdl 444 endif 445 446 LOCAL_CFLAGS += -Werror 447 LOCAL_MODULE_TAGS := optional 448 LOCAL_MODULE := libOMXVideoDecoderAVCSecure 449 450 include $(BUILD_SHARED_LIBRARY) 451 452 endif #USE_INTEL_SECURE_AVC 453 454 ################################################################################ 455 456 include $(CLEAR_VARS) 457 ifeq ($(TARGET_HAS_VPP),true) 458 LOCAL_CFLAGS += -DTARGET_HAS_VPP 459 endif 460 461 LOCAL_SHARED_LIBRARIES := \ 462 libwrs_omxil_common \ 463 liblog \ 464 libva_videoencoder \ 465 libva \ 466 libva-android \ 467 libva-tpi \ 468 libutils \ 469 libcutils \ 470 libhardware \ 471 libintelmetadatabuffer 472 473 LOCAL_C_INCLUDES := \ 474 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 475 $(TARGET_OUT_HEADERS)/khronos/openmax \ 476 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 477 $(TARGET_OUT_HEADERS)/libva \ 478 $(call include-path-for, frameworks-native)/media/hardware \ 479 $(call include-path-for, frameworks-native)/media/openmax \ 480 481 LOCAL_SRC_FILES := \ 482 OMXComponentCodecBase.cpp \ 483 OMXVideoEncoderBase.cpp \ 484 OMXVideoEncoderAVC.cpp 485 486 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 487 LOCAL_CFLAGS += -Werror 488 LOCAL_MODULE_TAGS := optional 489 LOCAL_MODULE := libOMXVideoEncoderAVC 490 include $(BUILD_SHARED_LIBRARY) 491 492 ################################################################################ 493 494 include $(CLEAR_VARS) 495 ifeq ($(TARGET_HAS_VPP),true) 496 LOCAL_CFLAGS += -DTARGET_HAS_VPP 497 endif 498 499 LOCAL_SHARED_LIBRARIES := \ 500 libwrs_omxil_common \ 501 liblog \ 502 libva_videoencoder \ 503 libva \ 504 libva-android \ 505 libva-tpi \ 506 libutils \ 507 libcutils \ 508 libhardware \ 509 libintelmetadatabuffer 510 511 LOCAL_C_INCLUDES := \ 512 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 513 $(TARGET_OUT_HEADERS)/khronos/openmax \ 514 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 515 $(TARGET_OUT_HEADERS)/libva \ 516 $(call include-path-for, frameworks-native)/media/hardware \ 517 $(call include-path-for, frameworks-native)/media/openmax \ 518 519 LOCAL_SRC_FILES := \ 520 OMXComponentCodecBase.cpp \ 521 OMXVideoEncoderBase.cpp \ 522 OMXVideoEncoderH263.cpp 523 524 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 525 526 ifeq ($(SW_MPEG4_ENCODER),true) 527 LOCAL_CFLAGS += -DSYNC_MODE 528 endif 529 LOCAL_CFLAGS += -Werror 530 LOCAL_MODULE_TAGS := optional 531 LOCAL_MODULE := libOMXVideoEncoderH263 532 include $(BUILD_SHARED_LIBRARY) 533 534 ################################################################################ 535 536 include $(CLEAR_VARS) 537 ifeq ($(TARGET_HAS_VPP),true) 538 LOCAL_CFLAGS += -DTARGET_HAS_VPP 539 endif 540 541 LOCAL_SHARED_LIBRARIES := \ 542 libwrs_omxil_common \ 543 liblog \ 544 libva_videoencoder \ 545 libva \ 546 libva-android \ 547 libva-tpi \ 548 libutils \ 549 libcutils \ 550 libhardware \ 551 libintelmetadatabuffer 552 553 LOCAL_C_INCLUDES := \ 554 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 555 $(TARGET_OUT_HEADERS)/khronos/openmax \ 556 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 557 $(TARGET_OUT_HEADERS)/libva \ 558 $(call include-path-for, frameworks-native)/media/hardware \ 559 $(call include-path-for, frameworks-native)/media/openmax \ 560 561 LOCAL_SRC_FILES := \ 562 OMXComponentCodecBase.cpp \ 563 OMXVideoEncoderBase.cpp \ 564 OMXVideoEncoderMPEG4.cpp 565 566 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 567 568 LOCAL_CFLAGS += -Werror 569 LOCAL_MODULE_TAGS := optional 570 LOCAL_MODULE := libOMXVideoEncoderMPEG4 571 include $(BUILD_SHARED_LIBRARY) 572 573 ################################################################################ 574 575 include $(CLEAR_VARS) 576 ifeq ($(TARGET_HAS_VPP),true) 577 LOCAL_CFLAGS += -DTARGET_HAS_VPP 578 endif 579 580 LOCAL_SHARED_LIBRARIES := \ 581 libwrs_omxil_common \ 582 libva_videodecoder \ 583 liblog \ 584 libva \ 585 libva-android 586 587 LOCAL_C_INCLUDES := \ 588 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 589 $(TARGET_OUT_HEADERS)/khronos/openmax \ 590 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 591 $(TARGET_OUT_HEADERS)/libva \ 592 $(call include-path-for, frameworks-native)/media/hardware \ 593 $(call include-path-for, frameworks-native)/media/openmax 594 595 LOCAL_SRC_FILES := \ 596 OMXComponentCodecBase.cpp\ 597 OMXVideoDecoderBase.cpp\ 598 OMXVideoDecoderPAVC.cpp 599 600 LOCAL_CFLAGS += -Werror 601 LOCAL_MODULE_TAGS := optional 602 LOCAL_MODULE := libOMXVideoDecoderPAVC 603 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 604 LOCAL_CFLAGS += -DVED_TILING 605 endif 606 607 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 608 LOCAL_CFLAGS += -DVED_TILING 609 endif 610 611 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 612 LOCAL_CFLAGS += -DVED_TILING 613 endif 614 615 include $(BUILD_SHARED_LIBRARY) 616 617 ################################################################################ 618 619 include $(CLEAR_VARS) 620 ifeq ($(TARGET_HAS_VPP),true) 621 LOCAL_CFLAGS += -DTARGET_HAS_VPP 622 endif 623 624 LOCAL_SHARED_LIBRARIES := \ 625 libwrs_omxil_common \ 626 liblog \ 627 libva_videoencoder \ 628 libva \ 629 libva-android \ 630 libva-tpi \ 631 libutils \ 632 libcutils \ 633 libhardware \ 634 libintelmetadatabuffer 635 636 LOCAL_C_INCLUDES := \ 637 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 638 $(TARGET_OUT_HEADERS)/khronos/openmax \ 639 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 640 $(TARGET_OUT_HEADERS)/libva \ 641 $(call include-path-for, frameworks-native)/media/hardware \ 642 $(call include-path-for, frameworks-native)/media/openmax \ 643 644 LOCAL_SRC_FILES := \ 645 OMXComponentCodecBase.cpp \ 646 OMXVideoEncoderBase.cpp \ 647 OMXVideoEncoderVP8.cpp 648 649 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 650 LOCAL_CFLAGS += -Werror 651 LOCAL_MODULE_TAGS := optional 652 LOCAL_MODULE := libOMXVideoEncoderVP8 653 include $(BUILD_SHARED_LIBRARY) 654 655 endif # ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true) 656