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

Side by Side Diff: build/common.gypi

Issue 86313004: [Android] Add lint as a gyp action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Temp patch for showing the lint errors Created 7 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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 988
989 # Set to 1 to enable java code coverage. Instruments classes during build 989 # Set to 1 to enable java code coverage. Instruments classes during build
990 # to produce .ec files during runtime. 990 # to produce .ec files during runtime.
991 'emma_coverage%': 0, 991 'emma_coverage%': 0,
992 992
993 # EMMA filter string consisting of a list of inclusion/exclusion patterns 993 # EMMA filter string consisting of a list of inclusion/exclusion patterns
994 # separated with whitespace and/or comma. Only has effect if 994 # separated with whitespace and/or comma. Only has effect if
995 # 'emma_coverage=1'. 995 # 'emma_coverage=1'.
996 'emma_filter%': '', 996 'emma_filter%': '',
997 997
998 # Set to 1 to enable running Android lint on java/class files.
999 'android_lint%': 0,
1000
998 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 1001 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
999 # This is useful for parallel compilation tools which can't support /Zi. 1002 # This is useful for parallel compilation tools which can't support /Zi.
1000 # Only used on Windows. 1003 # Only used on Windows.
1001 'win_z7%' : 0, 1004 'win_z7%' : 0,
1002 1005
1003 # Although base/allocator lets you select a heap library via an 1006 # Although base/allocator lets you select a heap library via an
1004 # environment variable, the libcmt shim it uses sometimes gets in 1007 # environment variable, the libcmt shim it uses sometimes gets in
1005 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 1008 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
1006 # 'win_use_allocator_shim': 0, 1009 # 'win_use_allocator_shim': 0,
1007 # 'win_release_RuntimeLibrary': 2 1010 # 'win_release_RuntimeLibrary': 2
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 }], 1441 }],
1439 ['OS=="mac"', { 1442 ['OS=="mac"', {
1440 # Enable clang on mac by default! 1443 # Enable clang on mac by default!
1441 'clang%': 1, 1444 'clang%': 1,
1442 'conditions': [ 1445 'conditions': [
1443 # All Chrome builds have breakpad symbols, but only process the 1446 # All Chrome builds have breakpad symbols, but only process the
1444 # symbols from official builds. 1447 # symbols from official builds.
1445 ['(branding=="Chrome" and buildtype=="Official")', { 1448 ['(branding=="Chrome" and buildtype=="Official")', {
1446 'mac_strip_release%': 1, 1449 'mac_strip_release%': 1,
1447 }], 1450 }],
1448 ], 1451 ],
1449 }], # OS=="mac" 1452 }], # OS=="mac"
1450 ['OS=="mac" or OS=="ios"', { 1453 ['OS=="mac" or OS=="ios"', {
1451 'variables': { 1454 'variables': {
1452 # Mac OS X SDK and deployment target support. The SDK identifies 1455 # Mac OS X SDK and deployment target support. The SDK identifies
1453 # the version of the system headers that will be used, and 1456 # the version of the system headers that will be used, and
1454 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time 1457 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time
1455 # macro. "Maximum allowed" refers to the operating system version 1458 # macro. "Maximum allowed" refers to the operating system version
1456 # whose APIs are available in the headers. The deployment target 1459 # whose APIs are available in the headers. The deployment target
1457 # identifies the minimum system version that the built products are 1460 # identifies the minimum system version that the built products are
1458 # expected to function on. It corresponds to the 1461 # expected to function on. It corresponds to the
(...skipping 3289 matching lines...) Expand 10 before | Expand all | Expand 10 after
4748 # settings in target dicts. SYMROOT is a special case, because many other 4751 # settings in target dicts. SYMROOT is a special case, because many other
4749 # Xcode variables depend on it, including variables such as 4752 # Xcode variables depend on it, including variables such as
4750 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4753 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4751 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4754 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4752 # files to appear (when present) in the UI as actual files and not red 4755 # files to appear (when present) in the UI as actual files and not red
4753 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4756 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4754 # and therefore SYMROOT, needs to be set at the project level. 4757 # and therefore SYMROOT, needs to be set at the project level.
4755 'SYMROOT': '<(DEPTH)/xcodebuild', 4758 'SYMROOT': '<(DEPTH)/xcodebuild',
4756 }, 4759 },
4757 } 4760 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698