Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 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": |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 18 | # "{'inputs': ['$(PWD)/prebuilts/sdk/17/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/darwin/aidl', '-p$(PWD)/prebuilts/sdk/17/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']}": |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 19 | $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: gyp_local_path := $(LOCAL_PATH) |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 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)) |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 22 | $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessCallback.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 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/17/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/darwin/aidl" "-p$(PWD)/prebuilts/sdk/17/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" |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 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) |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 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)) |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 32 | $(gyp_shared_intermediate_dir)/common_aidl/aidl/IChildProcessService.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 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/17/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/darwin/aidl" "-p$(PWD)/prebuilts/sdk/17/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" |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 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. |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 57 | MY_CFLAGS_Debug := \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 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 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 89 | MY_DEFS_Debug := \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 90 | '-DCONTENT_IMPLEMENTATION' \ |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 91 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | 58537e2 | 2013-09-12 12:10:22 +0100 | [diff] [blame^] | 92 | '-DWTF_VECTOR_INITIAL_SIZE=16' \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 93 | '-D_FILE_OFFSET_BITS=64' \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 94 | '-DNO_TCMALLOC' \ |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 95 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 96 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 97 | '-DDISABLE_NACL' \ |
| 98 | '-DCHROMIUM_BUILD' \ |
| 99 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 100 | '-DUSE_PROPRIETARY_CODECS' \ |
Ben Murdoch | a3f7b4e | 2013-07-24 10:36:34 +0100 | [diff] [blame] | 101 | '-DENABLE_CONFIGURATION_POLICY' \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 102 | '-DENABLE_GPU=1' \ |
| 103 | '-DUSE_OPENSSL=1' \ |
| 104 | '-DENABLE_EGLIMAGE=1' \ |
Torne (Richard Coles) | 58537e2 | 2013-09-12 12:10:22 +0100 | [diff] [blame^] | 105 | '-DCLD_VERSION=1' \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 106 | '-D__STDC_CONSTANT_MACROS' \ |
| 107 | '-D__STDC_FORMAT_MACROS' \ |
| 108 | '-DANDROID' \ |
| 109 | '-D__GNU_SOURCE=1' \ |
| 110 | '-DUSE_STLPORT=1' \ |
| 111 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 112 | '-DCHROME_BUILD_ID=""' \ |
| 113 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 114 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 115 | '-D_DEBUG' |
| 116 | |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 117 | |
| 118 | # Include paths placed before CFLAGS/CPPFLAGS |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 119 | LOCAL_C_INCLUDES_Debug := \ |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 120 | $(PWD)/frameworks/wilhelm/include \ |
| 121 | $(PWD)/bionic \ |
| 122 | $(PWD)/external/stlport/stlport |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 123 | |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 124 | |
| 125 | # Flags passed to only C++ (and not C) files. |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 126 | LOCAL_CPPFLAGS_Debug := \ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 127 | -fno-rtti \ |
| 128 | -fno-threadsafe-statics \ |
| 129 | -fvisibility-inlines-hidden \ |
| 130 | -Wsign-compare \ |
| 131 | -Wno-abi \ |
| 132 | -Wno-error=c++0x-compat \ |
| 133 | -Wno-non-virtual-dtor \ |
| 134 | -Wno-sign-promo |
| 135 | |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 136 | |
| 137 | # Flags passed to both C and C++ files. |
| 138 | MY_CFLAGS_Release := \ |
| 139 | -fstack-protector \ |
| 140 | --param=ssp-buffer-size=4 \ |
| 141 | -Werror \ |
| 142 | -fno-exceptions \ |
| 143 | -fno-strict-aliasing \ |
| 144 | -Wall \ |
| 145 | -Wno-unused-parameter \ |
| 146 | -Wno-missing-field-initializers \ |
| 147 | -fvisibility=hidden \ |
| 148 | -pipe \ |
| 149 | -fPIC \ |
| 150 | -fno-tree-sra \ |
| 151 | -fuse-ld=gold \ |
| 152 | -Wno-psabi \ |
| 153 | -ffunction-sections \ |
| 154 | -funwind-tables \ |
| 155 | -g \ |
| 156 | -fstack-protector \ |
| 157 | -fno-short-enums \ |
| 158 | -finline-limit=64 \ |
| 159 | -Wa,--noexecstack \ |
| 160 | -U_FORTIFY_SOURCE \ |
| 161 | -Wno-extra \ |
| 162 | -Wno-ignored-qualifiers \ |
| 163 | -Wno-type-limits \ |
| 164 | -Os \ |
| 165 | -fno-ident \ |
| 166 | -fdata-sections \ |
| 167 | -ffunction-sections \ |
| 168 | -fomit-frame-pointer |
| 169 | |
| 170 | MY_DEFS_Release := \ |
| 171 | '-DCONTENT_IMPLEMENTATION' \ |
| 172 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | 58537e2 | 2013-09-12 12:10:22 +0100 | [diff] [blame^] | 173 | '-DWTF_VECTOR_INITIAL_SIZE=16' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 174 | '-D_FILE_OFFSET_BITS=64' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 175 | '-DNO_TCMALLOC' \ |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 176 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 177 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 178 | '-DDISABLE_NACL' \ |
| 179 | '-DCHROMIUM_BUILD' \ |
| 180 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 181 | '-DUSE_PROPRIETARY_CODECS' \ |
Ben Murdoch | a3f7b4e | 2013-07-24 10:36:34 +0100 | [diff] [blame] | 182 | '-DENABLE_CONFIGURATION_POLICY' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 183 | '-DENABLE_GPU=1' \ |
| 184 | '-DUSE_OPENSSL=1' \ |
| 185 | '-DENABLE_EGLIMAGE=1' \ |
Torne (Richard Coles) | 58537e2 | 2013-09-12 12:10:22 +0100 | [diff] [blame^] | 186 | '-DCLD_VERSION=1' \ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 187 | '-D__STDC_CONSTANT_MACROS' \ |
| 188 | '-D__STDC_FORMAT_MACROS' \ |
| 189 | '-DANDROID' \ |
| 190 | '-D__GNU_SOURCE=1' \ |
| 191 | '-DUSE_STLPORT=1' \ |
| 192 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 193 | '-DCHROME_BUILD_ID=""' \ |
| 194 | '-DNDEBUG' \ |
| 195 | '-DNVALGRIND' \ |
| 196 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ |
| 197 | '-D_FORTIFY_SOURCE=2' |
| 198 | |
| 199 | |
| 200 | # Include paths placed before CFLAGS/CPPFLAGS |
| 201 | LOCAL_C_INCLUDES_Release := \ |
| 202 | $(PWD)/frameworks/wilhelm/include \ |
| 203 | $(PWD)/bionic \ |
| 204 | $(PWD)/external/stlport/stlport |
| 205 | |
| 206 | |
| 207 | # Flags passed to only C++ (and not C) files. |
| 208 | LOCAL_CPPFLAGS_Release := \ |
| 209 | -fno-rtti \ |
| 210 | -fno-threadsafe-statics \ |
| 211 | -fvisibility-inlines-hidden \ |
| 212 | -Wsign-compare \ |
| 213 | -Wno-abi \ |
| 214 | -Wno-error=c++0x-compat \ |
| 215 | -Wno-non-virtual-dtor \ |
| 216 | -Wno-sign-promo |
| 217 | |
| 218 | |
| 219 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 220 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 221 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 222 | ### Rules for final target. |
| 223 | # Add target alias to "gyp_all_modules" target. |
| 224 | .PHONY: gyp_all_modules |
| 225 | gyp_all_modules: content_common_aidl_gyp |
| 226 | |
| 227 | # Alias gyp target name. |
| 228 | .PHONY: common_aidl |
| 229 | common_aidl: content_common_aidl_gyp |
| 230 | |
| 231 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp |
| 232 | LOCAL_UNINSTALLABLE_MODULE := true |
| 233 | |
| 234 | include $(BUILD_SYSTEM)/base_rules.mk |
| 235 | |
| 236 | $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) |
| 237 | $(hide) echo "Gyp timestamp: $@" |
| 238 | $(hide) mkdir -p $(dir $@) |
| 239 | $(hide) touch $@ |