chromium/chrome/android/features/dev_ui/dev_ui_module.gni

# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

declare_args() {
  # Whether Developer UI (chrome:// pages) should be split into a separate
  # Dynamic Feature Module (DFM: //docs/android_dynamic_feature_modules.md).
  dfmify_dev_ui = true
}

dev_ui_module_desc = {
  name = "dev_ui"
  java_deps = [ "//chrome/android/features/dev_ui:java" ]
  android_manifest =
      "//chrome/android/features/dev_ui/internal/java/AndroidManifest.xml"
  paks = [ "$root_gen_dir/chrome/dev_ui_resources.pak" ]
  pak_deps = [ "//chrome/browser/resources:dev_ui_paks" ]

  # DevUI DFM does not need to call Module.getImpl(), and manages loading on
  # install and on use. Therefore disable auto-load on Module.getImpl().
  load_native_on_get_impl = false
}