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