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

Side by Side Diff: build/common.gypi

Issue 318753010: Introduce the ENABLE_BROWSER_CDMS macro. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. Please diff against PS1 for easy life. Created 6 years, 6 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
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 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 }, { 1860 }, {
1861 'use_cups%': 0, 1861 'use_cups%': 0,
1862 }], 1862 }],
1863 1863
1864 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', { 1864 ['enable_plugins==1 and (OS=="linux" or OS=="mac" or OS=="win")', {
1865 'enable_pepper_cdms%': 1, 1865 'enable_pepper_cdms%': 1,
1866 }, { 1866 }, {
1867 'enable_pepper_cdms%': 0, 1867 'enable_pepper_cdms%': 0,
1868 }], 1868 }],
1869 1869
1870 ['OS=="android"', {
1871 'enable_browser_cdms%': 1,
1872 }, {
1873 'enable_browser_cdms%': 0,
1874 }],
1875
1870 # Native Client glibc toolchain is enabled 1876 # Native Client glibc toolchain is enabled
1871 # by default except on arm and mips. 1877 # by default except on arm and mips.
1872 ['target_arch=="arm" or target_arch=="mipsel"', { 1878 ['target_arch=="arm" or target_arch=="mipsel"', {
1873 'disable_glibc%': 1, 1879 'disable_glibc%': 1,
1874 }, { 1880 }, {
1875 'disable_glibc%': 0, 1881 'disable_glibc%': 0,
1876 }], 1882 }],
1877 1883
1878 # Set the relative path from this file to the GYP file of the JPEG 1884 # Set the relative path from this file to the GYP file of the JPEG
1879 # library used by Chromium. 1885 # library used by Chromium.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2457 }], 2463 }],
2458 ['proprietary_codecs==1', { 2464 ['proprietary_codecs==1', {
2459 'defines': ['USE_PROPRIETARY_CODECS'], 2465 'defines': ['USE_PROPRIETARY_CODECS'],
2460 }], 2466 }],
2461 ['enable_viewport==1', { 2467 ['enable_viewport==1', {
2462 'defines': ['ENABLE_VIEWPORT'], 2468 'defines': ['ENABLE_VIEWPORT'],
2463 }], 2469 }],
2464 ['enable_pepper_cdms==1', { 2470 ['enable_pepper_cdms==1', {
2465 'defines': ['ENABLE_PEPPER_CDMS'], 2471 'defines': ['ENABLE_PEPPER_CDMS'],
2466 }], 2472 }],
2473 ['enable_browser_cdms==1', {
2474 'defines': ['ENABLE_BROWSER_CDMS'],
2475 }],
2467 ['configuration_policy==1', { 2476 ['configuration_policy==1', {
2468 'defines': ['ENABLE_CONFIGURATION_POLICY'], 2477 'defines': ['ENABLE_CONFIGURATION_POLICY'],
2469 }], 2478 }],
2470 ['notifications==1', { 2479 ['notifications==1', {
2471 'defines': ['ENABLE_NOTIFICATIONS'], 2480 'defines': ['ENABLE_NOTIFICATIONS'],
2472 }], 2481 }],
2473 ['enable_hidpi==1', { 2482 ['enable_hidpi==1', {
2474 'defines': ['ENABLE_HIDPI=1'], 2483 'defines': ['ENABLE_HIDPI=1'],
2475 }], 2484 }],
2476 ['native_discardable_memory==1', { 2485 ['native_discardable_memory==1', {
(...skipping 2945 matching lines...) Expand 10 before | Expand all | Expand 10 after
5422 # settings in target dicts. SYMROOT is a special case, because many other 5431 # settings in target dicts. SYMROOT is a special case, because many other
5423 # Xcode variables depend on it, including variables such as 5432 # Xcode variables depend on it, including variables such as
5424 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5433 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5425 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5434 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5426 # files to appear (when present) in the UI as actual files and not red 5435 # files to appear (when present) in the UI as actual files and not red
5427 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5436 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5428 # and therefore SYMROOT, needs to be set at the project level. 5437 # and therefore SYMROOT, needs to be set at the project level.
5429 'SYMROOT': '<(DEPTH)/xcodebuild', 5438 'SYMROOT': '<(DEPTH)/xcodebuild',
5430 }, 5439 },
5431 } 5440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698