Delete ppapi/buildflags/buildflags.h Transition ENABLE_PLUGINS users to content/public/common/buildflags.h. Then delete ppapi/buildflags/buildflags.h and its GN target. Bug: 40511450 Change-Id: I97d19a2a8a20c24ab95d0aec91f9903b6d5c8088 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6690442 Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Owners-Override: Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1487200} NOKEYCHECK=True GitOrigin-RevId: ae572bef3647189819f1371c5da4841b25afa124
diff --git a/buildflags/BUILD.gn b/buildflags/BUILD.gn deleted file mode 100644 index e6c5cde..0000000 --- a/buildflags/BUILD.gn +++ /dev/null
@@ -1,16 +0,0 @@ -# Copyright 2016 The Chromium Authors -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -import("//build/config/features.gni") - -# To support the removal of ppapi we use just a static PPAPI definition -# that depends on //content. -source_set("buildflags") { - sources = [ "buildflags.h" ] - public_deps = [ "//build:blink_buildflags" ] - - if (use_blink) { - public_deps += [ "//content/public/common:buildflags" ] - } -}
diff --git a/buildflags/DEPS b/buildflags/DEPS deleted file mode 100644 index a291259..0000000 --- a/buildflags/DEPS +++ /dev/null
@@ -1,3 +0,0 @@ -include_rules = [ - "+content/public/common/buildflags.h", -]
diff --git a/buildflags/buildflags.h b/buildflags/buildflags.h deleted file mode 100644 index 3cde163..0000000 --- a/buildflags/buildflags.h +++ /dev/null
@@ -1,22 +0,0 @@ -// Copyright 2025 The Chromium Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef PPAPI_BUILDFLAGS_BUILDFLAGS_H_ -#define PPAPI_BUILDFLAGS_BUILDFLAGS_H_ - -#include "build/blink_buildflags.h" -#include "build/buildflag.h" // IWYU pragma: export - -#if BUILDFLAG(USE_BLINK) -#include "content/public/common/buildflags.h" -#endif - -// IWYU pragma: always_keep - -// The ENABLE_PLUGINS build flag is moved into content/public/common but -// many files still include this file, so we statically generate it with -// an include of the content flag generation until all files are adjusted. -#define BUILDFLAG_INTERNAL_ENABLE_PPAPI() (0) - -#endif // PPAPI_BUILDFLAGS_BUILDFLAGS_H_