45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: fgei <fgei@gmail.com>
|
||
|
Date: Mon, 13 Mar 2023 08:41:43 +0000
|
||
|
Subject: [PATCH] Consolidate java sources added at android-specific chrome
|
||
|
layer
|
||
|
|
||
|
---
|
||
|
chrome/android/chrome_ext_java_sources.gni | 6 ++++++
|
||
|
chrome/android/java_sources.gni | 2 ++
|
||
|
2 files changed, 8 insertions(+)
|
||
|
create mode 100644 chrome/android/chrome_ext_java_sources.gni
|
||
|
|
||
|
diff --git a/chrome/android/chrome_ext_java_sources.gni b/chrome/android/chrome_ext_java_sources.gni
|
||
|
new file mode 100644
|
||
|
index 0000000000000..fe72e9b1d3abb
|
||
|
--- /dev/null
|
||
|
+++ b/chrome/android/chrome_ext_java_sources.gni
|
||
|
@@ -0,0 +1,6 @@
|
||
|
+# Copyright 2023 GrapheneOS
|
||
|
+# Use of this source code is governed by a GPLv2 only-style license that can be
|
||
|
+# found in the LICENSE file.
|
||
|
+
|
||
|
+chrome_ext_java_sources = [
|
||
|
+]
|
||
|
diff --git a/chrome/android/java_sources.gni b/chrome/android/java_sources.gni
|
||
|
index a5f30237c3bfa..727142fc4e8f5 100644
|
||
|
--- a/chrome/android/java_sources.gni
|
||
|
+++ b/chrome/android/java_sources.gni
|
||
|
@@ -3,6 +3,7 @@
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//build/config/android/config.gni")
|
||
|
+import("//chrome/android/chrome_ext_java_sources.gni")
|
||
|
import("//chrome/android/chrome_java_sources.gni")
|
||
|
import("//chrome/android/chrome_junit_test_java_sources.gni")
|
||
|
import("//chrome/android/chrome_test_java_sources.gni")
|
||
|
@@ -24,6 +25,7 @@ import("//components/feed/features.gni")
|
||
|
import("//components/offline_pages/buildflags/features.gni")
|
||
|
import("//device/vr/buildflags/buildflags.gni")
|
||
|
|
||
|
+chrome_java_sources += chrome_ext_java_sources
|
||
|
# Only used for testing, should not be shipped to end users.
|
||
|
if (enable_offline_pages_harness) {
|
||
|
chrome_java_sources += [ "java/src/org/chromium/chrome/browser/offlinepages/evaluation/OfflinePageEvaluationBridge.java" ]
|