16f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# 26f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Copyright (C) 2015 The Android Open Source Project 36f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# 46f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Licensed under the Apache License, Version 2.0 (the "License"); 56f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# you may not use this file except in compliance with the License. 66f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# You may obtain a copy of the License at 76f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# 86f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# http://www.apache.org/licenses/LICENSE-2.0 96f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# 106f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Unless required by applicable law or agreed to in writing, software 116f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# distributed under the License is distributed on an "AS IS" BASIS, 126f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 136f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# See the License for the specific language governing permissions and 146f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# limitations under the License. 156f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# 1664587af8179affd38ee26543b748f2d63b7f67bbAdam LesinskiLOCAL_PATH:= $(call my-dir) 176f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 186f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 196f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Setup some common variables for the different build 206f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# targets here. 216f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 226f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 236f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskimain := Main.cpp 246f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskisources := \ 251ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/IdAssigner.cpp \ 261ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/Png.cpp \ 27393b5f0d6130d3848dd82075986a5cf40c09ce44Adam Lesinski compile/PseudolocaleGenerator.cpp \ 28393b5f0d6130d3848dd82075986a5cf40c09ce44Adam Lesinski compile/Pseudolocalizer.cpp \ 291ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/XmlIdCollector.cpp \ 306a008170cb18666e04c42856f992fc7a0afa1e1fAdam Lesinski filter/ConfigFilter.cpp \ 311ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski flatten/Archive.cpp \ 321ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski flatten/TableFlattener.cpp \ 331ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski flatten/XmlFlattener.cpp \ 34a6fe345be955368a13aea76aefb4db821aad11dfAdam Lesinski io/FileSystem.cpp \ 35a6fe345be955368a13aea76aefb4db821aad11dfAdam Lesinski io/ZipArchive.cpp \ 361ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/AutoVersioner.cpp \ 372ae4a877d1623f851040ce69239552c873f1abf0Adam Lesinski link/ManifestFixer.cpp \ 38e4bb9eb5af5b0899dc0921d5580220b20e15bd5aAdam Lesinski link/ProductFilter.cpp \ 391ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/PrivateAttributeMover.cpp \ 401ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/ReferenceLinker.cpp \ 411ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/TableMerger.cpp \ 421ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/XmlReferenceLinker.cpp \ 431ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski process/SymbolTable.cpp \ 4459e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski proto/ProtoHelpers.cpp \ 4559e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski proto/TableProtoDeserializer.cpp \ 4659e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski proto/TableProtoSerializer.cpp \ 47355f285ffd000f6cfe76680eb22d010546d124bbAdam Lesinski split/TableSplitter.cpp \ 481ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski unflatten/BinaryResourceParser.cpp \ 491ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski unflatten/ResChunkPullParser.cpp \ 501ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/BigBuffer.cpp \ 511ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/Files.cpp \ 521ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/Util.cpp \ 536f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ConfigDescription.cpp \ 54330edcdf1316ed599fe0eb16a64330821fd92f18Adam Lesinski Debug.cpp \ 551ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski Flags.cpp \ 56ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/AnnotationProcessor.cpp \ 576cbfb1de493e42d937158ed57495c9656864ccbaAdam Lesinski java/ClassDefinition.cpp \ 58ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/JavaClassGenerator.cpp \ 59ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/ManifestClassGenerator.cpp \ 60ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/ProguardRules.cpp \ 616f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski Locale.cpp \ 626f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski Resource.cpp \ 636f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ResourceParser.cpp \ 646f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ResourceTable.cpp \ 651ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski ResourceUtils.cpp \ 666f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ResourceValues.cpp \ 676f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski SdkConstants.cpp \ 686f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski StringPool.cpp \ 69cc5609d8e484ec82ef1dced793af7f674f059b1cAdam Lesinski xml/XmlActionExecutor.cpp \ 70467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlDom.cpp \ 71467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlPullParser.cpp \ 72467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlUtil.cpp 736f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 7459e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinskisources += Format.proto 7559e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski 766f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskitestSources := \ 771ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/IdAssigner_test.cpp \ 78393b5f0d6130d3848dd82075986a5cf40c09ce44Adam Lesinski compile/PseudolocaleGenerator_test.cpp \ 79393b5f0d6130d3848dd82075986a5cf40c09ce44Adam Lesinski compile/Pseudolocalizer_test.cpp \ 801ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/XmlIdCollector_test.cpp \ 816a008170cb18666e04c42856f992fc7a0afa1e1fAdam Lesinski filter/ConfigFilter_test.cpp \ 821ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski flatten/TableFlattener_test.cpp \ 831ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski flatten/XmlFlattener_test.cpp \ 841ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/AutoVersioner_test.cpp \ 852ae4a877d1623f851040ce69239552c873f1abf0Adam Lesinski link/ManifestFixer_test.cpp \ 861ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/PrivateAttributeMover_test.cpp \ 87e4bb9eb5af5b0899dc0921d5580220b20e15bd5aAdam Lesinski link/ProductFilter_test.cpp \ 881ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/ReferenceLinker_test.cpp \ 891ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/TableMerger_test.cpp \ 901ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/XmlReferenceLinker_test.cpp \ 911ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski process/SymbolTable_test.cpp \ 9259e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski proto/TableProtoSerializer_test.cpp \ 93355f285ffd000f6cfe76680eb22d010546d124bbAdam Lesinski split/TableSplitter_test.cpp \ 941ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/BigBuffer_test.cpp \ 9596917c25f09bb2f33e22f20cdfa4ece8f310b084Adam Lesinski util/Files_test.cpp \ 961ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/Maybe_test.cpp \ 971ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/StringPiece_test.cpp \ 981ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski util/Util_test.cpp \ 996f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ConfigDescription_test.cpp \ 100b274e35abfbbd09e0fce983a215c11522c56cce2Adam Lesinski java/AnnotationProcessor_test.cpp \ 101ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/JavaClassGenerator_test.cpp \ 102ca5638fd85098c3d0a699492751043545f75553aAdam Lesinski java/ManifestClassGenerator_test.cpp \ 1036f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski Locale_test.cpp \ 1046f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski Resource_test.cpp \ 1051ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski ResourceParser_test.cpp \ 1066f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski ResourceTable_test.cpp \ 1071ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski ResourceUtils_test.cpp \ 108355f285ffd000f6cfe76680eb22d010546d124bbAdam Lesinski SdkConstants_test.cpp \ 1096f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski StringPool_test.cpp \ 1101ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski ValueVisitor_test.cpp \ 111cc5609d8e484ec82ef1dced793af7f674f059b1cAdam Lesinski xml/XmlActionExecutor_test.cpp \ 112467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlDom_test.cpp \ 113467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlPullParser_test.cpp \ 114467f171315f9c2037fcd3eb5edcfabc40671bf7bAdam Lesinski xml/XmlUtil_test.cpp 1151ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski 1161ab598f46c3ff520a67f9d80194847741f3467abAdam LesinskitoolSources := \ 1171ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski compile/Compile.cpp \ 11859e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski dump/Dump.cpp \ 1191ab598f46c3ff520a67f9d80194847741f3467abAdam Lesinski link/Link.cpp 1206f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 121feefeb4f308261907f5ea5705d66736d45633a27Adam LesinskihostLdLibs := 1226f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 1236f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskihostStaticLibs := \ 1246f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski libandroidfw \ 1256f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski libutils \ 1266f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski liblog \ 1276f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski libcutils \ 1286f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski libexpat \ 12998aa3ad6e46e3b0270785c8b3f9798e37e8af140Adam Lesinski libziparchive-host \ 130231e054dfd9dfc2e51ecd41dca5e8d93ae648954Narayan Kamath libpng \ 131f4ab612684ebc139b53dcc4960f99d9c025d7c8cAdam Lesinski libbase \ 132f4ab612684ebc139b53dcc4960f99d9c025d7c8cAdam Lesinski libprotobuf-cpp-lite_static 1336f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 13459e04c6f92da584b322c87072f18e6cab4de4c60Adam Lesinski 135803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# Statically link libz for MinGW (Win SDK under Linux), 136803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# and dynamically link for all others. 137803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskihostStaticLibs_windows := libz 138803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskihostLdLibs_linux := -lz 139803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskihostLdLibs_darwin := -lz 140feefeb4f308261907f5ea5705d66736d45633a27Adam Lesinski 1416f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskicFlags := -Wall -Werror -Wno-unused-parameter -UNDEBUG 142803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskicFlags_darwin := -D_DARWIN_UNLIMITED_STREAMS 143803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskicFlags_windows := -Wno-maybe-uninitialized # Incorrectly marking use of Maybe.value() as error. 144803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskicppFlags := -std=c++11 -Wno-missing-field-initializers -fno-exceptions -fno-rtti 14559e04c6f92da584b322c87072f18e6cab4de4c60Adam LesinskiprotoIncludes := $(call generated-sources-dir-for,STATIC_LIBRARIES,libaapt2,HOST) 1466f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 1476f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 148803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# NOTE: Do not add any shared libraries. 149803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# AAPT2 is built to run on many environments 150803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# that may not have the required dependencies. 151803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# ========================================================== 152803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski 153803c7c807969bea1f1c50f348832f5b60ad05d8eAdam Lesinski# ========================================================== 1546f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Build the host static library: libaapt2 1556f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 1566f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(CLEAR_VARS) 1576f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_MODULE := libaapt2 158803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_MODULE_CLASS := STATIC_LIBRARIES 159803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_MODULE_HOST_OS := darwin linux windows 160803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS := $(cFlags) 161803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_darwin := $(cFlags_darwin) 162803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_windows := $(cFlags_windows) 163803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CPPFLAGS := $(cppFlags) 164803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_C_INCLUDES := $(protoIncludes) 1656f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_SRC_FILES := $(sources) 166803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES := $(hostStaticLibs) 167803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES_windows := $(hostStaticLibs_windows) 1686f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(BUILD_HOST_STATIC_LIBRARY) 1696f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 1706f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 1716f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Build the host tests: libaapt2_tests 1726f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 1736f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(CLEAR_VARS) 1746f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_MODULE := libaapt2_tests 1756f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_MODULE_TAGS := tests 176803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_MODULE_HOST_OS := darwin linux windows 177803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS := $(cFlags) 178803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_darwin := $(cFlags_darwin) 179803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_windows := $(cFlags_windows) 180803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CPPFLAGS := $(cppFlags) 181803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_C_INCLUDES := $(protoIncludes) 1826f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_SRC_FILES := $(testSources) 183803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES := libaapt2 $(hostStaticLibs) 184803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES_windows := $(hostStaticLibs_windows) 185803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS := $(hostLdLibs) 186803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS_darwin := $(hostLdLibs_darwin) 187803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS_linux := $(hostLdLibs_linux) 1886f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(BUILD_HOST_NATIVE_TEST) 1896f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 1906f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 1916f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# Build the host executable: aapt2 1926f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski# ========================================================== 1936f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(CLEAR_VARS) 1946f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam LesinskiLOCAL_MODULE := aapt2 195803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_MODULE_HOST_OS := darwin linux windows 196803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS := $(cFlags) 197803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_darwin := $(cFlags_darwin) 198803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CFLAGS_windows := $(cFlags_windows) 199803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_CPPFLAGS := $(cppFlags) 200803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_C_INCLUDES := $(protoIncludes) 2011ab598f46c3ff520a67f9d80194847741f3467abAdam LesinskiLOCAL_SRC_FILES := $(main) $(toolSources) 202803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES := libaapt2 $(hostStaticLibs) 203803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_STATIC_LIBRARIES_windows := $(hostStaticLibs_windows) 204803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS := $(hostLdLibs) 205803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS_darwin := $(hostLdLibs_darwin) 206803c7c807969bea1f1c50f348832f5b60ad05d8eAdam LesinskiLOCAL_LDLIBS_linux := $(hostLdLibs_linux) 2076f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinskiinclude $(BUILD_HOST_EXECUTABLE) 2086f6ceb7e1456698b1f33e04536bfb3227f9fcfcbAdam Lesinski 20964587af8179affd38ee26543b748f2d63b7f67bbAdam Lesinskiifeq ($(ONE_SHOT_MAKEFILE),) 21064587af8179affd38ee26543b748f2d63b7f67bbAdam Lesinskiinclude $(call all-makefiles-under,$(LOCAL_PATH)) 21164587af8179affd38ee26543b748f2d63b7f67bbAdam Lesinskiendif 212