config_sources.host.linux-x86.mk revision ca12bfac764ba476d6cd062bf1dde12cc64c3f40
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := GYP
6LOCAL_MODULE := third_party_yasm_config_sources_host_gyp
7LOCAL_MODULE_STEM := config_sources
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10LOCAL_IS_HOST_MODULE := true
11gyp_intermediate_dir := $(call local-intermediates-dir)
12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
13
14# Make sure our deps are built first.
15GYP_TARGET_DEPENDENCIES :=
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES :=
27
28
29# Flags passed to both C and C++ files.
30MY_CFLAGS_Debug := \
31	-fstack-protector \
32	--param=ssp-buffer-size=4 \
33	-pthread \
34	-fno-exceptions \
35	-fno-strict-aliasing \
36	-Wno-unused-parameter \
37	-Wno-missing-field-initializers \
38	-fvisibility=hidden \
39	-pipe \
40	-fPIC \
41	-Wno-format \
42	-Os \
43	-g \
44	-fomit-frame-pointer \
45	-fdata-sections \
46	-ffunction-sections
47
48MY_DEFS_Debug := \
49	'-DANGLE_DX11' \
50	'-D_FILE_OFFSET_BITS=64' \
51	'-DNO_TCMALLOC' \
52	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
53	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
54	'-DDISABLE_NACL' \
55	'-DCHROMIUM_BUILD' \
56	'-DUSE_LIBJPEG_TURBO=1' \
57	'-DUSE_PROPRIETARY_CODECS' \
58	'-DENABLE_GPU=1' \
59	'-DUSE_OPENSSL=1' \
60	'-DENABLE_EGLIMAGE=1' \
61	'-DENABLE_LANGUAGE_DETECTION=1' \
62	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
63	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
64	'-D_DEBUG'
65
66
67# Include paths placed before CFLAGS/CPPFLAGS
68LOCAL_C_INCLUDES_Debug :=
69
70
71# Flags passed to only C++ (and not C) files.
72LOCAL_CPPFLAGS_Debug := \
73	-fno-rtti \
74	-fno-threadsafe-statics \
75	-fvisibility-inlines-hidden \
76	-Wno-deprecated
77
78
79# Flags passed to both C and C++ files.
80MY_CFLAGS_Release := \
81	-fstack-protector \
82	--param=ssp-buffer-size=4 \
83	-pthread \
84	-fno-exceptions \
85	-fno-strict-aliasing \
86	-Wno-unused-parameter \
87	-Wno-missing-field-initializers \
88	-fvisibility=hidden \
89	-pipe \
90	-fPIC \
91	-Wno-format \
92	-Os \
93	-fno-ident \
94	-fdata-sections \
95	-ffunction-sections \
96	-fomit-frame-pointer \
97	-fno-unwind-tables \
98	-fno-asynchronous-unwind-tables
99
100MY_DEFS_Release := \
101	'-DANGLE_DX11' \
102	'-D_FILE_OFFSET_BITS=64' \
103	'-DNO_TCMALLOC' \
104	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
105	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
106	'-DDISABLE_NACL' \
107	'-DCHROMIUM_BUILD' \
108	'-DUSE_LIBJPEG_TURBO=1' \
109	'-DUSE_PROPRIETARY_CODECS' \
110	'-DENABLE_GPU=1' \
111	'-DUSE_OPENSSL=1' \
112	'-DENABLE_EGLIMAGE=1' \
113	'-DENABLE_LANGUAGE_DETECTION=1' \
114	'-DNDEBUG' \
115	'-DNVALGRIND' \
116	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
117
118
119# Include paths placed before CFLAGS/CPPFLAGS
120LOCAL_C_INCLUDES_Release :=
121
122
123# Flags passed to only C++ (and not C) files.
124LOCAL_CPPFLAGS_Release := \
125	-fno-rtti \
126	-fno-threadsafe-statics \
127	-fvisibility-inlines-hidden \
128	-Wno-deprecated
129
130
131LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
132# Undefine ANDROID for host modules
133LOCAL_CFLAGS += -UANDROID
134LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
135LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
136### Rules for final target.
137# Add target alias to "gyp_all_modules" target.
138.PHONY: gyp_all_modules
139gyp_all_modules: third_party_yasm_config_sources_host_gyp
140
141# Alias gyp target name.
142.PHONY: config_sources
143config_sources: third_party_yasm_config_sources_host_gyp
144
145LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
146LOCAL_UNINSTALLABLE_MODULE := true
147
148include $(BUILD_SYSTEM)/base_rules.mk
149
150$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
151	$(hide) echo "Gyp timestamp: $@"
152	$(hide) mkdir -p $(dir $@)
153	$(hide) touch $@
154