1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := skia_skia_chrome_opts_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := 14 15 GYP_GENERATED_OUTPUTS := 16 17 # Make sure our deps and generated files are built first. 18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 19 20 ### Rules for final target. 21 22 LOCAL_LDFLAGS_Debug := \ 23 -Wl,-z,now \ 24 -Wl,-z,relro \ 25 -Wl,-z,noexecstack \ 26 -fPIC \ 27 -Wl,-z,relro \ 28 -Wl,-z,now \ 29 -fuse-ld=gold \ 30 -nostdlib \ 31 -Wl,--no-undefined \ 32 -Wl,--exclude-libs=ALL \ 33 -Wl,--icf=safe \ 34 -Wl,--fatal-warnings \ 35 -Wl,--gc-sections \ 36 -Wl,--warn-shared-textrel \ 37 -Wl,-O1 \ 38 -Wl,--as-needed 39 40 41 LOCAL_LDFLAGS_Release := \ 42 -Wl,-z,now \ 43 -Wl,-z,relro \ 44 -Wl,-z,noexecstack \ 45 -fPIC \ 46 -Wl,-z,relro \ 47 -Wl,-z,now \ 48 -fuse-ld=gold \ 49 -nostdlib \ 50 -Wl,--no-undefined \ 51 -Wl,--exclude-libs=ALL \ 52 -Wl,--icf=safe \ 53 -Wl,-O1 \ 54 -Wl,--as-needed \ 55 -Wl,--gc-sections \ 56 -Wl,--fatal-warnings \ 57 -Wl,--warn-shared-textrel 58 59 60 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 61 62 LOCAL_STATIC_LIBRARIES := 63 64 # Enable grouping to fix circular references 65 LOCAL_GROUP_STATIC_LIBRARIES := true 66 67 LOCAL_SHARED_LIBRARIES := \ 68 libstlport \ 69 libdl 70 71 # Add target alias to "gyp_all_modules" target. 72 .PHONY: gyp_all_modules 73 gyp_all_modules: skia_skia_chrome_opts_gyp 74 75 # Alias gyp target name. 76 .PHONY: skia_chrome_opts 77 skia_chrome_opts: skia_skia_chrome_opts_gyp 78 79 include $(BUILD_STATIC_LIBRARY) 80