Home | History | Annotate | Download | only in content
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := content_speech_recognition_error_java_gyp
      7 LOCAL_MODULE_STEM := speech_recognition_error_java
      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 "content_content_gyp_speech_recognition_error_java_target_generate_java_constants":
     18 # "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'public/common/speech_recognition_error_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}":
     19 $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     21 $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     23 $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java: $(LOCAL_PATH)/content/public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/content/public/common/speech_recognition_error_list.h $(GYP_TARGET_DEPENDENCIES)
     24 	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser; cd $(gyp_local_path)/content; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java" "--template=public/android/java/src/org/chromium/content/browser/SpeechRecognitionError.template"
     25 
     26 .PHONY: content_speech_recognition_error_java_gyp_rule_trigger
     27 content_speech_recognition_error_java_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java
     28 
     29 ### Finished generating for all rules
     30 
     31 GYP_GENERATED_OUTPUTS := \
     32 	$(gyp_shared_intermediate_dir)/templates/org/chromium/content/browser/SpeechRecognitionError.java
     33 
     34 # Make sure our deps and generated files are built first.
     35 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     36 
     37 LOCAL_GENERATED_SOURCES := \
     38 	content_speech_recognition_error_java_gyp_rule_trigger
     39 
     40 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     41 
     42 LOCAL_SRC_FILES :=
     43 
     44 
     45 # Flags passed to both C and C++ files.
     46 MY_CFLAGS_Debug := \
     47 	-fstack-protector \
     48 	--param=ssp-buffer-size=4 \
     49 	-Werror \
     50 	-fno-exceptions \
     51 	-fno-strict-aliasing \
     52 	-Wall \
     53 	-Wno-unused-parameter \
     54 	-Wno-missing-field-initializers \
     55 	-fvisibility=hidden \
     56 	-pipe \
     57 	-fPIC \
     58 	-fno-tree-sra \
     59 	-fuse-ld=gold \
     60 	-Wno-psabi \
     61 	-ffunction-sections \
     62 	-funwind-tables \
     63 	-g \
     64 	-fstack-protector \
     65 	-fno-short-enums \
     66 	-finline-limit=64 \
     67 	-Wa,--noexecstack \
     68 	-U_FORTIFY_SOURCE \
     69 	-Wno-extra \
     70 	-Wno-ignored-qualifiers \
     71 	-Wno-type-limits \
     72 	-Os \
     73 	-g \
     74 	-fomit-frame-pointer \
     75 	-fdata-sections \
     76 	-ffunction-sections
     77 
     78 MY_DEFS_Debug := \
     79 	'-DCONTENT_IMPLEMENTATION' \
     80 	'-DANGLE_DX11' \
     81 	'-D_FILE_OFFSET_BITS=64' \
     82 	'-DNO_TCMALLOC' \
     83 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     84 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     85 	'-DDISABLE_NACL' \
     86 	'-DCHROMIUM_BUILD' \
     87 	'-DUSE_LIBJPEG_TURBO=1' \
     88 	'-DUSE_PROPRIETARY_CODECS' \
     89 	'-DENABLE_CONFIGURATION_POLICY' \
     90 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
     91 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
     92 	'-DENABLE_GPU=1' \
     93 	'-DUSE_OPENSSL=1' \
     94 	'-DENABLE_EGLIMAGE=1' \
     95 	'-DENABLE_PRINTING=1' \
     96 	'-D__STDC_CONSTANT_MACROS' \
     97 	'-D__STDC_FORMAT_MACROS' \
     98 	'-DANDROID' \
     99 	'-D__GNU_SOURCE=1' \
    100 	'-DUSE_STLPORT=1' \
    101 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    102 	'-DCHROME_BUILD_ID=""' \
    103 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    104 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    105 	'-D_DEBUG'
    106 
    107 
    108 # Include paths placed before CFLAGS/CPPFLAGS
    109 LOCAL_C_INCLUDES_Debug := \
    110 	$(PWD)/frameworks/wilhelm/include \
    111 	$(PWD)/bionic \
    112 	$(PWD)/external/stlport/stlport
    113 
    114 
    115 # Flags passed to only C++ (and not C) files.
    116 LOCAL_CPPFLAGS_Debug := \
    117 	-fno-rtti \
    118 	-fno-threadsafe-statics \
    119 	-fvisibility-inlines-hidden \
    120 	-Wsign-compare \
    121 	-Wno-abi \
    122 	-Wno-error=c++0x-compat \
    123 	-Wno-non-virtual-dtor \
    124 	-Wno-sign-promo
    125 
    126 
    127 # Flags passed to both C and C++ files.
    128 MY_CFLAGS_Release := \
    129 	-fstack-protector \
    130 	--param=ssp-buffer-size=4 \
    131 	-Werror \
    132 	-fno-exceptions \
    133 	-fno-strict-aliasing \
    134 	-Wall \
    135 	-Wno-unused-parameter \
    136 	-Wno-missing-field-initializers \
    137 	-fvisibility=hidden \
    138 	-pipe \
    139 	-fPIC \
    140 	-fno-tree-sra \
    141 	-fuse-ld=gold \
    142 	-Wno-psabi \
    143 	-ffunction-sections \
    144 	-funwind-tables \
    145 	-g \
    146 	-fstack-protector \
    147 	-fno-short-enums \
    148 	-finline-limit=64 \
    149 	-Wa,--noexecstack \
    150 	-U_FORTIFY_SOURCE \
    151 	-Wno-extra \
    152 	-Wno-ignored-qualifiers \
    153 	-Wno-type-limits \
    154 	-Os \
    155 	-fno-ident \
    156 	-fdata-sections \
    157 	-ffunction-sections \
    158 	-fomit-frame-pointer
    159 
    160 MY_DEFS_Release := \
    161 	'-DCONTENT_IMPLEMENTATION' \
    162 	'-DANGLE_DX11' \
    163 	'-D_FILE_OFFSET_BITS=64' \
    164 	'-DNO_TCMALLOC' \
    165 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    166 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    167 	'-DDISABLE_NACL' \
    168 	'-DCHROMIUM_BUILD' \
    169 	'-DUSE_LIBJPEG_TURBO=1' \
    170 	'-DUSE_PROPRIETARY_CODECS' \
    171 	'-DENABLE_CONFIGURATION_POLICY' \
    172 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    173 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    174 	'-DENABLE_GPU=1' \
    175 	'-DUSE_OPENSSL=1' \
    176 	'-DENABLE_EGLIMAGE=1' \
    177 	'-DENABLE_PRINTING=1' \
    178 	'-D__STDC_CONSTANT_MACROS' \
    179 	'-D__STDC_FORMAT_MACROS' \
    180 	'-DANDROID' \
    181 	'-D__GNU_SOURCE=1' \
    182 	'-DUSE_STLPORT=1' \
    183 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    184 	'-DCHROME_BUILD_ID=""' \
    185 	'-DNDEBUG' \
    186 	'-DNVALGRIND' \
    187 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    188 	'-D_FORTIFY_SOURCE=2'
    189 
    190 
    191 # Include paths placed before CFLAGS/CPPFLAGS
    192 LOCAL_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.
    199 LOCAL_CPPFLAGS_Release := \
    200 	-fno-rtti \
    201 	-fno-threadsafe-statics \
    202 	-fvisibility-inlines-hidden \
    203 	-Wsign-compare \
    204 	-Wno-abi \
    205 	-Wno-error=c++0x-compat \
    206 	-Wno-non-virtual-dtor \
    207 	-Wno-sign-promo
    208 
    209 
    210 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    211 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    212 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    213 ### Rules for final target.
    214 # Add target alias to "gyp_all_modules" target.
    215 .PHONY: gyp_all_modules
    216 gyp_all_modules: content_speech_recognition_error_java_gyp
    217 
    218 # Alias gyp target name.
    219 .PHONY: speech_recognition_error_java
    220 speech_recognition_error_java: content_speech_recognition_error_java_gyp
    221 
    222 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    223 LOCAL_UNINSTALLABLE_MODULE := true
    224 
    225 include $(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