Skip to content

Commit

Permalink
Remove unnecessary build flags (#4323)
Browse files Browse the repository at this point in the history
b/376141256
  • Loading branch information
niranjanyardi authored Oct 29, 2024
1 parent 5f57804 commit e16ed1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 174 deletions.
82 changes: 1 addition & 81 deletions cobalt/build/configs/linux-cobalt-x64x11/args.gn
Original file line number Diff line number Diff line change
@@ -1,87 +1,7 @@
target_os = "linux"
target_cpu = "x64"

enable_nacl = false
use_dawn = false
skia_use_dawn = false

# enable_vulkan=false

use_ozone = true

# Enterprise stuff
enable_print_content_analysis = false

# enterprise_client_certificates=false
enterprise_cloud_content_analysis = false
enterprise_content_analysis = true
enterprise_data_controls = true
enterprise_local_content_analysis = false
enterprise_watermark = false

optional_trace_events_enabled = false
enable_plugins = false
enable_pdf = false
enable_printing = false
enable_cast_receiver = false
enable_paint_preview = false
cast_streaming_enable_remoting = false

#
enable_background_contents = false
enable_background_mode = false
enable_chrome_notifications = false
enable_click_to_call = false

enable_system_notifications = false

enable_webui_certificate_viewer = false

enable_hidpi = false

enable_library_cdms = false

# disable swiftshader
enable_swiftshader = false
enable_swiftshader_vulkan = false
swiftshader_optimized_debug_build = false
use_swiftshader_with_subzero = false
angle_enable_swiftshader = false
dawn_use_swiftshader = false

# Disable webnn neural networks | tflite
webnn_use_tflite = false
enable_maldoca = false
enable_reading_list = false
enable_remoting = false
enable_screen_ai_service = true

# linux system interfaces
use_bluez = false
use_cups = false
use_dbus = false
use_mpris = false
use_udev = false
use_qt = false
use_qt6 = false

# printing stuff
enable_oop_basic_print_dialog = false
enable_basic_print_dialog = false
enable_basic_printing = false
enable_oop_basic_print_dialog = false
enable_oop_printing = false
enable_oop_printing_no_oop_basic_print_dialog = false
enable_print_content_analysis = false
enable_print_preview = false
enable_printing = false
enable_printing_tests = false
use_cups = false

enable_vr = false

# Network stuff
use_kerberos = false

toolkit_views = true
# TODO(b/376141256): Decide if this flag is needed here or in .gclient file
chrome_pgo_phase = 0
94 changes: 1 addition & 93 deletions cobalt/build/configs/linux-x64x11/args.gn
Original file line number Diff line number Diff line change
@@ -1,98 +1,6 @@
target_os = "linux"
target_cpu = "x64"
target_platform = "linux-x64x11"
is_cobalt = false

# Chromium flag overrides needed for building libstarboard

# V8 override
# # Enable WASM and install WebAssembly global.
v8_enable_webassembly = true

# TODO(b/218889313): All flags below this line need to be revisited
# carefully and eliminated if unnecessary.

enable_nacl = false
use_dawn = false
skia_use_dawn = false

# enable_vulkan=false

use_ozone = true

# Enterprise stuff
enable_print_content_analysis = false

# enterprise_client_certificates=false
enterprise_cloud_content_analysis = false
enterprise_content_analysis = true
enterprise_data_controls = true
enterprise_local_content_analysis = false
enterprise_watermark = false

optional_trace_events_enabled = false
enable_plugins = false
enable_pdf = false
enable_printing = false
enable_cast_receiver = false
enable_paint_preview = false
cast_streaming_enable_remoting = false

#
enable_background_contents = false
enable_background_mode = false
enable_chrome_notifications = false
enable_click_to_call = false

enable_system_notifications = false

enable_webui_certificate_viewer = false

enable_hidpi = false

enable_library_cdms = false

# disable swiftshader
enable_swiftshader = false
enable_swiftshader_vulkan = false
swiftshader_optimized_debug_build = false
use_swiftshader_with_subzero = false
angle_enable_swiftshader = false
dawn_use_swiftshader = false

# Disable webnn neural networks | tflite
webnn_use_tflite = false
enable_maldoca = false
enable_reading_list = false
enable_remoting = false
enable_screen_ai_service = true

# linux system interfaces
use_bluez = false
use_cups = false
use_dbus = false
use_mpris = false
use_udev = false
use_qt = false
use_qt6 = false

# printing stuff
enable_oop_basic_print_dialog = false
enable_basic_print_dialog = false
enable_basic_printing = false
enable_oop_basic_print_dialog = false
enable_oop_printing = false
enable_oop_printing_no_oop_basic_print_dialog = false
enable_print_content_analysis = false
enable_print_preview = false
enable_printing = false
enable_printing_tests = false
use_cups = false

enable_vr = false

# Network stuff
use_kerberos = false

toolkit_views = true
# TODO(b/376141256): Decide if this flag is needed here or in .gclient file
chrome_pgo_phase = 0

0 comments on commit e16ed1e

Please sign in to comment.