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

Side by Side Diff: chrome/chrome_common.gypi

Issue 50603005: Add cross-platform API to get the form factor of the device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Applied form factor API to other files Created 7 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'common', 8 'target_name': 'common',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 10 'variables': {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 'common/content_settings_pattern.cc', 107 'common/content_settings_pattern.cc',
108 'common/content_settings_pattern.h', 108 'common/content_settings_pattern.h',
109 'common/content_settings_pattern_parser.cc', 109 'common/content_settings_pattern_parser.cc',
110 'common/content_settings_pattern_parser.h', 110 'common/content_settings_pattern_parser.h',
111 'common/content_settings_types.h', 111 'common/content_settings_types.h',
112 'common/crash_keys.cc', 112 'common/crash_keys.cc',
113 'common/crash_keys.h', 113 'common/crash_keys.h',
114 'common/custom_handlers/protocol_handler.cc', 114 'common/custom_handlers/protocol_handler.cc',
115 'common/custom_handlers/protocol_handler.h', 115 'common/custom_handlers/protocol_handler.h',
116 'common/descriptors_android.h', 116 'common/descriptors_android.h',
117 'common/device_form_factor_android.cc',
118 'common/device_form_factor_desktop.cc',
119 'common/device_form_factor_ios.mm',
120 'common/device_form_factor.h',
117 'common/dump_without_crashing.cc', 121 'common/dump_without_crashing.cc',
118 'common/dump_without_crashing.h', 122 'common/dump_without_crashing.h',
119 'common/encrypted_media_messages_android.h', 123 'common/encrypted_media_messages_android.h',
120 'common/extensions/api/commands/commands_handler.cc', 124 'common/extensions/api/commands/commands_handler.cc',
121 'common/extensions/api/commands/commands_handler.h', 125 'common/extensions/api/commands/commands_handler.h',
122 'common/extensions/api/extension_action/action_info.cc', 126 'common/extensions/api/extension_action/action_info.cc',
123 'common/extensions/api/extension_action/action_info.h', 127 'common/extensions/api/extension_action/action_info.h',
124 'common/extensions/api/extension_action/browser_action_handler.cc', 128 'common/extensions/api/extension_action/browser_action_handler.cc',
125 'common/extensions/api/extension_action/browser_action_handler.h', 129 'common/extensions/api/extension_action/browser_action_handler.h',
126 'common/extensions/api/extension_action/page_action_handler.cc', 130 'common/extensions/api/extension_action/page_action_handler.cc',
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 ], 502 ],
499 'include_dirs': [ 503 'include_dirs': [
500 '<(DEPTH)/breakpad/src', 504 '<(DEPTH)/breakpad/src',
501 ], 505 ],
502 }], 506 }],
503 ['OS!="ios" and chrome_multiple_dll!=1', { 507 ['OS!="ios" and chrome_multiple_dll!=1', {
504 'dependencies': [ 508 'dependencies': [
505 '<(DEPTH)/webkit/glue/webkit_glue.gyp:glue', 509 '<(DEPTH)/webkit/glue/webkit_glue.gyp:glue',
506 ], 510 ],
507 }], 511 }],
512 ['OS=="android" or OS=="ios"', {
513 'sources!': [
514 'common/device_form_factor_desktop.cc'
515 ],
516 }],
508 ['OS=="android"', { 517 ['OS=="android"', {
509 'sources/': [ 518 'sources/': [
510 ['exclude', '^common/chrome_version_info_posix.cc'], 519 ['exclude', '^common/chrome_version_info_posix.cc'],
511 ['exclude', '^common/service_'], 520 ['exclude', '^common/service_'],
512 ], 521 ],
513 'sources!': [ 522 'sources!': [
514 'common/badge_util.cc', 523 'common/badge_util.cc',
515 'common/extensions/api/extension_action/browser_action_handler.cc', 524 'common/extensions/api/extension_action/browser_action_handler.cc',
516 'common/extensions/api/extension_action/page_action_handler.cc', 525 'common/extensions/api/extension_action/page_action_handler.cc',
517 'common/extensions/api/spellcheck/spellcheck_handler.cc', 526 'common/extensions/api/spellcheck/spellcheck_handler.cc',
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 'common/metrics/proto/user_action_event.proto', 797 'common/metrics/proto/user_action_event.proto',
789 ], 798 ],
790 'variables': { 799 'variables': {
791 'proto_in_dir': 'common/metrics/proto', 800 'proto_in_dir': 'common/metrics/proto',
792 'proto_out_dir': 'chrome/common/metrics/proto', 801 'proto_out_dir': 'chrome/common/metrics/proto',
793 }, 802 },
794 'includes': [ '../build/protoc.gypi' ], 803 'includes': [ '../build/protoc.gypi' ],
795 }, 804 },
796 ], 805 ],
797 } 806 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698