• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := skia_skia_chrome_opts_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TAGS := optional
9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES :=
15
16GYP_GENERATED_OUTPUTS :=
17
18# Make sure our deps and generated files are built first.
19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
20
21### Rules for final target.
22
23LOCAL_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
37LOCAL_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
52LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
53
54LOCAL_STATIC_LIBRARIES :=
55
56# Enable grouping to fix circular references
57LOCAL_GROUP_STATIC_LIBRARIES := true
58
59LOCAL_SHARED_LIBRARIES := \
60	libstlport \
61	libdl
62
63# Add target alias to "gyp_all_modules" target.
64.PHONY: gyp_all_modules
65gyp_all_modules: skia_skia_chrome_opts_gyp
66
67# Alias gyp target name.
68.PHONY: skia_chrome_opts
69skia_chrome_opts: skia_skia_chrome_opts_gyp
70
71include $(BUILD_STATIC_LIBRARY)
72