14b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# Copyright (C) 2009 The Android Open Source Project 24b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# 34b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# Licensed under the Apache License, Version 2.0 (the "License"); 44b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# you may not use this file except in compliance with the License. 54b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# You may obtain a copy of the License at 64b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# 74b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# http://www.apache.org/licenses/LICENSE-2.0 84b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# 94b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# Unless required by applicable law or agreed to in writing, software 104b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# distributed under the License is distributed on an "AS IS" BASIS, 114b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 124b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# See the License for the specific language governing permissions and 134b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# limitations under the License. 144b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 154b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_PATH:= $(call my-dir) 164b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 174b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Cheninclude $(CLEAR_VARS) 184b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 194b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_SRC_FILES := \ 204b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen omx_jpeg_decoder.cpp \ 214b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen jpeg_decoder_bench.cpp \ 224b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen SkOmxPixelRef.cpp \ 234b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen StreamSource.cpp 244b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 254b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 264b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen# add external/skia/src/images/SkImageDecoder_libjpeg.cpp 274b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_SRC_FILES += \ 284b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen ../../../../../external/skia/src/images/SkImageDecoder_libjpeg.cpp 294b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 304b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_SHARED_LIBRARIES := \ 314b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen libcutils \ 324b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen libskia \ 335038c78f1373bf97bcb8fd030928b3cde2051ac6Doug Kwan libstagefright \ 345038c78f1373bf97bcb8fd030928b3cde2051ac6Doug Kwan libbinder \ 35474a97a428bcee2e1bd8d299d6dd378e2f4c0a5cDoug Kwan libutils \ 36474a97a428bcee2e1bd8d299d6dd378e2f4c0a5cDoug Kwan libjpeg 374b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 384b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_C_INCLUDES := \ 39b355012797dfd503eee9f80ed06bc30a17cc3318Wei-Ta Chen $(JNI_H_INCLUDE) \ 404b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/jpeg \ 414b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/skia/include/config \ 424b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/skia/include/core \ 434b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/skia/include/images \ 444b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/skia/include/utils \ 454b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/external/skia/include/effects \ 464b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/frameworks/base/media/libstagefright \ 47a4f391c9bf581af19d6dec4603c194126995b6bfAndreas Huber $(TOP)/frameworks/base/include/media/stagefright/openmax \ 484b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/frameworks/base/include/ \ 494b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen $(TOP)/frameworks/base/ 504b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 514b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_MODULE := jpeg_bench 524b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 534b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta ChenLOCAL_MODULE_TAGS := optional 544b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Chen 554b6f4942fcef3300b407d9a07a680c07b162333fWei-Ta Cheninclude $(BUILD_EXECUTABLE) 56