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_java_activity_state_gyp
      7 LOCAL_MODULE_STEM := base_java_activity_state
      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_java_activity_state_target_generate_java_constants":
     18 # "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'android/activity_state_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['android/java/src/org/chromium/base/ActivityState.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}":
     19 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     21 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     23 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/ActivityState.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/base/android/activity_state_list.h $(GYP_TARGET_DEPENDENCIES)
     24 	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/base; cd $(gyp_local_path)/base; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java" "--template=android/java/src/org/chromium/base/ActivityState.template"
     25 
     26 .PHONY: base_base_java_activity_state_gyp_rule_trigger
     27 base_base_java_activity_state_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.java
     28 
     29 ### Finished generating for all rules
     30 
     31 GYP_GENERATED_OUTPUTS := \
     32 	$(gyp_shared_intermediate_dir)/templates/org/chromium/base/ActivityState.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 	base_base_java_activity_state_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 	 \
     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 	-EL \
     59 	-mhard-float \
     60 	-ffunction-sections \
     61 	-funwind-tables \
     62 	-g \
     63 	-fstack-protector \
     64 	-fno-short-enums \
     65 	-finline-limit=64 \
     66 	-Wa,--noexecstack \
     67 	-U_FORTIFY_SOURCE \
     68 	-Wno-extra \
     69 	-Wno-ignored-qualifiers \
     70 	-Wno-type-limits \
     71 	-Os \
     72 	-g \
     73 	-fomit-frame-pointer \
     74 	-fdata-sections \
     75 	-ffunction-sections
     76 
     77 MY_DEFS_Debug := \
     78 	'-DV8_DEPRECATION_WARNINGS' \
     79 	'-D_FILE_OFFSET_BITS=64' \
     80 	'-DNO_TCMALLOC' \
     81 	'-DDISABLE_NACL' \
     82 	'-DCHROMIUM_BUILD' \
     83 	'-DUSE_LIBJPEG_TURBO=1' \
     84 	'-DUSE_PROPRIETARY_CODECS' \
     85 	'-DENABLE_CONFIGURATION_POLICY' \
     86 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     87 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     88 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     89 	'-DUSE_OPENSSL=1' \
     90 	'-DENABLE_EGLIMAGE=1' \
     91 	'-DCLD_VERSION=1' \
     92 	'-DENABLE_PRINTING=1' \
     93 	'-DENABLE_MANAGED_USERS=1' \
     94 	'-D__STDC_CONSTANT_MACROS' \
     95 	'-D__STDC_FORMAT_MACROS' \
     96 	'-DANDROID' \
     97 	'-D__GNU_SOURCE=1' \
     98 	'-DUSE_STLPORT=1' \
     99 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    100 	'-DCHROME_BUILD_ID=""' \
    101 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    102 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    103 	'-D_DEBUG'
    104 
    105 
    106 # Include paths placed before CFLAGS/CPPFLAGS
    107 LOCAL_C_INCLUDES_Debug := \
    108 	$(PWD)/frameworks/wilhelm/include \
    109 	$(PWD)/bionic \
    110 	$(PWD)/external/stlport/stlport
    111 
    112 
    113 # Flags passed to only C++ (and not C) files.
    114 LOCAL_CPPFLAGS_Debug := \
    115 	-fno-rtti \
    116 	-fno-threadsafe-statics \
    117 	-fvisibility-inlines-hidden \
    118 	-Wsign-compare \
    119 	-Wno-uninitialized \
    120 	-Wno-error=c++0x-compat \
    121 	-Wno-non-virtual-dtor \
    122 	-Wno-sign-promo
    123 
    124 
    125 # Flags passed to both C and C++ files.
    126 MY_CFLAGS_Release := \
    127 	-fstack-protector \
    128 	--param=ssp-buffer-size=4 \
    129 	 \
    130 	-fno-exceptions \
    131 	-fno-strict-aliasing \
    132 	-Wall \
    133 	-Wno-unused-parameter \
    134 	-Wno-missing-field-initializers \
    135 	-fvisibility=hidden \
    136 	-pipe \
    137 	-fPIC \
    138 	-EL \
    139 	-mhard-float \
    140 	-ffunction-sections \
    141 	-funwind-tables \
    142 	-g \
    143 	-fstack-protector \
    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 	-Os \
    152 	-fno-ident \
    153 	-fdata-sections \
    154 	-ffunction-sections \
    155 	-fomit-frame-pointer
    156 
    157 MY_DEFS_Release := \
    158 	'-DV8_DEPRECATION_WARNINGS' \
    159 	'-D_FILE_OFFSET_BITS=64' \
    160 	'-DNO_TCMALLOC' \
    161 	'-DDISABLE_NACL' \
    162 	'-DCHROMIUM_BUILD' \
    163 	'-DUSE_LIBJPEG_TURBO=1' \
    164 	'-DUSE_PROPRIETARY_CODECS' \
    165 	'-DENABLE_CONFIGURATION_POLICY' \
    166 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    167 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    168 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    169 	'-DUSE_OPENSSL=1' \
    170 	'-DENABLE_EGLIMAGE=1' \
    171 	'-DCLD_VERSION=1' \
    172 	'-DENABLE_PRINTING=1' \
    173 	'-DENABLE_MANAGED_USERS=1' \
    174 	'-D__STDC_CONSTANT_MACROS' \
    175 	'-D__STDC_FORMAT_MACROS' \
    176 	'-DANDROID' \
    177 	'-D__GNU_SOURCE=1' \
    178 	'-DUSE_STLPORT=1' \
    179 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    180 	'-DCHROME_BUILD_ID=""' \
    181 	'-DNDEBUG' \
    182 	'-DNVALGRIND' \
    183 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    184 	'-D_FORTIFY_SOURCE=2'
    185 
    186 
    187 # Include paths placed before CFLAGS/CPPFLAGS
    188 LOCAL_C_INCLUDES_Release := \
    189 	$(PWD)/frameworks/wilhelm/include \
    190 	$(PWD)/bionic \
    191 	$(PWD)/external/stlport/stlport
    192 
    193 
    194 # Flags passed to only C++ (and not C) files.
    195 LOCAL_CPPFLAGS_Release := \
    196 	-fno-rtti \
    197 	-fno-threadsafe-statics \
    198 	-fvisibility-inlines-hidden \
    199 	-Wsign-compare \
    200 	-Wno-uninitialized \
    201 	-Wno-error=c++0x-compat \
    202 	-Wno-non-virtual-dtor \
    203 	-Wno-sign-promo
    204 
    205 
    206 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    207 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    208 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    209 ### Rules for final target.
    210 # Add target alias to "gyp_all_modules" target.
    211 .PHONY: gyp_all_modules
    212 gyp_all_modules: base_base_java_activity_state_gyp
    213 
    214 # Alias gyp target name.
    215 .PHONY: base_java_activity_state
    216 base_java_activity_state: base_base_java_activity_state_gyp
    217 
    218 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    219 LOCAL_UNINSTALLABLE_MODULE := true
    220 
    221 include $(BUILD_SYSTEM)/base_rules.mk
    222 
    223 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    224 	$(hide) echo "Gyp timestamp: $@"
    225 	$(hide) mkdir -p $(dir $@)
    226 	$(hide) touch $@
    227