summaryrefslogtreecommitdiff
path: root/chromium/chrome/android/features/dev_ui/BUILD.gn
blob: 235eda604e3a9c866861313b59c16c092b7130df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/buildflag_header.gni")
import("//build/config/android/rules.gni")
import("//chrome/common/features.gni")
import("dev_ui_module.gni")

# Generate a buildflag header for compile-time checking of Developer Tools DFM.
buildflag_header("buildflags") {
  header = "buildflags.h"
  flags = [ "DFMIFY_DEV_UI=$dfmify_dev_ui" ]
}

android_library("java") {
  deps = [
    "//base:base_java",
    "//chrome/android/features/dev_ui/public:java",
  ]
  java_files = [ "java/src/org/chromium/chrome/features/dev_ui/DevUiImpl.java" ]
}

android_assets("pak_assets") {
  renaming_sources = [ "$root_gen_dir/chrome/dev_ui_page_resources.pak" ]
  renaming_destinations = [ "dev_ui_resources.pak" ]
  deps = [
    "//chrome/browser/resources:dev_ui_paks",
  ]
  disable_compression = true
}