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

Side by Side Diff: build/common.gypi

Issue 1569053002: Raise gyp/GN failure if proprietary_codecs=1 and ffmpeg_branding=Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | media/BUILD.gn » ('j') | media/BUILD.gn » ('J')
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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 ['OS=="android" or OS=="mac"', { 839 ['OS=="android" or OS=="mac"', {
840 'use_browser_spellchecker%': 1, 840 'use_browser_spellchecker%': 1,
841 }], 841 }],
842 842
843 # Android OS includes support for proprietary codecs regardless of 843 # Android OS includes support for proprietary codecs regardless of
844 # building Chromium or Google Chrome. We also ship Google Chrome and 844 # building Chromium or Google Chrome. We also ship Google Chrome and
845 # Chromecast with proprietary codecs. 845 # Chromecast with proprietary codecs.
846 ['OS=="android" or branding=="Chrome" or chromecast==1', { 846 ['OS=="android" or branding=="Chrome" or chromecast==1', {
847 'proprietary_codecs%': 1, 847 'proprietary_codecs%': 1,
848 }, { 848 }, {
849 'ffmpeg_branding%': "Chromium",
jrummell 2016/01/11 22:05:47 I thought we were trying to keep ffmpeg_branding l
DaleCurtis 2016/01/11 22:13:46 That's a bug but may be something we end up needin
849 'proprietary_codecs%': 0, 850 'proprietary_codecs%': 0,
850 }], 851 }],
851 852
852 # Enable autofill dialog when not on iOS. 853 # Enable autofill dialog when not on iOS.
853 ['OS!="ios"', { 854 ['OS!="ios"', {
854 'enable_autofill_dialog%': 1, 855 'enable_autofill_dialog%': 1,
855 }], 856 }],
856 857
857 ['buildtype=="Official"', { 858 ['buildtype=="Official"', {
858 'enable_prod_wallet_service%': 1, 859 'enable_prod_wallet_service%': 1,
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 'use_default_render_theme%': '<(use_default_render_theme)', 1247 'use_default_render_theme%': '<(use_default_render_theme)',
1247 'enable_settings_app%': '<(enable_settings_app)', 1248 'enable_settings_app%': '<(enable_settings_app)',
1248 'google_api_key%': '<(google_api_key)', 1249 'google_api_key%': '<(google_api_key)',
1249 'google_default_client_id%': '<(google_default_client_id)', 1250 'google_default_client_id%': '<(google_default_client_id)',
1250 'google_default_client_secret%': '<(google_default_client_secret)', 1251 'google_default_client_secret%': '<(google_default_client_secret)',
1251 'enable_supervised_users%': '<(enable_supervised_users)', 1252 'enable_supervised_users%': '<(enable_supervised_users)',
1252 'enable_mdns%' : '<(enable_mdns)', 1253 'enable_mdns%' : '<(enable_mdns)',
1253 'enable_service_discovery%' : '<(enable_service_discovery)', 1254 'enable_service_discovery%' : '<(enable_service_discovery)',
1254 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1255 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1255 'proprietary_codecs%': '<(proprietary_codecs)', 1256 'proprietary_codecs%': '<(proprietary_codecs)',
1257 'ffmpeg_branding%': '<(ffmpeg_branding)',
1256 'use_goma%': '<(use_goma)', 1258 'use_goma%': '<(use_goma)',
1257 'gomadir%': '<(gomadir)', 1259 'gomadir%': '<(gomadir)',
1258 'use_lto%': '<(use_lto)', 1260 'use_lto%': '<(use_lto)',
1259 'use_lto_o2%': '<(use_lto_o2)', 1261 'use_lto_o2%': '<(use_lto_o2)',
1260 'gold_icf_level%': '<(gold_icf_level)', 1262 'gold_icf_level%': '<(gold_icf_level)',
1261 'video_hole%': '<(video_hole)', 1263 'video_hole%': '<(video_hole)',
1262 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)', 1264 'v8_use_external_startup_data%': '<(v8_use_external_startup_data)',
1263 'cfi_vptr%': '<(cfi_vptr)', 1265 'cfi_vptr%': '<(cfi_vptr)',
1264 'cfi_diag%': '<(cfi_diag)', 1266 'cfi_diag%': '<(cfi_diag)',
1265 'cfi_blacklist%': '<(cfi_blacklist)', 1267 'cfi_blacklist%': '<(cfi_blacklist)',
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 # Determines whether we should optimize JNI generation at the cost of 1851 # Determines whether we should optimize JNI generation at the cost of
1850 # breaking assumptions in the build system that when inputs have changed 1852 # breaking assumptions in the build system that when inputs have changed
1851 # the outputs should always change as well. This is meant purely for 1853 # the outputs should always change as well. This is meant purely for
1852 # developer builds, to avoid spurious re-linking of native files. 1854 # developer builds, to avoid spurious re-linking of native files.
1853 'optimize_jni_generation%': '<(optimize_jni_generation)', 1855 'optimize_jni_generation%': '<(optimize_jni_generation)',
1854 1856
1855 # Use OpenSSL's struct X509 to represent certificates. 1857 # Use OpenSSL's struct X509 to represent certificates.
1856 'use_openssl_certs%': 1, 1858 'use_openssl_certs%': 1,
1857 1859
1858 'proprietary_codecs%': '<(proprietary_codecs)', 1860 'proprietary_codecs%': '<(proprietary_codecs)',
1861 'ffmpeg_branding%': '<(ffmpeg_branding)',
1859 1862
1860 'safe_browsing%': 2, 1863 'safe_browsing%': 2,
1861 1864
1862 'enable_web_speech%': 0, 1865 'enable_web_speech%': 0,
1863 'java_bridge%': 1, 1866 'java_bridge%': 1,
1864 'use_allocator%': 'none', 1867 'use_allocator%': 'none',
1865 1868
1866 # Disable Native Client. 1869 # Disable Native Client.
1867 'disable_nacl%': 1, 1870 'disable_nacl%': 1,
1868 1871
(...skipping 4522 matching lines...) Expand 10 before | Expand all | Expand 10 after
6391 # settings in target dicts. SYMROOT is a special case, because many other 6394 # settings in target dicts. SYMROOT is a special case, because many other
6392 # Xcode variables depend on it, including variables such as 6395 # Xcode variables depend on it, including variables such as
6393 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6396 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6394 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6397 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6395 # files to appear (when present) in the UI as actual files and not red 6398 # files to appear (when present) in the UI as actual files and not red
6396 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6399 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6397 # and therefore SYMROOT, needs to be set at the project level. 6400 # and therefore SYMROOT, needs to be set at the project level.
6398 'SYMROOT': '<(DEPTH)/xcodebuild', 6401 'SYMROOT': '<(DEPTH)/xcodebuild',
6399 }, 6402 },
6400 } 6403 }
OLDNEW
« no previous file with comments | « no previous file | media/BUILD.gn » ('j') | media/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698