소스 검색

Disable-safe-browsing.patch

none 4 년 전
부모
커밋
736cca95fa
2개의 변경된 파일823개의 추가작업 그리고 107개의 파일을 삭제
  1. 813 97
      build/patches/Disable-safe-browsing.patch
  2. 10 10
      build/patches/openH264-enable-ARM-ARM64-optimizations.patch

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 813 - 97
build/patches/Disable-safe-browsing.patch


+ 10 - 10
build/patches/openH264-enable-ARM-ARM64-optimizations.patch

@@ -16,7 +16,7 @@ diff --git a/third_party/blink/renderer/modules/mediarecorder/h264_encoder.cc b/
      init_params.iRCMode = RC_OFF_MODE;
      init_params.iRCMode = RC_OFF_MODE;
    }
    }
  
  
--#if BUILDFLAG(IS_ASH)
+-#if BUILDFLAG(IS_CHROMEOS_ASH)
 -  init_params.iMultipleThreadIdc = 0;
 -  init_params.iMultipleThreadIdc = 0;
 -#else
 -#else
 +#if BUILDFLAG(OS_MACOSX)
 +#if BUILDFLAG(OS_MACOSX)
@@ -30,12 +30,12 @@ diff --git a/third_party/blink/renderer/modules/mediarecorder/h264_encoder.cc b/
 diff --git a/third_party/openh264/BUILD.gn b/third_party/openh264/BUILD.gn
 diff --git a/third_party/openh264/BUILD.gn b/third_party/openh264/BUILD.gn
 --- a/third_party/openh264/BUILD.gn
 --- a/third_party/openh264/BUILD.gn
 +++ b/third_party/openh264/BUILD.gn
 +++ b/third_party/openh264/BUILD.gn
-@@ -132,8 +132,12 @@ if (use_assembler) {
+@@ -131,8 +131,12 @@ if (use_assembler) {
  
  
  source_set("common") {
  source_set("common") {
    sources = openh264_common_sources
    sources = openh264_common_sources
--  if (is_ash && current_cpu == "arm") {
-+  if (is_ash || is_android) {
+-  if (is_chromeos_ash && current_cpu == "arm") {
++  if (is_chromeos_ash || is_android) {
 +  if (current_cpu == "arm") {
 +  if (current_cpu == "arm") {
      sources += openh264_common_sources_asm_arm
      sources += openh264_common_sources_asm_arm
 +  } else if (current_cpu == "arm64") {
 +  } else if (current_cpu == "arm64") {
@@ -44,12 +44,12 @@ diff --git a/third_party/openh264/BUILD.gn b/third_party/openh264/BUILD.gn
    }
    }
    include_dirs = openh264_common_include_dirs
    include_dirs = openh264_common_include_dirs
  
  
-@@ -158,8 +162,12 @@ source_set("common") {
+@@ -157,8 +161,12 @@ source_set("common") {
  
  
  source_set("processing") {
  source_set("processing") {
    sources = openh264_processing_sources
    sources = openh264_processing_sources
--  if (is_ash && current_cpu == "arm") {
-+  if (is_ash || is_android) {
+-  if (is_chromeos_ash && current_cpu == "arm") {
++  if (is_chromeos_ash || is_android) {
 +  if (current_cpu == "arm") {
 +  if (current_cpu == "arm") {
      sources += openh264_processing_sources_asm_arm
      sources += openh264_processing_sources_asm_arm
 +  } else {
 +  } else {
@@ -58,12 +58,12 @@ diff --git a/third_party/openh264/BUILD.gn b/third_party/openh264/BUILD.gn
    }
    }
    include_dirs = openh264_processing_include_dirs
    include_dirs = openh264_processing_include_dirs
  
  
-@@ -175,8 +183,12 @@ source_set("processing") {
+@@ -174,8 +182,12 @@ source_set("processing") {
  
  
  source_set("encoder") {
  source_set("encoder") {
    sources = openh264_encoder_sources
    sources = openh264_encoder_sources
--  if (is_ash && current_cpu == "arm") {
-+  if (is_ash || is_android) {
+-  if (is_chromeos_ash && current_cpu == "arm") {
++  if (is_chromeos_ash || is_android) {
 +  if (current_cpu == "arm") {
 +  if (current_cpu == "arm") {
      sources += openh264_encoder_sources_asm_arm
      sources += openh264_encoder_sources_asm_arm
 +  } else {
 +  } else {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.