• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := GYP
6LOCAL_MODULE := content_content_gamepad_mapping_gyp
7LOCAL_MODULE_STEM := content_gamepad_mapping
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
11gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
13
14# Make sure our deps are built first.
15GYP_TARGET_DEPENDENCIES :=
16
17
18### Generated for rule "content_content_gyp_content_gamepad_mapping_target_generate_java_constants":
19# "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'browser/gamepad/canonical_axis_index_list.h', 'browser/gamepad/canonical_button_index_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template', 'public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}":
20$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: gyp_local_path := $(LOCAL_PATH)
21$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: gyp_var_prefix := $(GYP_VAR_PREFIX)
22$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
23$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
24$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
25$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/content/browser/gamepad/canonical_axis_index_list.h $(LOCAL_PATH)/content/browser/gamepad/canonical_button_index_list.h $(GYP_TARGET_DEPENDENCIES)
26	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input; cd $(gyp_local_path)/content; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java" "--template=public/android/java/src/org/chromium/content/browser/input/CanonicalButtonIndex.template"
27
28
29$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: gyp_local_path := $(LOCAL_PATH)
30$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: gyp_var_prefix := $(GYP_VAR_PREFIX)
31$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
32$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
33$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
34$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/content/browser/gamepad/canonical_axis_index_list.h $(LOCAL_PATH)/content/browser/gamepad/canonical_button_index_list.h $(GYP_TARGET_DEPENDENCIES)
35	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input; cd $(gyp_local_path)/content; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java" "--template=public/android/java/src/org/chromium/content/browser/input/CanonicalAxisIndex.template"
36
37
38
39GYP_GENERATED_OUTPUTS := \
40	$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalButtonIndex.java \
41	$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/input/CanonicalAxisIndex.java
42
43# Make sure our deps and generated files are built first.
44LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
45
46LOCAL_GENERATED_SOURCES :=
47
48GYP_COPIED_SOURCE_ORIGIN_DIRS :=
49
50LOCAL_SRC_FILES :=
51
52
53# Flags passed to both C and C++ files.
54MY_CFLAGS_Debug := \
55	--param=ssp-buffer-size=4 \
56	-Werror \
57	-fno-exceptions \
58	-fno-strict-aliasing \
59	-Wall \
60	-Wno-unused-parameter \
61	-Wno-missing-field-initializers \
62	-fvisibility=hidden \
63	-pipe \
64	-fPIC \
65	-Wno-unused-local-typedefs \
66	-msse2 \
67	-mfpmath=sse \
68	-mmmx \
69	-m32 \
70	-ffunction-sections \
71	-funwind-tables \
72	-g \
73	-fno-short-enums \
74	-finline-limit=64 \
75	-Wa,--noexecstack \
76	-U_FORTIFY_SOURCE \
77	-Wno-extra \
78	-Wno-ignored-qualifiers \
79	-Wno-type-limits \
80	-Wno-unused-but-set-variable \
81	-fno-stack-protector \
82	-Os \
83	-g \
84	-fdata-sections \
85	-ffunction-sections \
86	-fomit-frame-pointer \
87	-funwind-tables
88
89MY_DEFS_Debug := \
90	'-DCONTENT_IMPLEMENTATION' \
91	'-DV8_DEPRECATION_WARNINGS' \
92	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
93	'-D_FILE_OFFSET_BITS=64' \
94	'-DNO_TCMALLOC' \
95	'-DDISABLE_NACL' \
96	'-DCHROMIUM_BUILD' \
97	'-DUSE_LIBJPEG_TURBO=1' \
98	'-DENABLE_WEBRTC=1' \
99	'-DUSE_PROPRIETARY_CODECS' \
100	'-DENABLE_BROWSER_CDMS' \
101	'-DENABLE_CONFIGURATION_POLICY' \
102	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
103	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
104	'-DENABLE_EGLIMAGE=1' \
105	'-DCLD_VERSION=1' \
106	'-DENABLE_PRINTING=1' \
107	'-DENABLE_MANAGED_USERS=1' \
108	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
109	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
110	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
111	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
112	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
113	'-DVIDEO_HOLE=1' \
114	'-DUSE_OPENSSL=1' \
115	'-DUSE_OPENSSL_CERTS=1' \
116	'-D__STDC_CONSTANT_MACROS' \
117	'-D__STDC_FORMAT_MACROS' \
118	'-DANDROID' \
119	'-D__GNU_SOURCE=1' \
120	'-DUSE_STLPORT=1' \
121	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
122	'-DCHROME_BUILD_ID=""' \
123	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
124	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
125	'-D_DEBUG'
126
127
128# Include paths placed before CFLAGS/CPPFLAGS
129LOCAL_C_INCLUDES_Debug := \
130	$(gyp_shared_intermediate_dir) \
131	$(PWD)/frameworks/wilhelm/include \
132	$(PWD)/bionic \
133	$(PWD)/external/stlport/stlport
134
135
136# Flags passed to only C++ (and not C) files.
137LOCAL_CPPFLAGS_Debug := \
138	-fno-rtti \
139	-fno-threadsafe-statics \
140	-fvisibility-inlines-hidden \
141	-Wsign-compare \
142	-Wno-non-virtual-dtor \
143	-Wno-sign-promo
144
145
146LOCAL_FDO_SUPPORT_Debug := false
147
148# Flags passed to both C and C++ files.
149MY_CFLAGS_Release := \
150	--param=ssp-buffer-size=4 \
151	-Werror \
152	-fno-exceptions \
153	-fno-strict-aliasing \
154	-Wall \
155	-Wno-unused-parameter \
156	-Wno-missing-field-initializers \
157	-fvisibility=hidden \
158	-pipe \
159	-fPIC \
160	-Wno-unused-local-typedefs \
161	-msse2 \
162	-mfpmath=sse \
163	-mmmx \
164	-m32 \
165	-ffunction-sections \
166	-funwind-tables \
167	-g \
168	-fno-short-enums \
169	-finline-limit=64 \
170	-Wa,--noexecstack \
171	-U_FORTIFY_SOURCE \
172	-Wno-extra \
173	-Wno-ignored-qualifiers \
174	-Wno-type-limits \
175	-Wno-unused-but-set-variable \
176	-fno-stack-protector \
177	-Os \
178	-fno-ident \
179	-fdata-sections \
180	-ffunction-sections \
181	-fomit-frame-pointer \
182	-funwind-tables
183
184MY_DEFS_Release := \
185	'-DCONTENT_IMPLEMENTATION' \
186	'-DV8_DEPRECATION_WARNINGS' \
187	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
188	'-D_FILE_OFFSET_BITS=64' \
189	'-DNO_TCMALLOC' \
190	'-DDISABLE_NACL' \
191	'-DCHROMIUM_BUILD' \
192	'-DUSE_LIBJPEG_TURBO=1' \
193	'-DENABLE_WEBRTC=1' \
194	'-DUSE_PROPRIETARY_CODECS' \
195	'-DENABLE_BROWSER_CDMS' \
196	'-DENABLE_CONFIGURATION_POLICY' \
197	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
198	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
199	'-DENABLE_EGLIMAGE=1' \
200	'-DCLD_VERSION=1' \
201	'-DENABLE_PRINTING=1' \
202	'-DENABLE_MANAGED_USERS=1' \
203	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
204	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
205	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
206	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
207	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
208	'-DVIDEO_HOLE=1' \
209	'-DUSE_OPENSSL=1' \
210	'-DUSE_OPENSSL_CERTS=1' \
211	'-D__STDC_CONSTANT_MACROS' \
212	'-D__STDC_FORMAT_MACROS' \
213	'-DANDROID' \
214	'-D__GNU_SOURCE=1' \
215	'-DUSE_STLPORT=1' \
216	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
217	'-DCHROME_BUILD_ID=""' \
218	'-DNDEBUG' \
219	'-DNVALGRIND' \
220	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
221	'-D_FORTIFY_SOURCE=2'
222
223
224# Include paths placed before CFLAGS/CPPFLAGS
225LOCAL_C_INCLUDES_Release := \
226	$(gyp_shared_intermediate_dir) \
227	$(PWD)/frameworks/wilhelm/include \
228	$(PWD)/bionic \
229	$(PWD)/external/stlport/stlport
230
231
232# Flags passed to only C++ (and not C) files.
233LOCAL_CPPFLAGS_Release := \
234	-fno-rtti \
235	-fno-threadsafe-statics \
236	-fvisibility-inlines-hidden \
237	-Wsign-compare \
238	-Wno-non-virtual-dtor \
239	-Wno-sign-promo
240
241
242LOCAL_FDO_SUPPORT_Release := false
243
244LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
245LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
246LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
247LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
248LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
249### Rules for final target.
250# Add target alias to "gyp_all_modules" target.
251.PHONY: gyp_all_modules
252gyp_all_modules: content_content_gamepad_mapping_gyp
253
254# Alias gyp target name.
255.PHONY: content_gamepad_mapping
256content_gamepad_mapping: content_content_gamepad_mapping_gyp
257
258LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
259LOCAL_UNINSTALLABLE_MODULE := true
260LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
261
262include $(BUILD_SYSTEM)/base_rules.mk
263
264$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
265	$(hide) echo "Gyp timestamp: $@"
266	$(hide) mkdir -p $(dir $@)
267	$(hide) touch $@
268
269LOCAL_2ND_ARCH_VAR_PREFIX :=
270