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

Side by Side Diff: build/common.gypi

Issue 11464012: [Android] Add support for labeling a build with a particular build id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
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 2843 matching lines...) Expand 10 before | Expand all | Expand 10 after
2854 ['OS=="freebsd"', { 2854 ['OS=="freebsd"', {
2855 'target_defaults': { 2855 'target_defaults': {
2856 'ldflags': [ 2856 'ldflags': [
2857 '-Wl,--no-keep-memory', 2857 '-Wl,--no-keep-memory',
2858 ], 2858 ],
2859 }, 2859 },
2860 }], 2860 }],
2861 # Android-specific options; note that most are set above with Linux. 2861 # Android-specific options; note that most are set above with Linux.
2862 ['OS=="android"', { 2862 ['OS=="android"', {
2863 'variables': { 2863 'variables': {
2864 # This is the id for the archived chrome symbols. Each build that 2864 # This is a unique identifier for a given build. It's used for
2865 # archives symbols is assigned an id which is then added to GYP_DEFINES. 2865 # identifying various build artifacts corresponding to a particular
2866 # This is written to the device log on crashes just prior to dropping a 2866 # build of chrome (e.g. where to find archived symbols).
2867 # tombstone. Tools can determine the location of the archived symbols 2867 'chrome_build_id%': '',
2868 # from the id.
2869 'chrome_symbols_id%': '',
2870 'conditions': [ 2868 'conditions': [
2871 # Use shared stlport library when system one used. 2869 # Use shared stlport library when system one used.
2872 # Figure this out early since it needs symbols from libgcc.a, so it 2870 # Figure this out early since it needs symbols from libgcc.a, so it
2873 # has to be before that in the set of libraries. 2871 # has to be before that in the set of libraries.
2874 ['use_system_stlport==1', { 2872 ['use_system_stlport==1', {
2875 'android_stlport_library': 'stlport', 2873 'android_stlport_library': 'stlport',
2876 }, { 2874 }, {
2877 'conditions': [ 2875 'conditions': [
2878 ['component=="shared_library"', { 2876 ['component=="shared_library"', {
2879 'android_stlport_library': 'stlport_shared', 2877 'android_stlport_library': 'stlport_shared',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2946 '-fno-short-enums', 2944 '-fno-short-enums',
2947 '-finline-limit=64', 2945 '-finline-limit=64',
2948 '-Wa,--noexecstack', 2946 '-Wa,--noexecstack',
2949 '<@(release_extra_cflags)', 2947 '<@(release_extra_cflags)',
2950 ], 2948 ],
2951 'defines': [ 2949 'defines': [
2952 'ANDROID', 2950 'ANDROID',
2953 '__GNU_SOURCE=1', # Necessary for clone() 2951 '__GNU_SOURCE=1', # Necessary for clone()
2954 'USE_STLPORT=1', 2952 'USE_STLPORT=1',
2955 '_STLP_USE_PTR_SPECIALIZATIONS=1', 2953 '_STLP_USE_PTR_SPECIALIZATIONS=1',
2956 'CHROME_SYMBOLS_ID="<(chrome_symbols_id)"', 2954 'CHROME_BUILD_ID="<(chrome_build_id)"',
2957 ], 2955 ],
2958 'ldflags!': [ 2956 'ldflags!': [
2959 '-pthread', # Not supported by Android toolchain. 2957 '-pthread', # Not supported by Android toolchain.
2960 ], 2958 ],
2961 'ldflags': [ 2959 'ldflags': [
2962 '-nostdlib', 2960 '-nostdlib',
2963 '-Wl,--no-undefined', 2961 '-Wl,--no-undefined',
2964 # Don't export symbols from statically linked libraries. 2962 # Don't export symbols from statically linked libraries.
2965 '-Wl,--exclude-libs=ALL', 2963 '-Wl,--exclude-libs=ALL',
2966 ], 2964 ],
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
3914 # settings in target dicts. SYMROOT is a special case, because many other 3912 # settings in target dicts. SYMROOT is a special case, because many other
3915 # Xcode variables depend on it, including variables such as 3913 # Xcode variables depend on it, including variables such as
3916 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3914 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3917 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3915 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3918 # files to appear (when present) in the UI as actual files and not red 3916 # files to appear (when present) in the UI as actual files and not red
3919 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3917 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3920 # and therefore SYMROOT, needs to be set at the project level. 3918 # and therefore SYMROOT, needs to be set at the project level.
3921 'SYMROOT': '<(DEPTH)/xcodebuild', 3919 'SYMROOT': '<(DEPTH)/xcodebuild',
3922 }, 3920 },
3923 } 3921 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/breakpad_linux.cc » ('j') | chrome/browser/resources/about_version.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698