Skip to content

Commit

Permalink
GTK: Adds #error statements to GTK code to root out unknown bots.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
erg@chromium.org committed Apr 10, 2014
1 parent dd59d5c commit 7260ef2
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/message_loop/message_pump_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions chrome/browser/ui/gtk/browser_window_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions content/browser/renderer_host/render_widget_host_view_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
2 changes: 2 additions & 0 deletions ui/base/gtk/owned_widget_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 2 additions & 0 deletions ui/gfx/path_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions ui/native_theme/native_theme_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions ui/surface/transport_dib_gtk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7260ef2

Please sign in to comment.