• 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 := third_party_WebKit_Source_devtools_devtools_html_gyp
7LOCAL_MODULE_STEM := devtools_html
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### Rules for action "devtools_html":
17$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_local_path := $(LOCAL_PATH)
18$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
19$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
20$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
21$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/generate_devtools_html.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/front_end/inspector.html $(GYP_TARGET_DEPENDENCIES)
22	@echo "Gyp action: third_party_WebKit_Source_devtools_devtools_gyp_devtools_html_target_devtools_html ($@)"
23	$(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/generate_devtools_html.py front_end/inspector.html "$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html" 0
24
25
26
27GYP_GENERATED_OUTPUTS := \
28	$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html
29
30# Make sure our deps and generated files are built first.
31LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
32
33LOCAL_GENERATED_SOURCES :=
34
35GYP_COPIED_SOURCE_ORIGIN_DIRS :=
36
37LOCAL_SRC_FILES :=
38
39
40# Flags passed to both C and C++ files.
41MY_CFLAGS_Debug := \
42	--param=ssp-buffer-size=4 \
43	-fno-exceptions \
44	-fno-strict-aliasing \
45	-Wno-unused-parameter \
46	-Wno-missing-field-initializers \
47	-fvisibility=hidden \
48	-pipe \
49	-fPIC \
50	-Wno-format \
51	-m32 \
52	-mmmx \
53	-march=pentium4 \
54	-msse2 \
55	-mfpmath=sse \
56	-fuse-ld=gold \
57	-ffunction-sections \
58	-funwind-tables \
59	-g \
60	-fno-short-enums \
61	-finline-limit=64 \
62	-Wa,--noexecstack \
63	-U_FORTIFY_SOURCE \
64	-Wno-extra \
65	-Wno-ignored-qualifiers \
66	-Wno-type-limits \
67	-fno-stack-protector \
68	-Wno-address \
69	-Wno-format-security \
70	-Wno-return-type \
71	-Wno-sequence-point \
72	-Os \
73	-g \
74	-fomit-frame-pointer \
75	-fdata-sections \
76	-ffunction-sections
77
78MY_DEFS_Debug := \
79	'-DV8_DEPRECATION_WARNINGS' \
80	'-D_FILE_OFFSET_BITS=64' \
81	'-DNO_TCMALLOC' \
82	'-DDISABLE_NACL' \
83	'-DCHROMIUM_BUILD' \
84	'-DUSE_LIBJPEG_TURBO=1' \
85	'-DUSE_PROPRIETARY_CODECS' \
86	'-DENABLE_CONFIGURATION_POLICY' \
87	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
88	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
89	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
90	'-DUSE_OPENSSL=1' \
91	'-DENABLE_EGLIMAGE=1' \
92	'-DCLD_VERSION=1' \
93	'-DENABLE_PRINTING=1' \
94	'-DENABLE_MANAGED_USERS=1' \
95	'-DANDROID' \
96	'-D__GNU_SOURCE=1' \
97	'-DUSE_STLPORT=1' \
98	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
99	'-DCHROME_BUILD_ID=""' \
100	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
101	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
102	'-D_DEBUG'
103
104
105# Include paths placed before CFLAGS/CPPFLAGS
106LOCAL_C_INCLUDES_Debug := \
107	$(PWD)/frameworks/wilhelm/include \
108	$(PWD)/bionic \
109	$(PWD)/external/stlport/stlport
110
111
112# Flags passed to only C++ (and not C) files.
113LOCAL_CPPFLAGS_Debug := \
114	-fno-rtti \
115	-fno-threadsafe-statics \
116	-fvisibility-inlines-hidden \
117	-Wno-deprecated \
118	-Wno-error=c++0x-compat \
119	-Wno-non-virtual-dtor \
120	-Wno-sign-promo \
121	-Wno-non-virtual-dtor
122
123
124# Flags passed to both C and C++ files.
125MY_CFLAGS_Release := \
126	--param=ssp-buffer-size=4 \
127	-fno-exceptions \
128	-fno-strict-aliasing \
129	-Wno-unused-parameter \
130	-Wno-missing-field-initializers \
131	-fvisibility=hidden \
132	-pipe \
133	-fPIC \
134	-Wno-format \
135	-m32 \
136	-mmmx \
137	-march=pentium4 \
138	-msse2 \
139	-mfpmath=sse \
140	-fuse-ld=gold \
141	-ffunction-sections \
142	-funwind-tables \
143	-g \
144	-fno-short-enums \
145	-finline-limit=64 \
146	-Wa,--noexecstack \
147	-U_FORTIFY_SOURCE \
148	-Wno-extra \
149	-Wno-ignored-qualifiers \
150	-Wno-type-limits \
151	-fno-stack-protector \
152	-Wno-address \
153	-Wno-format-security \
154	-Wno-return-type \
155	-Wno-sequence-point \
156	-Os \
157	-fno-ident \
158	-fdata-sections \
159	-ffunction-sections \
160	-fomit-frame-pointer \
161	-fno-unwind-tables \
162	-fno-asynchronous-unwind-tables
163
164MY_DEFS_Release := \
165	'-DV8_DEPRECATION_WARNINGS' \
166	'-D_FILE_OFFSET_BITS=64' \
167	'-DNO_TCMALLOC' \
168	'-DDISABLE_NACL' \
169	'-DCHROMIUM_BUILD' \
170	'-DUSE_LIBJPEG_TURBO=1' \
171	'-DUSE_PROPRIETARY_CODECS' \
172	'-DENABLE_CONFIGURATION_POLICY' \
173	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
174	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
175	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
176	'-DUSE_OPENSSL=1' \
177	'-DENABLE_EGLIMAGE=1' \
178	'-DCLD_VERSION=1' \
179	'-DENABLE_PRINTING=1' \
180	'-DENABLE_MANAGED_USERS=1' \
181	'-DANDROID' \
182	'-D__GNU_SOURCE=1' \
183	'-DUSE_STLPORT=1' \
184	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
185	'-DCHROME_BUILD_ID=""' \
186	'-DNDEBUG' \
187	'-DNVALGRIND' \
188	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
189
190
191# Include paths placed before CFLAGS/CPPFLAGS
192LOCAL_C_INCLUDES_Release := \
193	$(PWD)/frameworks/wilhelm/include \
194	$(PWD)/bionic \
195	$(PWD)/external/stlport/stlport
196
197
198# Flags passed to only C++ (and not C) files.
199LOCAL_CPPFLAGS_Release := \
200	-fno-rtti \
201	-fno-threadsafe-statics \
202	-fvisibility-inlines-hidden \
203	-Wno-deprecated \
204	-Wno-error=c++0x-compat \
205	-Wno-non-virtual-dtor \
206	-Wno-sign-promo \
207	-Wno-non-virtual-dtor
208
209
210LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
211LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
212LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
213### Rules for final target.
214# Add target alias to "gyp_all_modules" target.
215.PHONY: gyp_all_modules
216gyp_all_modules: third_party_WebKit_Source_devtools_devtools_html_gyp
217
218# Alias gyp target name.
219.PHONY: devtools_html
220devtools_html: third_party_WebKit_Source_devtools_devtools_html_gyp
221
222LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
223LOCAL_UNINSTALLABLE_MODULE := true
224
225include $(BUILD_SYSTEM)/base_rules.mk
226
227$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
228	$(hide) echo "Gyp timestamp: $@"
229	$(hide) mkdir -p $(dir $@)
230	$(hide) touch $@
231