• 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 := ui_ui_base_jni_headers_gyp
7LOCAL_MODULE_STEM := ui_base_jni_headers
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10gyp_intermediate_dir := $(call local-intermediates-dir)
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES :=
15
16
17### Generated for rule "ui_ui_gyp_ui_base_jni_headers_target_generate_jni_headers":
18# "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/ui/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/ui/base/Clipboard.java', 'android/java/src/org/chromium/ui/base/LocalizationUtils.java', 'android/java/src/org/chromium/ui/base/SelectFileDialog.java', 'android/java/src/org/chromium/ui/base/ViewAndroid.java', 'android/java/src/org/chromium/ui/base/WindowAndroid.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/ui/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
19$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_local_path := $(LOCAL_PATH)
20$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
21$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
22$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
23$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/Clipboard.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
24	mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/base/Clipboard.java --output_dir "$(gyp_shared_intermediate_dir)/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
25
26.PHONY: ui_ui_base_jni_headers_gyp_rule_trigger
27ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h
28
29$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_local_path := $(LOCAL_PATH)
30$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
31$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
32$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
33$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
34	mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/base/LocalizationUtils.java --output_dir "$(gyp_shared_intermediate_dir)/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
35
36.PHONY: ui_ui_base_jni_headers_gyp_rule_trigger
37ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h
38
39$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_local_path := $(LOCAL_PATH)
40$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
41$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
42$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
43$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
44	mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/base/SelectFileDialog.java --output_dir "$(gyp_shared_intermediate_dir)/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
45
46.PHONY: ui_ui_base_jni_headers_gyp_rule_trigger
47ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h
48
49$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
50$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
51$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
52$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
53$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/ViewAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
54	mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/base/ViewAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
55
56.PHONY: ui_ui_base_jni_headers_gyp_rule_trigger
57ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h
58
59$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
60$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
61$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
62$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
63$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
64	mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/ui/base/WindowAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/ui/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long
65
66.PHONY: ui_ui_base_jni_headers_gyp_rule_trigger
67ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h
68
69### Finished generating for all rules
70
71GYP_GENERATED_OUTPUTS := \
72	$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h \
73	$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h \
74	$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h \
75	$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h \
76	$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h
77
78# Make sure our deps and generated files are built first.
79LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
80
81LOCAL_GENERATED_SOURCES := \
82	$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h \
83	$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h \
84	$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h \
85	$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h \
86	$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h \
87	ui_ui_base_jni_headers_gyp_rule_trigger
88
89GYP_COPIED_SOURCE_ORIGIN_DIRS :=
90
91LOCAL_SRC_FILES :=
92
93
94# Flags passed to both C and C++ files.
95MY_CFLAGS_Debug := \
96	-fstack-protector \
97	--param=ssp-buffer-size=4 \
98	 \
99	-fno-exceptions \
100	-fno-strict-aliasing \
101	-Wall \
102	-Wno-unused-parameter \
103	-Wno-missing-field-initializers \
104	-fvisibility=hidden \
105	-pipe \
106	-fPIC \
107	-EL \
108	-mhard-float \
109	-ffunction-sections \
110	-funwind-tables \
111	-g \
112	-fstack-protector \
113	-fno-short-enums \
114	-finline-limit=64 \
115	-Wa,--noexecstack \
116	-U_FORTIFY_SOURCE \
117	-Wno-extra \
118	-Wno-ignored-qualifiers \
119	-Wno-type-limits \
120	-Os \
121	-g \
122	-fomit-frame-pointer \
123	-fdata-sections \
124	-ffunction-sections
125
126MY_DEFS_Debug := \
127	'-DV8_DEPRECATION_WARNINGS' \
128	'-D_FILE_OFFSET_BITS=64' \
129	'-DNO_TCMALLOC' \
130	'-DDISABLE_NACL' \
131	'-DCHROMIUM_BUILD' \
132	'-DUSE_LIBJPEG_TURBO=1' \
133	'-DUSE_PROPRIETARY_CODECS' \
134	'-DENABLE_CONFIGURATION_POLICY' \
135	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
136	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
137	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
138	'-DUSE_OPENSSL=1' \
139	'-DENABLE_EGLIMAGE=1' \
140	'-DCLD_VERSION=1' \
141	'-DENABLE_PRINTING=1' \
142	'-DENABLE_MANAGED_USERS=1' \
143	'-D__STDC_CONSTANT_MACROS' \
144	'-D__STDC_FORMAT_MACROS' \
145	'-DANDROID' \
146	'-D__GNU_SOURCE=1' \
147	'-DUSE_STLPORT=1' \
148	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
149	'-DCHROME_BUILD_ID=""' \
150	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
151	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
152	'-D_DEBUG'
153
154
155# Include paths placed before CFLAGS/CPPFLAGS
156LOCAL_C_INCLUDES_Debug := \
157	$(PWD)/frameworks/wilhelm/include \
158	$(PWD)/bionic \
159	$(PWD)/external/stlport/stlport
160
161
162# Flags passed to only C++ (and not C) files.
163LOCAL_CPPFLAGS_Debug := \
164	-fno-rtti \
165	-fno-threadsafe-statics \
166	-fvisibility-inlines-hidden \
167	-Wsign-compare \
168	-Wno-uninitialized \
169	-Wno-error=c++0x-compat \
170	-Wno-non-virtual-dtor \
171	-Wno-sign-promo
172
173
174# Flags passed to both C and C++ files.
175MY_CFLAGS_Release := \
176	-fstack-protector \
177	--param=ssp-buffer-size=4 \
178	 \
179	-fno-exceptions \
180	-fno-strict-aliasing \
181	-Wall \
182	-Wno-unused-parameter \
183	-Wno-missing-field-initializers \
184	-fvisibility=hidden \
185	-pipe \
186	-fPIC \
187	-EL \
188	-mhard-float \
189	-ffunction-sections \
190	-funwind-tables \
191	-g \
192	-fstack-protector \
193	-fno-short-enums \
194	-finline-limit=64 \
195	-Wa,--noexecstack \
196	-U_FORTIFY_SOURCE \
197	-Wno-extra \
198	-Wno-ignored-qualifiers \
199	-Wno-type-limits \
200	-Os \
201	-fno-ident \
202	-fdata-sections \
203	-ffunction-sections \
204	-fomit-frame-pointer
205
206MY_DEFS_Release := \
207	'-DV8_DEPRECATION_WARNINGS' \
208	'-D_FILE_OFFSET_BITS=64' \
209	'-DNO_TCMALLOC' \
210	'-DDISABLE_NACL' \
211	'-DCHROMIUM_BUILD' \
212	'-DUSE_LIBJPEG_TURBO=1' \
213	'-DUSE_PROPRIETARY_CODECS' \
214	'-DENABLE_CONFIGURATION_POLICY' \
215	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
216	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
217	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
218	'-DUSE_OPENSSL=1' \
219	'-DENABLE_EGLIMAGE=1' \
220	'-DCLD_VERSION=1' \
221	'-DENABLE_PRINTING=1' \
222	'-DENABLE_MANAGED_USERS=1' \
223	'-D__STDC_CONSTANT_MACROS' \
224	'-D__STDC_FORMAT_MACROS' \
225	'-DANDROID' \
226	'-D__GNU_SOURCE=1' \
227	'-DUSE_STLPORT=1' \
228	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
229	'-DCHROME_BUILD_ID=""' \
230	'-DNDEBUG' \
231	'-DNVALGRIND' \
232	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
233	'-D_FORTIFY_SOURCE=2'
234
235
236# Include paths placed before CFLAGS/CPPFLAGS
237LOCAL_C_INCLUDES_Release := \
238	$(PWD)/frameworks/wilhelm/include \
239	$(PWD)/bionic \
240	$(PWD)/external/stlport/stlport
241
242
243# Flags passed to only C++ (and not C) files.
244LOCAL_CPPFLAGS_Release := \
245	-fno-rtti \
246	-fno-threadsafe-statics \
247	-fvisibility-inlines-hidden \
248	-Wsign-compare \
249	-Wno-uninitialized \
250	-Wno-error=c++0x-compat \
251	-Wno-non-virtual-dtor \
252	-Wno-sign-promo
253
254
255LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
256LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
257LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
258### Rules for final target.
259# Add target alias to "gyp_all_modules" target.
260.PHONY: gyp_all_modules
261gyp_all_modules: ui_ui_base_jni_headers_gyp
262
263# Alias gyp target name.
264.PHONY: ui_base_jni_headers
265ui_base_jni_headers: ui_ui_base_jni_headers_gyp
266
267LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
268LOCAL_UNINSTALLABLE_MODULE := true
269
270include $(BUILD_SYSTEM)/base_rules.mk
271
272$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
273	$(hide) echo "Gyp timestamp: $@"
274	$(hide) mkdir -p $(dir $@)
275	$(hide) touch $@
276