summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/chrome/browser
downloadqtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz
Initial import.
Diffstat (limited to 'chromium/chrome/browser')
-rw-r--r--chromium/chrome/browser/nacl_host/test/mock_nacl_gdb.gyp26
-rw-r--r--chromium/chrome/browser/performance_monitor/performance_monitor.gyp26
-rw-r--r--chromium/chrome/browser/search_engines/prepopulated_engines.gyp24
-rw-r--r--chromium/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp62
4 files changed, 138 insertions, 0 deletions
diff --git a/chromium/chrome/browser/nacl_host/test/mock_nacl_gdb.gyp b/chromium/chrome/browser/nacl_host/test/mock_nacl_gdb.gyp
new file mode 100644
index 00000000000..d02468a6845
--- /dev/null
+++ b/chromium/chrome/browser/nacl_host/test/mock_nacl_gdb.gyp
@@ -0,0 +1,26 @@
+# Copyright (c) 2012 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.
+{
+ 'conditions': [
+ ['disable_nacl==0 and (OS=="win" or OS=="linux")', {
+ 'targets': [
+ {
+ 'target_name': 'mock_nacl_gdb',
+ 'type': 'executable',
+ 'include_dirs': [
+ '../../../../',
+ ],
+ 'sources': [
+ 'mock_nacl_gdb.cc',
+ ],
+ 'dependencies': [
+ '../../../../base/base.gyp:base',
+ ],
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ 'msvs_disabled_warnings': [ 4267, ],
+ },
+ ],
+ }],
+ ],
+} \ No newline at end of file
diff --git a/chromium/chrome/browser/performance_monitor/performance_monitor.gyp b/chromium/chrome/browser/performance_monitor/performance_monitor.gyp
new file mode 100644
index 00000000000..e3587f491e8
--- /dev/null
+++ b/chromium/chrome/browser/performance_monitor/performance_monitor.gyp
@@ -0,0 +1,26 @@
+# Copyright (c) 2012 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'performance_monitor',
+ 'type': 'static_library',
+ 'sources': [
+ '<@(schema_files)',
+ ],
+ 'includes': [
+ '../../../build/json_schema_compile.gypi',
+ ],
+ 'variables': {
+ 'chromium_code': 1,
+ 'schema_files': [
+ 'events.json',
+ ],
+ 'cc_dir': 'chrome/browser/performance_monitor',
+ 'root_namespace': 'performance_monitor',
+ },
+ },
+ ],
+}
diff --git a/chromium/chrome/browser/search_engines/prepopulated_engines.gyp b/chromium/chrome/browser/search_engines/prepopulated_engines.gyp
new file mode 100644
index 00000000000..5a3da5f0eea
--- /dev/null
+++ b/chromium/chrome/browser/search_engines/prepopulated_engines.gyp
@@ -0,0 +1,24 @@
+# Copyright 2012 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'prepopulated_engines',
+ 'type': 'static_library',
+ 'sources': [
+ 'prepopulated_engines.json',
+ ],
+ 'includes': [
+ '../../../build/json_to_struct.gypi',
+ ],
+ 'variables': {
+ 'chromium_code': 1,
+ 'schema_file': 'prepopulated_engines_schema.json',
+ 'namespace': 'TemplateURLPrepopulateData',
+ 'cc_dir': 'chrome/browser/search_engines',
+ },
+ },
+ ],
+}
diff --git a/chromium/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp b/chromium/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
new file mode 100644
index 00000000000..d20485797b0
--- /dev/null
+++ b/chromium/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
@@ -0,0 +1,62 @@
+# Copyright (c) 2012 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ 'target_name': 'gtk2ui',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../../../../base/base.gyp:base',
+ '../../../../base/base.gyp:base_i18n',
+ '../../../../build/linux/system.gyp:gtk',
+ '../../../../skia/skia.gyp:skia',
+ '../../../../ui/base/strings/ui_strings.gyp:ui_strings',
+ '../../../../ui/ui.gyp:ui',
+ '../../../../ui/ui.gyp:ui_resources',
+ '../../../../ui/linux_ui/linux_ui.gyp:linux_ui',
+ '../../../chrome_resources.gyp:chrome_extra_resources',
+ '../../../chrome_resources.gyp:chrome_resources',
+ '../../../chrome_resources.gyp:chrome_strings',
+ '../../../chrome_resources.gyp:theme_resources',
+ ],
+ 'defines': [
+ 'LIBGTK2UI_IMPLEMENTATION',
+ ],
+ # Several of our source files are named _gtk2.cc. This isn't to
+ # differentiate them from their source files (ninja and make are sane
+ # build systems, unlike MSVS). It is instead to get around the rest of
+ # the normal, global gtk exclusion rules, as we are otherwise using gtk
+ # in a non-gtk build.
+ 'sources': [
+ 'app_indicator_icon.cc',
+ 'app_indicator_icon.h',
+ 'chrome_gtk_frame.cc',
+ 'chrome_gtk_frame.h',
+ 'gtk2_ui.cc',
+ 'gtk2_ui.h',
+ 'gtk2_util.cc',
+ 'gtk2_util.h',
+ 'libgtk2ui_export.h',
+ 'menu_util.cc',
+ 'menu_util.h',
+ 'native_theme_gtk2.cc',
+ 'native_theme_gtk2.h',
+ 'owned_widget_gtk2.cc',
+ 'owned_widget_gtk2.h',
+ 'select_file_dialog_impl.cc',
+ 'select_file_dialog_impl.h',
+ 'select_file_dialog_impl_gtk2.cc',
+ 'select_file_dialog_impl_kde.cc',
+ 'skia_utils_gtk2.cc',
+ 'skia_utils_gtk2.h',
+ 'unity_service.cc',
+ 'unity_service.h',
+ ],
+ },
+ ],
+}