Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1018)

Unified Diff: ui/gfx/gl/generate_bindings.py

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/compositor/compositor_gl.cc ('k') | ui/gfx/gl/gl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/generate_bindings.py
diff --git a/app/gfx/gl/generate_bindings.py b/ui/gfx/gl/generate_bindings.py
similarity index 97%
rename from app/gfx/gl/generate_bindings.py
rename to ui/gfx/gl/generate_bindings.py
index 5ad51f753e382c858d0ded602a04a7c864dafcc1..41038cc868deee4f0f7312a1acc8ba140f2ec182 100644
--- a/app/gfx/gl/generate_bindings.py
+++ b/ui/gfx/gl/generate_bindings.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
#
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 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.
@@ -437,14 +437,14 @@ def GenerateHeader(file, functions, set_name):
"""Generates gl_binding_autogen_x.h"""
# Write file header.
- file.write('// Copyright (c) 2010 The Chromium Authors. All rights reserved.\n')
+ file.write('// Copyright (c) 2011 The Chromium Authors. All rights reserved.\n')
file.write('// Use of this source code is governed by a BSD-style license that can be\n')
file.write('// found in the LICENSE file.\n')
file.write('\n')
file.write('// This file is automatically generated.\n')
file.write('\n')
- file.write('#ifndef APP_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' % set_name.upper())
- file.write('#define APP_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' % set_name.upper())
+ file.write('#ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' % set_name.upper())
+ file.write('#define UI_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' % set_name.upper())
# Write prototype for initialization function.
file.write('\n')
@@ -476,7 +476,7 @@ def GenerateHeader(file, functions, set_name):
(names[0], names[0]))
file.write('\n')
- file.write('#endif // APP_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' %
+ file.write('#endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_%s_H_\n' %
set_name.upper())
@@ -484,14 +484,14 @@ def GenerateSource(file, functions, set_name):
"""Generates gl_binding_autogen_x.cc"""
# Write file header.
- file.write('// Copyright (c) 2010 The Chromium Authors. All rights reserved.\n')
+ file.write('// Copyright (c) 2011 The Chromium Authors. All rights reserved.\n')
file.write('// Use of this source code is governed by a BSD-style license that can be\n')
file.write('// found in the LICENSE file.\n')
file.write('\n')
file.write('// This file is automatically generated.\n')
file.write('\n')
- file.write('#include "app/gfx/gl/gl_bindings.h"\n')
- file.write('#include "app/gfx/gl/gl_implementation.h"\n')
+ file.write('#include "ui/gfx/gl/gl_bindings.h"\n')
+ file.write('#include "ui/gfx/gl/gl_implementation.h"\n')
# Write definitions of function pointers.
file.write('\n')
@@ -566,7 +566,7 @@ def GenerateSource(file, functions, set_name):
def GenerateMockSource(file, functions):
"""Generates functions that invoke a mock GLInterface"""
- file.write('// Copyright (c) 2010 The Chromium Authors. All rights reserved.\n')
+ file.write('// Copyright (c) 2011 The Chromium Authors. All rights reserved.\n')
file.write('// Use of this source code is governed by a BSD-style license that can be\n')
file.write('// found in the LICENSE file.\n')
file.write('\n')
@@ -574,7 +574,7 @@ def GenerateMockSource(file, functions):
file.write('\n')
file.write('#include <string.h>\n')
file.write('\n')
- file.write('#include "app/gfx/gl/gl_interface.h"\n')
+ file.write('#include "ui/gfx/gl/gl_interface.h"\n')
file.write('\n')
file.write('namespace gfx {\n')
« no previous file with comments | « ui/gfx/compositor/compositor_gl.cc ('k') | ui/gfx/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698