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

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

Powered by Google App Engine
This is Rietveld 408576698