Bo Liu | 5c02ac1 | 2014-05-01 10:37:37 -0700 | [diff] [blame] | 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 | LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) |
| 10 | gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) |
| 11 | gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) |
| 12 | |
| 13 | # Make sure our deps are built first. |
| 14 | GYP_TARGET_DEPENDENCIES := |
| 15 | |
| 16 | GYP_GENERATED_OUTPUTS := |
| 17 | |
| 18 | # Make sure our deps and generated files are built first. |
| 19 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 20 | |
| 21 | ### Rules for final target. |
| 22 | |
| 23 | LOCAL_LDFLAGS_Debug := \ |
| 24 | -Wl,-z,now \ |
| 25 | -Wl,-z,relro \ |
| 26 | -Wl,--fatal-warnings \ |
| 27 | -Wl,-z,noexecstack \ |
| 28 | -fPIC \ |
| 29 | -nostdlib \ |
| 30 | -Wl,--no-undefined \ |
| 31 | -Wl,--exclude-libs=ALL \ |
| 32 | -Wl,--warn-shared-textrel \ |
| 33 | -Wl,-O1 \ |
| 34 | -Wl,--as-needed |
| 35 | |
| 36 | |
| 37 | LOCAL_LDFLAGS_Release := \ |
| 38 | -Wl,-z,now \ |
| 39 | -Wl,-z,relro \ |
| 40 | -Wl,--fatal-warnings \ |
| 41 | -Wl,-z,noexecstack \ |
| 42 | -fPIC \ |
| 43 | -nostdlib \ |
| 44 | -Wl,--no-undefined \ |
| 45 | -Wl,--exclude-libs=ALL \ |
| 46 | -Wl,-O1 \ |
| 47 | -Wl,--as-needed \ |
| 48 | -Wl,--gc-sections \ |
| 49 | -Wl,--warn-shared-textrel |
| 50 | |
| 51 | |
| 52 | LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) |
| 53 | |
| 54 | LOCAL_STATIC_LIBRARIES := |
| 55 | |
| 56 | # Enable grouping to fix circular references |
| 57 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 58 | |
| 59 | LOCAL_SHARED_LIBRARIES := \ |
| 60 | libstlport \ |
| 61 | libdl |
| 62 | |
| 63 | # Add target alias to "gyp_all_modules" target. |
| 64 | .PHONY: gyp_all_modules |
| 65 | gyp_all_modules: skia_skia_chrome_opts_gyp |
| 66 | |
| 67 | # Alias gyp target name. |
| 68 | .PHONY: skia_chrome_opts |
| 69 | skia_chrome_opts: skia_skia_chrome_opts_gyp |
| 70 | |
| 71 | include $(BUILD_STATIC_LIBRARY) |