1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := ui_gl_gl_jni_headers_gyp 7LOCAL_MODULE_STEM := gl_jni_headers 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 $(call intermediates-dir-for,GYP,ui_gl_surface_jni_headers_gyp)/surface_jni_headers.stamp 16 17 18### Generated for rule "ui_gl_gl_gyp_gl_jni_headers_target_generate_jni_headers": 19# "{'inputs': ['../../base/android/jni_generator/jni_generator.py', '../../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/ui/gl/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java', '../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/ui/gl/jni', '--optimize_generation', '0', '--jarjar', '../../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 20$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h: gyp_local_path := $(LOCAL_PATH) 21$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 22$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 23$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 24$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 25 mkdir -p $(gyp_shared_intermediate_dir)/ui/gl/jni; cd $(gyp_local_path)/ui/gl; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gl/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 26 27.PHONY: ui_gl_gl_jni_headers_gyp_rule_trigger 28ui_gl_gl_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h 29 30$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h: gyp_local_path := $(LOCAL_PATH) 31$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 32$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 33$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 34$(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 35 mkdir -p $(gyp_shared_intermediate_dir)/ui/gl/jni; cd $(gyp_local_path)/ui/gl; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gl/jni" --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long 36 37.PHONY: ui_gl_gl_jni_headers_gyp_rule_trigger 38ui_gl_gl_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h 39 40### Finished generating for all rules 41 42GYP_GENERATED_OUTPUTS := \ 43 $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h \ 44 $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h 45 46# Make sure our deps and generated files are built first. 47LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 48 49LOCAL_GENERATED_SOURCES := \ 50 $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTexturePlatformWrapper_jni.h \ 51 $(gyp_shared_intermediate_dir)/ui/gl/jni/SurfaceTextureListener_jni.h \ 52 ui_gl_gl_jni_headers_gyp_rule_trigger 53 54GYP_COPIED_SOURCE_ORIGIN_DIRS := 55 56LOCAL_SRC_FILES := 57 58 59# Flags passed to both C and C++ files. 60MY_CFLAGS_Debug := \ 61 -fstack-protector \ 62 --param=ssp-buffer-size=4 \ 63 -Werror \ 64 -fno-exceptions \ 65 -fno-strict-aliasing \ 66 -Wall \ 67 -Wno-unused-parameter \ 68 -Wno-missing-field-initializers \ 69 -fvisibility=hidden \ 70 -pipe \ 71 -fPIC \ 72 -fno-tree-sra \ 73 -fuse-ld=gold \ 74 -Wno-psabi \ 75 -ffunction-sections \ 76 -funwind-tables \ 77 -g \ 78 -fstack-protector \ 79 -fno-short-enums \ 80 -finline-limit=64 \ 81 -Wa,--noexecstack \ 82 -U_FORTIFY_SOURCE \ 83 -Wno-extra \ 84 -Wno-ignored-qualifiers \ 85 -Wno-type-limits \ 86 -Os \ 87 -g \ 88 -fomit-frame-pointer \ 89 -fdata-sections \ 90 -ffunction-sections 91 92MY_DEFS_Debug := \ 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-abi \ 135 -Wno-error=c++0x-compat \ 136 -Wno-non-virtual-dtor \ 137 -Wno-sign-promo 138 139 140# Flags passed to both C and C++ files. 141MY_CFLAGS_Release := \ 142 -fstack-protector \ 143 --param=ssp-buffer-size=4 \ 144 -Werror \ 145 -fno-exceptions \ 146 -fno-strict-aliasing \ 147 -Wall \ 148 -Wno-unused-parameter \ 149 -Wno-missing-field-initializers \ 150 -fvisibility=hidden \ 151 -pipe \ 152 -fPIC \ 153 -fno-tree-sra \ 154 -fuse-ld=gold \ 155 -Wno-psabi \ 156 -ffunction-sections \ 157 -funwind-tables \ 158 -g \ 159 -fstack-protector \ 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 -Os \ 168 -fno-ident \ 169 -fdata-sections \ 170 -ffunction-sections \ 171 -fomit-frame-pointer 172 173MY_DEFS_Release := \ 174 '-DV8_DEPRECATION_WARNINGS' \ 175 '-D_FILE_OFFSET_BITS=64' \ 176 '-DNO_TCMALLOC' \ 177 '-DDISABLE_NACL' \ 178 '-DCHROMIUM_BUILD' \ 179 '-DUSE_LIBJPEG_TURBO=1' \ 180 '-DUSE_PROPRIETARY_CODECS' \ 181 '-DENABLE_CONFIGURATION_POLICY' \ 182 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 183 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 184 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 185 '-DUSE_OPENSSL=1' \ 186 '-DENABLE_EGLIMAGE=1' \ 187 '-DCLD_VERSION=1' \ 188 '-DENABLE_PRINTING=1' \ 189 '-DENABLE_MANAGED_USERS=1' \ 190 '-D__STDC_CONSTANT_MACROS' \ 191 '-D__STDC_FORMAT_MACROS' \ 192 '-DANDROID' \ 193 '-D__GNU_SOURCE=1' \ 194 '-DUSE_STLPORT=1' \ 195 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 196 '-DCHROME_BUILD_ID=""' \ 197 '-DNDEBUG' \ 198 '-DNVALGRIND' \ 199 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 200 '-D_FORTIFY_SOURCE=2' 201 202 203# Include paths placed before CFLAGS/CPPFLAGS 204LOCAL_C_INCLUDES_Release := \ 205 $(PWD)/frameworks/wilhelm/include \ 206 $(PWD)/bionic \ 207 $(PWD)/external/stlport/stlport 208 209 210# Flags passed to only C++ (and not C) files. 211LOCAL_CPPFLAGS_Release := \ 212 -fno-rtti \ 213 -fno-threadsafe-statics \ 214 -fvisibility-inlines-hidden \ 215 -Wsign-compare \ 216 -Wno-abi \ 217 -Wno-error=c++0x-compat \ 218 -Wno-non-virtual-dtor \ 219 -Wno-sign-promo 220 221 222LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 223LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 224LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 225### Rules for final target. 226# Add target alias to "gyp_all_modules" target. 227.PHONY: gyp_all_modules 228gyp_all_modules: ui_gl_gl_jni_headers_gyp 229 230# Alias gyp target name. 231.PHONY: gl_jni_headers 232gl_jni_headers: ui_gl_gl_jni_headers_gyp 233 234LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 235LOCAL_UNINSTALLABLE_MODULE := true 236 237include $(BUILD_SYSTEM)/base_rules.mk 238 239$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 240 $(hide) echo "Gyp timestamp: $@" 241 $(hide) mkdir -p $(dir $@) 242 $(hide) touch $@ 243