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