Commit 7260ef2c authored by erg@chromium.org's avatar erg@chromium.org

GTK: Adds #error statements to GTK code to root out unknown bots.

BUG=297026
R=jam@chromium.org

Review URL: https://codereview.chromium.org/226413006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263054 0039d316-1c4b-4281-b951-d872f2087c98
parent dd59d5c5
......@@ -10,6 +10,8 @@
#include "base/debug/trace_event.h"
#include "base/profiler/scoped_profile.h"
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace base {
namespace {
......
......@@ -113,6 +113,8 @@ using content::SSLStatus;
using content::WebContents;
using web_modal::WebContentsModalDialogHost;
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace {
// The number of milliseconds between loading animation frames.
......
......@@ -53,6 +53,8 @@
using blink::WebMouseWheelEvent;
using blink::WebScreenInfo;
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace content {
namespace {
......
......@@ -8,6 +8,8 @@
#include "base/logging.h"
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace ui {
OwnedWidgetGtk::~OwnedWidgetGtk() {
......
......@@ -9,6 +9,8 @@
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace gfx {
GdkRegion* Path::CreateNativeRegion() const {
......
......@@ -10,6 +10,8 @@
#include "base/logging.h"
#include "ui/gfx/skia_utils_gtk.h"
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
namespace {
const SkColor kInvalidColorIdColor = SkColorSetRGB(255, 0, 128);
......
......@@ -17,6 +17,8 @@
#include "ui/base/x/x11_util.h"
#include "ui/gfx/size.h"
#error "The GTK+ port will be deleted later this week. If you are seeing this, you are trying to compile it. Please check your gyp flags for 'use_aura=0' and remove them."
// The shmat system call uses this as it's invalid return address
static void *const kInvalidAddress = (void*) -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment