Home | History | Annotate | Download | only in ui
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := ui_ui_base_jni_headers_gyp
      7 LOCAL_MODULE_STEM := ui_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 "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
     27 ui_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
     37 ui_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
     47 ui_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
     57 ui_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
     67 ui_ui_base_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h
     68 
     69 ### Finished generating for all rules
     70 
     71 GYP_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.
     79 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     80 
     81 LOCAL_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 
     89 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     90 
     91 LOCAL_SRC_FILES :=
     92 
     93 
     94 # Flags passed to both C and C++ files.
     95 MY_CFLAGS_Debug := \
     96 	-fstack-protector \
     97 	--param=ssp-buffer-size=4 \
     98 	-Werror \
     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 	-fno-tree-sra \
    108 	-fuse-ld=gold \
    109 	-Wno-psabi \
    110 	-ffunction-sections \
    111 	-funwind-tables \
    112 	-g \
    113 	-fstack-protector \
    114 	-fno-short-enums \
    115 	-finline-limit=64 \
    116 	-Wa,--noexecstack \
    117 	-U_FORTIFY_SOURCE \
    118 	-Wno-extra \
    119 	-Wno-ignored-qualifiers \
    120 	-Wno-type-limits \
    121 	-Os \
    122 	-g \
    123 	-fomit-frame-pointer \
    124 	-fdata-sections \
    125 	-ffunction-sections
    126 
    127 MY_DEFS_Debug := \
    128 	'-DV8_DEPRECATION_WARNINGS' \
    129 	'-D_FILE_OFFSET_BITS=64' \
    130 	'-DNO_TCMALLOC' \
    131 	'-DDISABLE_NACL' \
    132 	'-DCHROMIUM_BUILD' \
    133 	'-DUSE_LIBJPEG_TURBO=1' \
    134 	'-DUSE_PROPRIETARY_CODECS' \
    135 	'-DENABLE_CONFIGURATION_POLICY' \
    136 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    137 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    138 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    139 	'-DUSE_OPENSSL=1' \
    140 	'-DENABLE_EGLIMAGE=1' \
    141 	'-DCLD_VERSION=1' \
    142 	'-DENABLE_PRINTING=1' \
    143 	'-DENABLE_MANAGED_USERS=1' \
    144 	'-D__STDC_CONSTANT_MACROS' \
    145 	'-D__STDC_FORMAT_MACROS' \
    146 	'-DANDROID' \
    147 	'-D__GNU_SOURCE=1' \
    148 	'-DUSE_STLPORT=1' \
    149 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    150 	'-DCHROME_BUILD_ID=""' \
    151 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    152 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    153 	'-D_DEBUG'
    154 
    155 
    156 # Include paths placed before CFLAGS/CPPFLAGS
    157 LOCAL_C_INCLUDES_Debug := \
    158 	$(PWD)/frameworks/wilhelm/include \
    159 	$(PWD)/bionic \
    160 	$(PWD)/external/stlport/stlport
    161 
    162 
    163 # Flags passed to only C++ (and not C) files.
    164 LOCAL_CPPFLAGS_Debug := \
    165 	-fno-rtti \
    166 	-fno-threadsafe-statics \
    167 	-fvisibility-inlines-hidden \
    168 	-Wsign-compare \
    169 	-Wno-abi \
    170 	-Wno-error=c++0x-compat \
    171 	-Wno-non-virtual-dtor \
    172 	-Wno-sign-promo
    173 
    174 
    175 # Flags passed to both C and C++ files.
    176 MY_CFLAGS_Release := \
    177 	-fstack-protector \
    178 	--param=ssp-buffer-size=4 \
    179 	-Werror \
    180 	-fno-exceptions \
    181 	-fno-strict-aliasing \
    182 	-Wall \
    183 	-Wno-unused-parameter \
    184 	-Wno-missing-field-initializers \
    185 	-fvisibility=hidden \
    186 	-pipe \
    187 	-fPIC \
    188 	-fno-tree-sra \
    189 	-fuse-ld=gold \
    190 	-Wno-psabi \
    191 	-ffunction-sections \
    192 	-funwind-tables \
    193 	-g \
    194 	-fstack-protector \
    195 	-fno-short-enums \
    196 	-finline-limit=64 \
    197 	-Wa,--noexecstack \
    198 	-U_FORTIFY_SOURCE \
    199 	-Wno-extra \
    200 	-Wno-ignored-qualifiers \
    201 	-Wno-type-limits \
    202 	-Os \
    203 	-fno-ident \
    204 	-fdata-sections \
    205 	-ffunction-sections \
    206 	-fomit-frame-pointer
    207 
    208 MY_DEFS_Release := \
    209 	'-DV8_DEPRECATION_WARNINGS' \
    210 	'-D_FILE_OFFSET_BITS=64' \
    211 	'-DNO_TCMALLOC' \
    212 	'-DDISABLE_NACL' \
    213 	'-DCHROMIUM_BUILD' \
    214 	'-DUSE_LIBJPEG_TURBO=1' \
    215 	'-DUSE_PROPRIETARY_CODECS' \
    216 	'-DENABLE_CONFIGURATION_POLICY' \
    217 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    218 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    219 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    220 	'-DUSE_OPENSSL=1' \
    221 	'-DENABLE_EGLIMAGE=1' \
    222 	'-DCLD_VERSION=1' \
    223 	'-DENABLE_PRINTING=1' \
    224 	'-DENABLE_MANAGED_USERS=1' \
    225 	'-D__STDC_CONSTANT_MACROS' \
    226 	'-D__STDC_FORMAT_MACROS' \
    227 	'-DANDROID' \
    228 	'-D__GNU_SOURCE=1' \
    229 	'-DUSE_STLPORT=1' \
    230 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    231 	'-DCHROME_BUILD_ID=""' \
    232 	'-DNDEBUG' \
    233 	'-DNVALGRIND' \
    234 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    235 	'-D_FORTIFY_SOURCE=2'
    236 
    237 
    238 # Include paths placed before CFLAGS/CPPFLAGS
    239 LOCAL_C_INCLUDES_Release := \
    240 	$(PWD)/frameworks/wilhelm/include \
    241 	$(PWD)/bionic \
    242 	$(PWD)/external/stlport/stlport
    243 
    244 
    245 # Flags passed to only C++ (and not C) files.
    246 LOCAL_CPPFLAGS_Release := \
    247 	-fno-rtti \
    248 	-fno-threadsafe-statics \
    249 	-fvisibility-inlines-hidden \
    250 	-Wsign-compare \
    251 	-Wno-abi \
    252 	-Wno-error=c++0x-compat \
    253 	-Wno-non-virtual-dtor \
    254 	-Wno-sign-promo
    255 
    256 
    257 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    258 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    259 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    260 ### Rules for final target.
    261 # Add target alias to "gyp_all_modules" target.
    262 .PHONY: gyp_all_modules
    263 gyp_all_modules: ui_ui_base_jni_headers_gyp
    264 
    265 # Alias gyp target name.
    266 .PHONY: ui_base_jni_headers
    267 ui_base_jni_headers: ui_ui_base_jni_headers_gyp
    268 
    269 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    270 LOCAL_UNINSTALLABLE_MODULE := true
    271 
    272 include $(BUILD_SYSTEM)/base_rules.mk
    273 
    274 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    275 	$(hide) echo "Gyp timestamp: $@"
    276 	$(hide) mkdir -p $(dir $@)
    277 	$(hide) touch $@
    278