1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := content_common_aidl_gyp 7LOCAL_MODULE_STEM := common_aidl 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TAGS := optional 10gyp_intermediate_dir := $(call local-intermediates-dir) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := 15 16 17### Generated for rule "content_content_gyp_common_aidl_target_compile_aidl": 18# "{'inputs': ['$(PWD)/prebuilts/sdk/18/framework.aidl', 'public/android/java/src/org/chromium/content/common/common.aidl'], 'extension': 'aidl', 'rule_sources': ['public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl', 'public/android/java/src/org/chromium/content/common/IChildProcessService.aidl'], 'rule_name': 'compile_aidl', 'outputs': ['$(gyp_shared_intermediate_dir)/common_aidl/aidl/%(INPUT_ROOT)s.java'], 'action': ['$(PWD)/prebuilts/sdk/tools/linux/aidl', '-p$(PWD)/prebuilts/sdk/18/framework.aidl', '-ppublic/android/java/src/org/chromium/content/common/common.aidl', '$(RULE_SOURCES)', '$(gyp_shared_intermediate_dir)/common_aidl/aidl/%(INPUT_ROOT)s.java']}": 19$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: gyp_local_path := $(LOCAL_PATH) 20$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl $(PWD)/prebuilts/sdk/18/framework.aidl $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/common/common.aidl $(GYP_TARGET_DEPENDENCIES) 24 mkdir -p $(gyp_shared_intermediate_dir)/common_aidl/aidl; cd $(gyp_local_path)/content; "$(PWD)/prebuilts/sdk/tools/linux/aidl" "-p$(PWD)/prebuilts/sdk/18/framework.aidl" -ppublic/android/java/src/org/chromium/content/common/common.aidl public/android/java/src/org/chromium/content/common/IChildProcessCallback.aidl "$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java" 25 26.PHONY: content_common_aidl_gyp_rule_trigger 27content_common_aidl_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java 28 29$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: gyp_local_path := $(LOCAL_PATH) 30$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 31$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 32$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 33$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/common/IChildProcessService.aidl $(PWD)/prebuilts/sdk/18/framework.aidl $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/common/common.aidl $(GYP_TARGET_DEPENDENCIES) 34 mkdir -p $(gyp_shared_intermediate_dir)/common_aidl/aidl; cd $(gyp_local_path)/content; "$(PWD)/prebuilts/sdk/tools/linux/aidl" "-p$(PWD)/prebuilts/sdk/18/framework.aidl" -ppublic/android/java/src/org/chromium/content/common/common.aidl public/android/java/src/org/chromium/content/common/IChildProcessService.aidl "$(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java" 35 36.PHONY: content_common_aidl_gyp_rule_trigger 37content_common_aidl_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java 38 39### Finished generating for all rules 40 41GYP_GENERATED_OUTPUTS := \ 42 $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java \ 43 $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java 44 45# Make sure our deps and generated files are built first. 46LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 47 48LOCAL_GENERATED_SOURCES := \ 49 content_common_aidl_gyp_rule_trigger 50 51GYP_COPIED_SOURCE_ORIGIN_DIRS := 52 53LOCAL_SRC_FILES := 54 55 56# Flags passed to both C and C++ files. 57MY_CFLAGS_Debug := \ 58 --param=ssp-buffer-size=4 \ 59 -Werror \ 60 -fno-exceptions \ 61 -fno-strict-aliasing \ 62 -Wall \ 63 -Wno-unused-parameter \ 64 -Wno-missing-field-initializers \ 65 -fvisibility=hidden \ 66 -pipe \ 67 -fPIC \ 68 -m32 \ 69 -mmmx \ 70 -march=pentium4 \ 71 -msse2 \ 72 -mfpmath=sse \ 73 -fuse-ld=gold \ 74 -ffunction-sections \ 75 -funwind-tables \ 76 -g \ 77 -fno-short-enums \ 78 -finline-limit=64 \ 79 -Wa,--noexecstack \ 80 -U_FORTIFY_SOURCE \ 81 -Wno-extra \ 82 -Wno-ignored-qualifiers \ 83 -Wno-type-limits \ 84 -fno-stack-protector \ 85 -Os \ 86 -g \ 87 -fomit-frame-pointer \ 88 -fdata-sections \ 89 -ffunction-sections 90 91MY_DEFS_Debug := \ 92 '-DCONTENT_IMPLEMENTATION' \ 93 '-DV8_DEPRECATION_WARNINGS' \ 94 '-D_FILE_OFFSET_BITS=64' \ 95 '-DNO_TCMALLOC' \ 96 '-DDISABLE_NACL' \ 97 '-DCHROMIUM_BUILD' \ 98 '-DUSE_LIBJPEG_TURBO=1' \ 99 '-DUSE_PROPRIETARY_CODECS' \ 100 '-DENABLE_CONFIGURATION_POLICY' \ 101 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 102 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 103 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 104 '-DUSE_OPENSSL=1' \ 105 '-DENABLE_EGLIMAGE=1' \ 106 '-DCLD_VERSION=1' \ 107 '-DENABLE_PRINTING=1' \ 108 '-DENABLE_MANAGED_USERS=1' \ 109 '-D__STDC_CONSTANT_MACROS' \ 110 '-D__STDC_FORMAT_MACROS' \ 111 '-DANDROID' \ 112 '-D__GNU_SOURCE=1' \ 113 '-DUSE_STLPORT=1' \ 114 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 115 '-DCHROME_BUILD_ID=""' \ 116 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 117 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 118 '-D_DEBUG' 119 120 121# Include paths placed before CFLAGS/CPPFLAGS 122LOCAL_C_INCLUDES_Debug := \ 123 $(PWD)/frameworks/wilhelm/include \ 124 $(PWD)/bionic \ 125 $(PWD)/external/stlport/stlport 126 127 128# Flags passed to only C++ (and not C) files. 129LOCAL_CPPFLAGS_Debug := \ 130 -fno-rtti \ 131 -fno-threadsafe-statics \ 132 -fvisibility-inlines-hidden \ 133 -Wsign-compare \ 134 -Wno-error=c++0x-compat \ 135 -Wno-non-virtual-dtor \ 136 -Wno-sign-promo 137 138 139# Flags passed to both C and C++ files. 140MY_CFLAGS_Release := \ 141 --param=ssp-buffer-size=4 \ 142 -Werror \ 143 -fno-exceptions \ 144 -fno-strict-aliasing \ 145 -Wall \ 146 -Wno-unused-parameter \ 147 -Wno-missing-field-initializers \ 148 -fvisibility=hidden \ 149 -pipe \ 150 -fPIC \ 151 -m32 \ 152 -mmmx \ 153 -march=pentium4 \ 154 -msse2 \ 155 -mfpmath=sse \ 156 -fuse-ld=gold \ 157 -ffunction-sections \ 158 -funwind-tables \ 159 -g \ 160 -fno-short-enums \ 161 -finline-limit=64 \ 162 -Wa,--noexecstack \ 163 -U_FORTIFY_SOURCE \ 164 -Wno-extra \ 165 -Wno-ignored-qualifiers \ 166 -Wno-type-limits \ 167 -fno-stack-protector \ 168 -Os \ 169 -fno-ident \ 170 -fdata-sections \ 171 -ffunction-sections \ 172 -fomit-frame-pointer \ 173 -fno-unwind-tables \ 174 -fno-asynchronous-unwind-tables 175 176MY_DEFS_Release := \ 177 '-DCONTENT_IMPLEMENTATION' \ 178 '-DV8_DEPRECATION_WARNINGS' \ 179 '-D_FILE_OFFSET_BITS=64' \ 180 '-DNO_TCMALLOC' \ 181 '-DDISABLE_NACL' \ 182 '-DCHROMIUM_BUILD' \ 183 '-DUSE_LIBJPEG_TURBO=1' \ 184 '-DUSE_PROPRIETARY_CODECS' \ 185 '-DENABLE_CONFIGURATION_POLICY' \ 186 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 187 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 188 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 189 '-DUSE_OPENSSL=1' \ 190 '-DENABLE_EGLIMAGE=1' \ 191 '-DCLD_VERSION=1' \ 192 '-DENABLE_PRINTING=1' \ 193 '-DENABLE_MANAGED_USERS=1' \ 194 '-D__STDC_CONSTANT_MACROS' \ 195 '-D__STDC_FORMAT_MACROS' \ 196 '-DANDROID' \ 197 '-D__GNU_SOURCE=1' \ 198 '-DUSE_STLPORT=1' \ 199 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 200 '-DCHROME_BUILD_ID=""' \ 201 '-DNDEBUG' \ 202 '-DNVALGRIND' \ 203 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 204 '-D_FORTIFY_SOURCE=2' 205 206 207# Include paths placed before CFLAGS/CPPFLAGS 208LOCAL_C_INCLUDES_Release := \ 209 $(PWD)/frameworks/wilhelm/include \ 210 $(PWD)/bionic \ 211 $(PWD)/external/stlport/stlport 212 213 214# Flags passed to only C++ (and not C) files. 215LOCAL_CPPFLAGS_Release := \ 216 -fno-rtti \ 217 -fno-threadsafe-statics \ 218 -fvisibility-inlines-hidden \ 219 -Wsign-compare \ 220 -Wno-error=c++0x-compat \ 221 -Wno-non-virtual-dtor \ 222 -Wno-sign-promo 223 224 225LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 226LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 227LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 228### Rules for final target. 229# Add target alias to "gyp_all_modules" target. 230.PHONY: gyp_all_modules 231gyp_all_modules: content_common_aidl_gyp 232 233# Alias gyp target name. 234.PHONY: common_aidl 235common_aidl: content_common_aidl_gyp 236 237LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 238LOCAL_UNINSTALLABLE_MODULE := true 239 240include $(BUILD_SYSTEM)/base_rules.mk 241 242$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 243 $(hide) echo "Gyp timestamp: $@" 244 $(hide) mkdir -p $(dir $@) 245 $(hide) touch $@ 246