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

Side by Side Diff: build/common.gypi

Issue 10825131: Android: move various gyp defines out of envsetup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « build/android/envsetup_functions.sh ('k') | no next file » | 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 'file_manager_extension%': 0, 448 'file_manager_extension%': 0,
449 }], 449 }],
450 450
451 ['OS=="win" or OS=="mac" or (OS=="linux" and use_aura==0)', { 451 ['OS=="win" or OS=="mac" or (OS=="linux" and use_aura==0)', {
452 'enable_one_click_signin%': 1, 452 'enable_one_click_signin%': 1,
453 }], 453 }],
454 454
455 ['OS=="android"', { 455 ['OS=="android"', {
456 'proprietary_codecs%': 1, 456 'proprietary_codecs%': 1,
457 'enable_webrtc%': 0, 457 'enable_webrtc%': 0,
458 'remoting%': 0,
458 }], 459 }],
459 460
460 ['OS=="ios"', { 461 ['OS=="ios"', {
461 'enable_automation%': 0, 462 'enable_automation%': 0,
462 'remoting%': 0, 463 'remoting%': 0,
463 }], 464 }],
464 465
465 # Use GPU accelerated cross process image transport by default 466 # Use GPU accelerated cross process image transport by default
466 # on linux builds with the Aura window manager 467 # on linux builds with the Aura window manager
467 ['use_aura==1 and OS=="linux"', { 468 ['use_aura==1 and OS=="linux"', {
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 'proprietary_codecs%': '<(proprietary_codecs)', 938 'proprietary_codecs%': '<(proprietary_codecs)',
938 'enable_task_manager%': 0, 939 'enable_task_manager%': 0,
939 'safe_browsing%': 0, 940 'safe_browsing%': 0,
940 'configuration_policy%': 0, 941 'configuration_policy%': 0,
941 'input_speech%': 0, 942 'input_speech%': 0,
942 'enable_web_intents%': 0, 943 'enable_web_intents%': 0,
943 'enable_extensions%': 0, 944 'enable_extensions%': 0,
944 'enable_automation%': 0, 945 'enable_automation%': 0,
945 'enable_printing%': 0, 946 'enable_printing%': 0,
946 'java_bridge%': 1, 947 'java_bridge%': 1,
948 'build_ffmpegsumo%': 0,
949 'linux_use_tcmalloc%': 0,
947 950
948 # Disable Native Client. 951 # Disable Native Client.
949 'disable_nacl%': 1, 952 'disable_nacl%': 1,
950 953
951 # Android does not support themes. 954 # Android does not support themes.
952 'enable_themes%': 0, 955 'enable_themes%': 0,
953 956
954 # Android does not support background apps. 957 # Android does not support background apps.
955 'enable_background%': 0, 958 'enable_background%': 0,
956 959
957 # Sessions are store separately in the Java side. 960 # Sessions are store separately in the Java side.
958 'enable_session_service%': 0, 961 'enable_session_service%': 0,
959 962
960 # Set to 1 once we have a notification system for Android. 963 # Set to 1 once we have a notification system for Android.
961 # http://crbug.com/115320 964 # http://crbug.com/115320
962 'notifications%': 0, 965 'notifications%': 0,
963 966
964 'p2p_apis%' : 0, 967 'p2p_apis%' : 0,
965 968
966 'gtest_target_type%': '<(gtest_target_type)',
967 # TODO(jrg): when 'gtest_target_type'=='shared_library' and 969 # TODO(jrg): when 'gtest_target_type'=='shared_library' and
968 # OS==android, make all gtest_targets depend on 970 # OS==android, make all gtest_targets depend on
969 # testing/android/native_test.gyp:native_test_apk. 971 # testing/android/native_test.gyp:native_test_apk.
970 ### 'gtest_target_type': 'shared_libary', 972 'gtest_target_type%': 'shared_library',
971 973
972 # Uses system APIs for decoding audio and video. 974 # Uses system APIs for decoding audio and video.
973 'use_libffmpeg%': '0', 975 'use_libffmpeg%': '0',
974 976
975 # Always use the chromium skia. The use_system_harfbuzz needs to 977 # Always use the chromium skia. The use_system_harfbuzz needs to
976 # match use_system_skia. 978 # match use_system_skia.
977 'use_system_skia%': '0', 979 'use_system_skia%': '0',
978 'use_system_harfbuzz%': '0', 980 'use_system_harfbuzz%': '0',
979 981
980 # Always use the system zlib. 982 # Always use the system zlib.
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2072 '-Wl,-O1', 2074 '-Wl,-O1',
2073 '-Wl,--as-needed', 2075 '-Wl,--as-needed',
2074 ], 2076 ],
2075 'conditions' : [ 2077 'conditions' : [
2076 ['no_gc_sections==0', { 2078 ['no_gc_sections==0', {
2077 'ldflags': [ 2079 'ldflags': [
2078 '-Wl,--gc-sections', 2080 '-Wl,--gc-sections',
2079 ], 2081 ],
2080 }], 2082 }],
2081 ['OS=="android"', { 2083 ['OS=="android"', {
2084 'variables': {
2085 'release_optimize%': 's',
2086 },
2082 'cflags': [ 2087 'cflags': [
2083 '-fomit-frame-pointer', 2088 '-fomit-frame-pointer',
2084 ], 2089 ],
2085 }], 2090 }],
2086 ['clang==1', { 2091 ['clang==1', {
2087 'cflags!': [ 2092 'cflags!': [
2088 '-fno-ident', 2093 '-fno-ident',
2089 ], 2094 ],
2090 }], 2095 }],
2091 ['profiling==1', { 2096 ['profiling==1', {
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
3336 # settings in target dicts. SYMROOT is a special case, because many other 3341 # settings in target dicts. SYMROOT is a special case, because many other
3337 # Xcode variables depend on it, including variables such as 3342 # Xcode variables depend on it, including variables such as
3338 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3343 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3339 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3344 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3340 # files to appear (when present) in the UI as actual files and not red 3345 # files to appear (when present) in the UI as actual files and not red
3341 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3346 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3342 # and therefore SYMROOT, needs to be set at the project level. 3347 # and therefore SYMROOT, needs to be set at the project level.
3343 'SYMROOT': '<(DEPTH)/xcodebuild', 3348 'SYMROOT': '<(DEPTH)/xcodebuild',
3344 }, 3349 },
3345 } 3350 }
OLDNEW
« no previous file with comments | « build/android/envsetup_functions.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698