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 	-fstack-protector \
    181 	--param=ssp-buffer-size=4 \
    182 	 \
    183 	-fno-exceptions \
    184 	-fno-strict-aliasing \
    185 	-Wall \
    186 	-Wno-unused-parameter \
    187 	-Wno-missing-field-initializers \
    188 	-fvisibility=hidden \
    189 	-pipe \
    190 	-fPIC \
    191 	-EL \
    192 	-mhard-float \
    193 	-ffunction-sections \
    194 	-funwind-tables \
    195 	-g \
    196 	-fstack-protector \
    197 	-fno-short-enums \
    198 	-finline-limit=64 \
    199 	-Wa,--noexecstack \
    200 	-U_FORTIFY_SOURCE \
    201 	-Wno-extra \
    202 	-Wno-ignored-qualifiers \
    203 	-Wno-type-limits \
    204 	-Os \
    205 	-g \
    206 	-fomit-frame-pointer \
    207 	-fdata-sections \
    208 	-ffunction-sections
    209 
    210 MY_DEFS_Debug := \
    211 	'-DANGLE_DX11' \
    212 	'-D_FILE_OFFSET_BITS=64' \
    213 	'-DNO_TCMALLOC' \
    214 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    215 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    216 	'-DDISABLE_NACL' \
    217 	'-DCHROMIUM_BUILD' \
    218 	'-DUSE_LIBJPEG_TURBO=1' \
    219 	'-DUSE_PROPRIETARY_CODECS' \
    220 	'-DENABLE_CONFIGURATION_POLICY' \
    221 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    222 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    223 	'-DENABLE_GPU=1' \
    224 	'-DUSE_OPENSSL=1' \
    225 	'-DENABLE_EGLIMAGE=1' \
    226 	'-DENABLE_PRINTING=1' \
    227 	'-D__STDC_CONSTANT_MACROS' \
    228 	'-D__STDC_FORMAT_MACROS' \
    229 	'-DANDROID' \
    230 	'-D__GNU_SOURCE=1' \
    231 	'-DUSE_STLPORT=1' \
    232 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    233 	'-DCHROME_BUILD_ID=""' \
    234 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    235 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    236 	'-D_DEBUG'
    237 
    238 
    239 # Include paths placed before CFLAGS/CPPFLAGS
    240 LOCAL_C_INCLUDES_Debug := \
    241 	$(PWD)/frameworks/wilhelm/include \
    242 	$(PWD)/bionic \
    243 	$(PWD)/external/stlport/stlport
    244 
    245 
    246 # Flags passed to only C++ (and not C) files.
    247 LOCAL_CPPFLAGS_Debug := \
    248 	-fno-rtti \
    249 	-fno-threadsafe-statics \
    250 	-fvisibility-inlines-hidden \
    251 	-Wsign-compare \
    252 	-Wno-uninitialized \
    253 	-Wno-error=c++0x-compat \
    254 	-Wno-non-virtual-dtor \
    255 	-Wno-sign-promo
    256 
    257 
    258 # Flags passed to both C and C++ files.
    259 MY_CFLAGS_Release := \
    260 	-fstack-protector \
    261 	--param=ssp-buffer-size=4 \
    262 	 \
    263 	-fno-exceptions \
    264 	-fno-strict-aliasing \
    265 	-Wall \
    266 	-Wno-unused-parameter \
    267 	-Wno-missing-field-initializers \
    268 	-fvisibility=hidden \
    269 	-pipe \
    270 	-fPIC \
    271 	-EL \
    272 	-mhard-float \
    273 	-ffunction-sections \
    274 	-funwind-tables \
    275 	-g \
    276 	-fstack-protector \
    277 	-fno-short-enums \
    278 	-finline-limit=64 \
    279 	-Wa,--noexecstack \
    280 	-U_FORTIFY_SOURCE \
    281 	-Wno-extra \
    282 	-Wno-ignored-qualifiers \
    283 	-Wno-type-limits \
    284 	-Os \
    285 	-fno-ident \
    286 	-fdata-sections \
    287 	-ffunction-sections \
    288 	-fomit-frame-pointer
    289 
    290 MY_DEFS_Release := \
    291 	'-DANGLE_DX11' \
    292 	'-D_FILE_OFFSET_BITS=64' \
    293 	'-DNO_TCMALLOC' \
    294 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    295 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    296 	'-DDISABLE_NACL' \
    297 	'-DCHROMIUM_BUILD' \
    298 	'-DUSE_LIBJPEG_TURBO=1' \
    299 	'-DUSE_PROPRIETARY_CODECS' \
    300 	'-DENABLE_CONFIGURATION_POLICY' \
    301 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    302 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    303 	'-DENABLE_GPU=1' \
    304 	'-DUSE_OPENSSL=1' \
    305 	'-DENABLE_EGLIMAGE=1' \
    306 	'-DENABLE_PRINTING=1' \
    307 	'-D__STDC_CONSTANT_MACROS' \
    308 	'-D__STDC_FORMAT_MACROS' \
    309 	'-DANDROID' \
    310 	'-D__GNU_SOURCE=1' \
    311 	'-DUSE_STLPORT=1' \
    312 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    313 	'-DCHROME_BUILD_ID=""' \
    314 	'-DNDEBUG' \
    315 	'-DNVALGRIND' \
    316 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    317 	'-D_FORTIFY_SOURCE=2'
    318 
    319 
    320 # Include paths placed before CFLAGS/CPPFLAGS
    321 LOCAL_C_INCLUDES_Release := \
    322 	$(PWD)/frameworks/wilhelm/include \
    323 	$(PWD)/bionic \
    324 	$(PWD)/external/stlport/stlport
    325 
    326 
    327 # Flags passed to only C++ (and not C) files.
    328 LOCAL_CPPFLAGS_Release := \
    329 	-fno-rtti \
    330 	-fno-threadsafe-statics \
    331 	-fvisibility-inlines-hidden \
    332 	-Wsign-compare \
    333 	-Wno-uninitialized \
    334 	-Wno-error=c++0x-compat \
    335 	-Wno-non-virtual-dtor \
    336 	-Wno-sign-promo
    337 
    338 
    339 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    340 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    341 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    342 ### Rules for final target.
    343 # Add target alias to "gyp_all_modules" target.
    344 .PHONY: gyp_all_modules
    345 gyp_all_modules: base_base_jni_headers_gyp
    346 
    347 # Alias gyp target name.
    348 .PHONY: base_jni_headers
    349 base_jni_headers: base_base_jni_headers_gyp
    350 
    351 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    352 LOCAL_UNINSTALLABLE_MODULE := true
    353 
    354 include $(BUILD_SYSTEM)/base_rules.mk
    355 
    356 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    357 	$(hide) echo "Gyp timestamp: $@"
    358 	$(hide) mkdir -p $(dir $@)
    359 	$(hide) touch $@
    360