Home | History | Annotate | Download | only in base
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := base_base_jni_headers_gyp
      7 LOCAL_MODULE_STEM := base_jni_headers
      8 LOCAL_MODULE_SUFFIX := .stamp
      9 LOCAL_MODULE_TAGS := optional
     10 gyp_intermediate_dir := $(call local-intermediates-dir)
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 
     17 ### Generated for rule "base_base_gyp_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)/base/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['android/java/src/org/chromium/base/ActivityStatus.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/ThreadUtils.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/base/jni', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
     19 $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     21 $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     23 $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/ActivityStatus.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)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/ActivityStatus.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     25 
     26 .PHONY: base_base_jni_headers_gyp_rule_trigger
     27 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h
     28 
     29 $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h: gyp_local_path := $(LOCAL_PATH)
     30 $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     31 $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     32 $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     33 $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/BuildInfo.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)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/BuildInfo.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     35 
     36 .PHONY: base_base_jni_headers_gyp_rule_trigger
     37 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h
     38 
     39 $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h: gyp_local_path := $(LOCAL_PATH)
     40 $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     41 $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     42 $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     43 $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/CpuFeatures.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)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/CpuFeatures.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     45 
     46 .PHONY: base_base_jni_headers_gyp_rule_trigger
     47 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h
     48 
     49 $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
     50 $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     51 $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     52 $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     53 $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.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)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/ImportantFileWriterAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     55 
     56 .PHONY: base_base_jni_headers_gyp_rule_trigger
     57 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h
     58 
     59 $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h: gyp_local_path := $(LOCAL_PATH)
     60 $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     61 $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     62 $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     63 $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/MemoryPressureListener.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)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/MemoryPressureListener.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     65 
     66 .PHONY: base_base_jni_headers_gyp_rule_trigger
     67 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h
     68 
     69 $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h: gyp_local_path := $(LOCAL_PATH)
     70 $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     71 $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     72 $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     73 $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/JavaHandlerThread.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     74 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/JavaHandlerThread.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     75 
     76 .PHONY: base_base_jni_headers_gyp_rule_trigger
     77 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h
     78 
     79 $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h: gyp_local_path := $(LOCAL_PATH)
     80 $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     81 $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     82 $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     83 $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PathService.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     84 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PathService.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     85 
     86 .PHONY: base_base_jni_headers_gyp_rule_trigger
     87 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h
     88 
     89 $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h: gyp_local_path := $(LOCAL_PATH)
     90 $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     91 $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     92 $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     93 $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PathUtils.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     94 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PathUtils.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
     95 
     96 .PHONY: base_base_jni_headers_gyp_rule_trigger
     97 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h
     98 
     99 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: gyp_local_path := $(LOCAL_PATH)
    100 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
    101 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
    102 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
    103 $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/PowerMonitor.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
    104 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/PowerMonitor.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
    105 
    106 .PHONY: base_base_jni_headers_gyp_rule_trigger
    107 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h
    108 
    109 $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h: gyp_local_path := $(LOCAL_PATH)
    110 $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
    111 $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
    112 $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
    113 $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/SystemMessageHandler.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
    114 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/SystemMessageHandler.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
    115 
    116 .PHONY: base_base_jni_headers_gyp_rule_trigger
    117 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h
    118 
    119 $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h: gyp_local_path := $(LOCAL_PATH)
    120 $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
    121 $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
    122 $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
    123 $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/SysUtils.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
    124 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/SysUtils.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
    125 
    126 .PHONY: base_base_jni_headers_gyp_rule_trigger
    127 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h
    128 
    129 $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h: gyp_local_path := $(LOCAL_PATH)
    130 $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
    131 $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
    132 $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
    133 $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/ThreadUtils.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
    134 	mkdir -p $(gyp_shared_intermediate_dir)/base/jni; cd $(gyp_local_path)/base; ../base/android/jni_generator/jni_generator.py --input_file android/java/src/org/chromium/base/ThreadUtils.java --output_dir "$(gyp_shared_intermediate_dir)/base/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt
    135 
    136 .PHONY: base_base_jni_headers_gyp_rule_trigger
    137 base_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h
    138 
    139 ### Finished generating for all rules
    140 
    141 GYP_GENERATED_OUTPUTS := \
    142 	$(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h \
    143 	$(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h \
    144 	$(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h \
    145 	$(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h \
    146 	$(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h \
    147 	$(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h \
    148 	$(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h \
    149 	$(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h \
    150 	$(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h \
    151 	$(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h \
    152 	$(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h \
    153 	$(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h
    154 
    155 # Make sure our deps and generated files are built first.
    156 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
    157 
    158 LOCAL_GENERATED_SOURCES := \
    159 	$(gyp_shared_intermediate_dir)/base/jni/ActivityStatus_jni.h \
    160 	$(gyp_shared_intermediate_dir)/base/jni/BuildInfo_jni.h \
    161 	$(gyp_shared_intermediate_dir)/base/jni/CpuFeatures_jni.h \
    162 	$(gyp_shared_intermediate_dir)/base/jni/ImportantFileWriterAndroid_jni.h \
    163 	$(gyp_shared_intermediate_dir)/base/jni/MemoryPressureListener_jni.h \
    164 	$(gyp_shared_intermediate_dir)/base/jni/JavaHandlerThread_jni.h \
    165 	$(gyp_shared_intermediate_dir)/base/jni/PathService_jni.h \
    166 	$(gyp_shared_intermediate_dir)/base/jni/PathUtils_jni.h \
    167 	$(gyp_shared_intermediate_dir)/base/jni/PowerMonitor_jni.h \
    168 	$(gyp_shared_intermediate_dir)/base/jni/SystemMessageHandler_jni.h \
    169 	$(gyp_shared_intermediate_dir)/base/jni/SysUtils_jni.h \
    170 	$(gyp_shared_intermediate_dir)/base/jni/ThreadUtils_jni.h \
    171 	base_base_jni_headers_gyp_rule_trigger
    172 
    173 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
    174 
    175 LOCAL_SRC_FILES :=
    176 
    177 
    178 # Flags passed to both C and C++ files.
    179 MY_CFLAGS_Debug := \
    180 	--param=ssp-buffer-size=4 \
    181 	-Werror \
    182 	-fno-exceptions \
    183 	-fno-strict-aliasing \
    184 	-Wall \
    185 	-Wno-unused-parameter \
    186 	-Wno-missing-field-initializers \
    187 	-fvisibility=hidden \
    188 	-pipe \
    189 	-fPIC \
    190 	-m32 \
    191 	-mmmx \
    192 	-march=pentium4 \
    193 	-msse2 \
    194 	-mfpmath=sse \
    195 	-fuse-ld=gold \
    196 	-ffunction-sections \
    197 	-funwind-tables \
    198 	-g \
    199 	-fno-short-enums \
    200 	-finline-limit=64 \
    201 	-Wa,--noexecstack \
    202 	-U_FORTIFY_SOURCE \
    203 	-Wno-extra \
    204 	-Wno-ignored-qualifiers \
    205 	-Wno-type-limits \
    206 	-fno-stack-protector \
    207 	-Os \
    208 	-g \
    209 	-fomit-frame-pointer \
    210 	-fdata-sections \
    211 	-ffunction-sections
    212 
    213 MY_DEFS_Debug := \
    214 	'-DANGLE_DX11' \
    215 	'-D_FILE_OFFSET_BITS=64' \
    216 	'-DNO_TCMALLOC' \
    217 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    218 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    219 	'-DDISABLE_NACL' \
    220 	'-DCHROMIUM_BUILD' \
    221 	'-DUSE_LIBJPEG_TURBO=1' \
    222 	'-DUSE_PROPRIETARY_CODECS' \
    223 	'-DENABLE_CONFIGURATION_POLICY' \
    224 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    225 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    226 	'-DENABLE_GPU=1' \
    227 	'-DUSE_OPENSSL=1' \
    228 	'-DENABLE_EGLIMAGE=1' \
    229 	'-DENABLE_PRINTING=1' \
    230 	'-D__STDC_CONSTANT_MACROS' \
    231 	'-D__STDC_FORMAT_MACROS' \
    232 	'-DANDROID' \
    233 	'-D__GNU_SOURCE=1' \
    234 	'-DUSE_STLPORT=1' \
    235 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    236 	'-DCHROME_BUILD_ID=""' \
    237 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    238 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    239 	'-D_DEBUG'
    240 
    241 
    242 # Include paths placed before CFLAGS/CPPFLAGS
    243 LOCAL_C_INCLUDES_Debug := \
    244 	$(PWD)/frameworks/wilhelm/include \
    245 	$(PWD)/bionic \
    246 	$(PWD)/external/stlport/stlport
    247 
    248 
    249 # Flags passed to only C++ (and not C) files.
    250 LOCAL_CPPFLAGS_Debug := \
    251 	-fno-rtti \
    252 	-fno-threadsafe-statics \
    253 	-fvisibility-inlines-hidden \
    254 	-Wsign-compare \
    255 	-Wno-error=c++0x-compat \
    256 	-Wno-non-virtual-dtor \
    257 	-Wno-sign-promo
    258 
    259 
    260 # Flags passed to both C and C++ files.
    261 MY_CFLAGS_Release := \
    262 	--param=ssp-buffer-size=4 \
    263 	-Werror \
    264 	-fno-exceptions \
    265 	-fno-strict-aliasing \
    266 	-Wall \
    267 	-Wno-unused-parameter \
    268 	-Wno-missing-field-initializers \
    269 	-fvisibility=hidden \
    270 	-pipe \
    271 	-fPIC \
    272 	-m32 \
    273 	-mmmx \
    274 	-march=pentium4 \
    275 	-msse2 \
    276 	-mfpmath=sse \
    277 	-fuse-ld=gold \
    278 	-ffunction-sections \
    279 	-funwind-tables \
    280 	-g \
    281 	-fno-short-enums \
    282 	-finline-limit=64 \
    283 	-Wa,--noexecstack \
    284 	-U_FORTIFY_SOURCE \
    285 	-Wno-extra \
    286 	-Wno-ignored-qualifiers \
    287 	-Wno-type-limits \
    288 	-fno-stack-protector \
    289 	-Os \
    290 	-fno-ident \
    291 	-fdata-sections \
    292 	-ffunction-sections \
    293 	-fomit-frame-pointer \
    294 	-fno-unwind-tables \
    295 	-fno-asynchronous-unwind-tables
    296 
    297 MY_DEFS_Release := \
    298 	'-DANGLE_DX11' \
    299 	'-D_FILE_OFFSET_BITS=64' \
    300 	'-DNO_TCMALLOC' \
    301 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    302 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    303 	'-DDISABLE_NACL' \
    304 	'-DCHROMIUM_BUILD' \
    305 	'-DUSE_LIBJPEG_TURBO=1' \
    306 	'-DUSE_PROPRIETARY_CODECS' \
    307 	'-DENABLE_CONFIGURATION_POLICY' \
    308 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    309 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    310 	'-DENABLE_GPU=1' \
    311 	'-DUSE_OPENSSL=1' \
    312 	'-DENABLE_EGLIMAGE=1' \
    313 	'-DENABLE_PRINTING=1' \
    314 	'-D__STDC_CONSTANT_MACROS' \
    315 	'-D__STDC_FORMAT_MACROS' \
    316 	'-DANDROID' \
    317 	'-D__GNU_SOURCE=1' \
    318 	'-DUSE_STLPORT=1' \
    319 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    320 	'-DCHROME_BUILD_ID=""' \
    321 	'-DNDEBUG' \
    322 	'-DNVALGRIND' \
    323 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    324 	'-D_FORTIFY_SOURCE=2'
    325 
    326 
    327 # Include paths placed before CFLAGS/CPPFLAGS
    328 LOCAL_C_INCLUDES_Release := \
    329 	$(PWD)/frameworks/wilhelm/include \
    330 	$(PWD)/bionic \
    331 	$(PWD)/external/stlport/stlport
    332 
    333 
    334 # Flags passed to only C++ (and not C) files.
    335 LOCAL_CPPFLAGS_Release := \
    336 	-fno-rtti \
    337 	-fno-threadsafe-statics \
    338 	-fvisibility-inlines-hidden \
    339 	-Wsign-compare \
    340 	-Wno-error=c++0x-compat \
    341 	-Wno-non-virtual-dtor \
    342 	-Wno-sign-promo
    343 
    344 
    345 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    346 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    347 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    348 ### Rules for final target.
    349 # Add target alias to "gyp_all_modules" target.
    350 .PHONY: gyp_all_modules
    351 gyp_all_modules: base_base_jni_headers_gyp
    352 
    353 # Alias gyp target name.
    354 .PHONY: base_jni_headers
    355 base_jni_headers: base_base_jni_headers_gyp
    356 
    357 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    358 LOCAL_UNINSTALLABLE_MODULE := true
    359 
    360 include $(BUILD_SYSTEM)/base_rules.mk
    361 
    362 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    363 	$(hide) echo "Gyp timestamp: $@"
    364 	$(hide) mkdir -p $(dir $@)
    365 	$(hide) touch $@
    366