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 	-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 	'-DV8_DEPRECATION_WARNINGS' \
     80 	'-D_FILE_OFFSET_BITS=64' \
     81 	'-DNO_TCMALLOC' \
     82 	'-DDISABLE_NACL' \
     83 	'-DCHROMIUM_BUILD' \
     84 	'-DUSE_LIBJPEG_TURBO=1' \
     85 	'-DUSE_PROPRIETARY_CODECS' \
     86 	'-DENABLE_CONFIGURATION_POLICY' \
     87 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     88 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     89 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     90 	'-DUSE_OPENSSL=1' \
     91 	'-DENABLE_EGLIMAGE=1' \
     92 	'-DCLD_VERSION=1' \
     93 	'-DENABLE_PRINTING=1' \
     94 	'-DENABLE_MANAGED_USERS=1' \
     95 	'-D__STDC_CONSTANT_MACROS' \
     96 	'-D__STDC_FORMAT_MACROS' \
     97 	'-DANDROID' \
     98 	'-D__GNU_SOURCE=1' \
     99 	'-DUSE_STLPORT=1' \
    100 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    101 	'-DCHROME_BUILD_ID=""' \
    102 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    103 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    104 	'-D_DEBUG'
    105 
    106 
    107 # Include paths placed before CFLAGS/CPPFLAGS
    108 LOCAL_C_INCLUDES_Debug := \
    109 	$(PWD)/frameworks/wilhelm/include \
    110 	$(PWD)/bionic \
    111 	$(PWD)/external/stlport/stlport
    112 
    113 
    114 # Flags passed to only C++ (and not C) files.
    115 LOCAL_CPPFLAGS_Debug := \
    116 	-fno-rtti \
    117 	-fno-threadsafe-statics \
    118 	-fvisibility-inlines-hidden \
    119 	-Wsign-compare \
    120 	-Wno-abi \
    121 	-Wno-error=c++0x-compat \
    122 	-Wno-non-virtual-dtor \
    123 	-Wno-sign-promo
    124 
    125 
    126 # Flags passed to both C and C++ files.
    127 MY_CFLAGS_Release := \
    128 	-fstack-protector \
    129 	--param=ssp-buffer-size=4 \
    130 	-Werror \
    131 	-fno-exceptions \
    132 	-fno-strict-aliasing \
    133 	-Wall \
    134 	-Wno-unused-parameter \
    135 	-Wno-missing-field-initializers \
    136 	-fvisibility=hidden \
    137 	-pipe \
    138 	-fPIC \
    139 	-fno-tree-sra \
    140 	-fuse-ld=gold \
    141 	-Wno-psabi \
    142 	-ffunction-sections \
    143 	-funwind-tables \
    144 	-g \
    145 	-fstack-protector \
    146 	-fno-short-enums \
    147 	-finline-limit=64 \
    148 	-Wa,--noexecstack \
    149 	-U_FORTIFY_SOURCE \
    150 	-Wno-extra \
    151 	-Wno-ignored-qualifiers \
    152 	-Wno-type-limits \
    153 	-Os \
    154 	-fno-ident \
    155 	-fdata-sections \
    156 	-ffunction-sections \
    157 	-fomit-frame-pointer
    158 
    159 MY_DEFS_Release := \
    160 	'-DV8_DEPRECATION_WARNINGS' \
    161 	'-D_FILE_OFFSET_BITS=64' \
    162 	'-DNO_TCMALLOC' \
    163 	'-DDISABLE_NACL' \
    164 	'-DCHROMIUM_BUILD' \
    165 	'-DUSE_LIBJPEG_TURBO=1' \
    166 	'-DUSE_PROPRIETARY_CODECS' \
    167 	'-DENABLE_CONFIGURATION_POLICY' \
    168 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    169 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    170 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    171 	'-DUSE_OPENSSL=1' \
    172 	'-DENABLE_EGLIMAGE=1' \
    173 	'-DCLD_VERSION=1' \
    174 	'-DENABLE_PRINTING=1' \
    175 	'-DENABLE_MANAGED_USERS=1' \
    176 	'-D__STDC_CONSTANT_MACROS' \
    177 	'-D__STDC_FORMAT_MACROS' \
    178 	'-DANDROID' \
    179 	'-D__GNU_SOURCE=1' \
    180 	'-DUSE_STLPORT=1' \
    181 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    182 	'-DCHROME_BUILD_ID=""' \
    183 	'-DNDEBUG' \
    184 	'-DNVALGRIND' \
    185 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    186 	'-D_FORTIFY_SOURCE=2'
    187 
    188 
    189 # Include paths placed before CFLAGS/CPPFLAGS
    190 LOCAL_C_INCLUDES_Release := \
    191 	$(PWD)/frameworks/wilhelm/include \
    192 	$(PWD)/bionic \
    193 	$(PWD)/external/stlport/stlport
    194 
    195 
    196 # Flags passed to only C++ (and not C) files.
    197 LOCAL_CPPFLAGS_Release := \
    198 	-fno-rtti \
    199 	-fno-threadsafe-statics \
    200 	-fvisibility-inlines-hidden \
    201 	-Wsign-compare \
    202 	-Wno-abi \
    203 	-Wno-error=c++0x-compat \
    204 	-Wno-non-virtual-dtor \
    205 	-Wno-sign-promo
    206 
    207 
    208 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    209 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    210 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    211 ### Rules for final target.
    212 # Add target alias to "gyp_all_modules" target.
    213 .PHONY: gyp_all_modules
    214 gyp_all_modules: base_base_java_activity_state_gyp
    215 
    216 # Alias gyp target name.
    217 .PHONY: base_java_activity_state
    218 base_java_activity_state: base_base_java_activity_state_gyp
    219 
    220 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    221 LOCAL_UNINSTALLABLE_MODULE := true
    222 
    223 include $(BUILD_SYSTEM)/base_rules.mk
    224 
    225 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    226 	$(hide) echo "Gyp timestamp: $@"
    227 	$(hide) mkdir -p $(dir $@)
    228 	$(hide) touch $@
    229