Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: build/common.gypi

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/pylib/uirobot/uirobot_test_instance.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 # The channel to build on Android: stable, beta, dev, canary, or 154 # The channel to build on Android: stable, beta, dev, canary, or
155 # default. "default" should be used on non-official builds. 155 # default. "default" should be used on non-official builds.
156 'android_channel%': 'default', 156 'android_channel%': 'default',
157 157
158 # This is set when building the Android WebView inside the Android 158 # This is set when building the Android WebView inside the Android
159 # build system, using the 'android' gyp backend. The WebView code is 159 # build system, using the 'android' gyp backend. The WebView code is
160 # still built when this is unset, but builds using the normal chromium 160 # still built when this is unset, but builds using the normal chromium
161 # build system. 161 # build system.
162 'android_webview_build%': 0, 162 'android_webview_build%': 0,
163 163
164 # This is set when building the Android WebView in ninja for the
165 # telemetry bot.
166 'android_webview_telemetry_build%': 0,
167
168 # Set ARM architecture version. 164 # Set ARM architecture version.
169 'arm_version%': 7, 165 'arm_version%': 7,
170 166
171 # Use aurax11 for clipboard implementation. This is true on linux_aura. 167 # Use aurax11 for clipboard implementation. This is true on linux_aura.
172 'use_clipboard_aurax11%': 0, 168 'use_clipboard_aurax11%': 0,
173 169
174 # goma settings. 170 # goma settings.
175 # 1 to use goma. 171 # 1 to use goma.
176 # If no gomadir is set, it uses the default gomadir. 172 # If no gomadir is set, it uses the default gomadir.
177 'use_goma%': 0, 173 'use_goma%': 0,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 'use_ozone%': '<(use_ozone)', 285 'use_ozone%': '<(use_ozone)',
290 'use_ozone_evdev%': '<(use_ozone_evdev)', 286 'use_ozone_evdev%': '<(use_ozone_evdev)',
291 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 287 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
292 'embedded%': '<(embedded)', 288 'embedded%': '<(embedded)',
293 'use_openssl%': '<(use_openssl)', 289 'use_openssl%': '<(use_openssl)',
294 'use_openssl_certs%': '<(use_openssl_certs)', 290 'use_openssl_certs%': '<(use_openssl_certs)',
295 'enable_viewport%': '<(enable_viewport)', 291 'enable_viewport%': '<(enable_viewport)',
296 'enable_hidpi%': '<(enable_hidpi)', 292 'enable_hidpi%': '<(enable_hidpi)',
297 'android_channel%': '<(android_channel)', 293 'android_channel%': '<(android_channel)',
298 'android_webview_build%': '<(android_webview_build)', 294 'android_webview_build%': '<(android_webview_build)',
299 'android_webview_telemetry_build%': '<(android_webview_telemetry_build)',
300 'use_goma%': '<(use_goma)', 295 'use_goma%': '<(use_goma)',
301 'gomadir%': '<(gomadir)', 296 'gomadir%': '<(gomadir)',
302 'enable_app_list%': '<(enable_app_list)', 297 'enable_app_list%': '<(enable_app_list)',
303 'use_default_render_theme%': '<(use_default_render_theme)', 298 'use_default_render_theme%': '<(use_default_render_theme)',
304 'buildtype%': '<(buildtype)', 299 'buildtype%': '<(buildtype)',
305 'branding%': '<(branding)', 300 'branding%': '<(branding)',
306 'arm_version%': '<(arm_version)', 301 'arm_version%': '<(arm_version)',
307 'sysroot%': '<(sysroot)', 302 'sysroot%': '<(sysroot)',
308 'chroot_cmd%': '<(chroot_cmd)', 303 'chroot_cmd%': '<(chroot_cmd)',
309 'system_libdir%': '<(system_libdir)', 304 'system_libdir%': '<(system_libdir)',
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 ['embedded==1', { 958 ['embedded==1', {
964 'remoting%': 0, 959 'remoting%': 0,
965 'enable_basic_printing%': 0, 960 'enable_basic_printing%': 0,
966 'enable_print_preview%': 0, 961 'enable_print_preview%': 0,
967 }], 962 }],
968 963
969 # By default, use ICU data file (icudtl.dat) on all platforms 964 # By default, use ICU data file (icudtl.dat) on all platforms
970 # except when building Android WebView. 965 # except when building Android WebView.
971 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). 966 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium).
972 # Set the data reduction proxy origin for Android Webview. 967 # Set the data reduction proxy origin for Android Webview.
973 ['android_webview_build==0 and android_webview_telemetry_build==0', { 968 ['android_webview_build==0', {
974 'icu_use_data_file_flag%' : 1, 969 'icu_use_data_file_flag%' : 1,
975 }, { 970 }, {
976 'icu_use_data_file_flag%' : 0, 971 'icu_use_data_file_flag%' : 0,
977 }], 972 }],
978 ['OS=="win" or OS=="mac"', { 973 ['OS=="win" or OS=="mac"', {
979 'enable_wifi_bootstrapping%' : 1, 974 'enable_wifi_bootstrapping%' : 1,
980 }], 975 }],
981 976
982 # Path to sas.dll, which provides the SendSAS function. 977 # Path to sas.dll, which provides the SendSAS function.
983 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs. 85).aspx 978 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs. 85).aspx
984 ['target_arch=="x64"', { 979 ['target_arch=="x64"', {
985 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a md64', 980 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a md64',
986 }, { 981 }, {
987 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86', 982 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x 86',
988 }], 983 }],
989 984
990 # Turn on JNI generation optimizations on non-WebView builds. 985 # Turn on JNI generation optimizations on non-WebView builds.
991 ['OS=="android" and android_webview_build==0', { 986 ['OS=="android" and android_webview_build==0', {
992 'optimize_jni_generation%': 1, 987 'optimize_jni_generation%': 1,
993 }, { 988 }, {
994 'optimize_jni_generation%': 0, 989 'optimize_jni_generation%': 0,
995 }], 990 }],
996 991
997 # TODO(baixo): Enable v8_use_external_startup_data 992 # TODO(baixo): Enable v8_use_external_startup_data
998 # http://crbug.com/421063 993 # http://crbug.com/421063
999 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch romecast==0 and chromeos==0 and (OS=="android" or OS=="linux" or OS=="mac")', { 994 ['android_webview_build==0 and chromecast==0 and chromeos==0 and (OS=="a ndroid" or OS=="linux" or OS=="mac")', {
1000 'v8_use_external_startup_data%': 1, 995 'v8_use_external_startup_data%': 1,
1001 }, { 996 }, {
1002 'v8_use_external_startup_data%': 0, 997 'v8_use_external_startup_data%': 0,
1003 }], 998 }],
1004 ], 999 ],
1005 1000
1006 # Set this to 1 to enable use of concatenated impulse responses 1001 # Set this to 1 to enable use of concatenated impulse responses
1007 # for the HRTF panner in WebAudio. 1002 # for the HRTF panner in WebAudio.
1008 'use_concatenated_impulse_responses': 1, 1003 'use_concatenated_impulse_responses': 1,
1009 1004
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 'disable_file_support%': '<(disable_file_support)', 1164 'disable_file_support%': '<(disable_file_support)',
1170 'disable_ftp_support%': '<(disable_ftp_support)', 1165 'disable_ftp_support%': '<(disable_ftp_support)',
1171 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', 1166 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)',
1172 'enable_task_manager%': '<(enable_task_manager)', 1167 'enable_task_manager%': '<(enable_task_manager)',
1173 'sas_dll_path%': '<(sas_dll_path)', 1168 'sas_dll_path%': '<(sas_dll_path)',
1174 'wix_path%': '<(wix_path)', 1169 'wix_path%': '<(wix_path)',
1175 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1170 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1176 'use_system_libjpeg%': '<(use_system_libjpeg)', 1171 'use_system_libjpeg%': '<(use_system_libjpeg)',
1177 'android_channel%': '<(android_channel)', 1172 'android_channel%': '<(android_channel)',
1178 'android_webview_build%': '<(android_webview_build)', 1173 'android_webview_build%': '<(android_webview_build)',
1179 'android_webview_telemetry_build%': '<(android_webview_telemetry_build)',
1180 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 1174 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
1181 'gyp_managed_install%': 0, 1175 'gyp_managed_install%': 0,
1182 'create_standalone_apk%': 1, 1176 'create_standalone_apk%': 1,
1183 'enable_app_list%': '<(enable_app_list)', 1177 'enable_app_list%': '<(enable_app_list)',
1184 'use_default_render_theme%': '<(use_default_render_theme)', 1178 'use_default_render_theme%': '<(use_default_render_theme)',
1185 'enable_settings_app%': '<(enable_settings_app)', 1179 'enable_settings_app%': '<(enable_settings_app)',
1186 'google_api_key%': '<(google_api_key)', 1180 'google_api_key%': '<(google_api_key)',
1187 'google_default_client_id%': '<(google_default_client_id)', 1181 'google_default_client_id%': '<(google_default_client_id)',
1188 'google_default_client_secret%': '<(google_default_client_secret)', 1182 'google_default_client_secret%': '<(google_default_client_secret)',
1189 'enable_supervised_users%': '<(enable_supervised_users)', 1183 'enable_supervised_users%': '<(enable_supervised_users)',
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 # Default android linker script for shared library exports. 1799 # Default android linker script for shared library exports.
1806 'android_linker_script%': '<(SHARED_INTERMEDIATE_DIR)/android_exports.ls t', 1800 'android_linker_script%': '<(SHARED_INTERMEDIATE_DIR)/android_exports.ls t',
1807 }], # OS=="android" 1801 }], # OS=="android"
1808 ['embedded==1', { 1802 ['embedded==1', {
1809 'use_system_fontconfig%': 0, 1803 'use_system_fontconfig%': 0,
1810 }, { 1804 }, {
1811 'use_system_fontconfig%': 1, 1805 'use_system_fontconfig%': 1,
1812 }], 1806 }],
1813 ['chromecast==1', { 1807 ['chromecast==1', {
1814 'enable_mpeg2ts_stream_parser%': 1, 1808 'enable_mpeg2ts_stream_parser%': 1,
1815 'ffmpeg_branding%': 'Chrome', 1809 'ffmpeg_branding%': 'ChromeOS',
1816 'ozone_platform_ozonex%': 1, 1810 'ozone_platform_ozonex%': 1,
1817 'use_playready%': 0, 1811 'use_playready%': 0,
1818 'conditions': [ 1812 'conditions': [
1819 ['target_arch=="arm"', { 1813 ['target_arch=="arm"', {
1820 'arm_arch%': '', 1814 'arm_arch%': '',
1821 'arm_tune%': 'cortex-a9', 1815 'arm_tune%': 'cortex-a9',
1822 'arm_thumb%': 1, 1816 'arm_thumb%': 1,
1823 'video_hole%': 1, 1817 'video_hole%': 1,
1824 }], 1818 }],
1825 ], 1819 ],
(...skipping 2495 matching lines...) Expand 10 before | Expand all | Expand 10 after
4321 }], 4315 }],
4322 ], 4316 ],
4323 }], 4317 }],
4324 ['use_instrumented_libraries==1', { 4318 ['use_instrumented_libraries==1', {
4325 'dependencies': [ 4319 'dependencies': [
4326 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries', 4320 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries',
4327 ], 4321 ],
4328 }], 4322 }],
4329 ['use_custom_libcxx==1', { 4323 ['use_custom_libcxx==1', {
4330 'dependencies': [ 4324 'dependencies': [
4331 '<(DEPTH)/third_party/libc++/libc++.gyp:libcxx_proxy', 4325 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy',
4332 ], 4326 ],
4333 }], 4327 }],
4334 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', { 4328 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', {
4335 'target_conditions' : [ 4329 'target_conditions' : [
4336 # crazy_linker has an upstream gyp file we can't edit, and we 4330 # crazy_linker has an upstream gyp file we can't edit, and we
4337 # don't want to instrument it. 4331 # don't want to instrument it.
4338 ['_toolset=="target" and _target_name!="crazy_linker"', { 4332 ['_toolset=="target" and _target_name!="crazy_linker"', {
4339 'cflags': [ 4333 'cflags': [
4340 '-finstrument-functions', 4334 '-finstrument-functions',
4341 # Allow mmx intrinsics to inline, so that the 4335 # Allow mmx intrinsics to inline, so that the
(...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after
5844 # settings in target dicts. SYMROOT is a special case, because many other 5838 # settings in target dicts. SYMROOT is a special case, because many other
5845 # Xcode variables depend on it, including variables such as 5839 # Xcode variables depend on it, including variables such as
5846 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5840 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5847 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5841 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5848 # files to appear (when present) in the UI as actual files and not red 5842 # files to appear (when present) in the UI as actual files and not red
5849 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5843 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5850 # and therefore SYMROOT, needs to be set at the project level. 5844 # and therefore SYMROOT, needs to be set at the project level.
5851 'SYMROOT': '<(DEPTH)/xcodebuild', 5845 'SYMROOT': '<(DEPTH)/xcodebuild',
5852 }, 5846 },
5853 } 5847 }
OLDNEW
« no previous file with comments | « build/android/pylib/uirobot/uirobot_test_instance.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698