Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'conditions': [ | 6 'conditions': [ |
| 7 ['OS=="ios"', { | 7 ['OS=="ios"', { |
| 8 'variables': { | 8 'variables': { |
| 9 'remoting_ios_locales': [ | 9 'remoting_ios_locales': [ |
| 10 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', 'es-MX', | 10 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', 'es-MX', |
| 11 'fi', 'fr', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', | 11 'fi', 'fr', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', |
| 12 'nb', 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', | 12 'nb', 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', |
| 13 'uk', 'vi', 'zh-CN', 'zh-TW', | 13 'uk', 'vi', 'zh-CN', 'zh-TW', |
| 14 ], | 14 ], |
| 15 'locales_out_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/resources', | 15 'locales_out_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/resources', |
| 16 'remoting_ios_locale_files': [ | 16 'remoting_ios_locale_files': [ |
| 17 '<!@pymod_do_main(remoting_ios_localize --print-outputs ' | 17 '<!@pymod_do_main(remoting_ios_localize --print-outputs ' |
| 18 ' --to-dir <(locales_out_dir) ' | 18 ' --to-dir <(locales_out_dir) ' |
| 19 '<(remoting_ios_locales))', | 19 '<(remoting_ios_locales))', |
| 20 ], | 20 ], |
| 21 'remoting_ios_credits_files': [ | 21 'remoting_ios_credits_files': [ |
| 22 '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/credits', | 22 '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/credits', |
| 23 ], | 23 ], |
| 24 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/grit', | 24 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/ios/grit', |
| 25 }, # variables | 25 }, # variables |
| 26 | 26 |
| 27 'targets': [ | 27 'targets': [ |
| 28 { | 28 { |
| 29 'target_name': 'remoting_client_ios_app', | |
| 30 'type': 'executable', | |
| 31 'mac_bundle': 1, | |
| 32 'product_name': 'Chromium Remote Desktop', | |
|
Lambros
2016/03/16 00:22:12
Chromoting?
| |
| 33 'sources': [ | |
| 34 'client/ios/main.mm', | |
| 35 ], | |
| 36 'xcode_settings': { | |
| 37 'CLANG_ENABLE_OBJC_ARC': 'YES', | |
| 38 'INFOPLIST_FILE': 'client/ios/remoting_ios-Info.plist', | |
| 39 'BUNDLE_SHORT_VERSION': '<(version_short)', | |
| 40 'BUNDLE_VERSION': '<(version_full)', | |
| 41 'BUNDLE_IDENTIFIER': 'com.google.ChromiumRemoteDesktop', | |
|
Lambros
2016/03/16 00:22:12
Either Chromoting or Chrome Remote Desktop:
If yo
nicholss
2016/03/16 16:40:39
I can't change it for iOS builds and be able to de
| |
| 42 }, | |
| 43 'include_dirs': [ | |
| 44 '<(DEPTH)', | |
|
Lambros
2016/03/16 00:22:12
<(DEPTH) could be replaced with '..', since this .
nicholss
2016/03/16 16:40:39
That works until you move things. I would prefer t
| |
| 45 ], | |
| 46 'mac_bundle_resources': [ | |
| 47 ], | |
| 48 'dependencies': [ | |
| 49 'remoting_client_ios_static', | |
| 50 ], | |
| 51 }, # end of target 'remoting_client_ios_app' | |
| 52 | |
| 53 { | |
| 54 'target_name': 'remoting_client_ios_static', | |
| 55 'type': 'static_library', | |
| 56 'sources': [ | |
| 57 'client/ios/app_delegate.h', | |
| 58 'client/ios/app_delegate.mm', | |
| 59 'client/ios/example_view_controller.h', | |
| 60 'client/ios/example_view_controller.mm', | |
| 61 ], | |
| 62 'xcode_settings': { | |
| 63 'CLANG_ENABLE_OBJC_ARC': 'YES', | |
| 64 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11', | |
| 65 }, | |
| 66 'include_dirs': [ | |
| 67 '<(DEPTH)', | |
| 68 '<(DEPTH)/third_party', | |
| 69 ], | |
| 70 'dependencies': [ | |
| 71 'remoting_base', | |
| 72 'remoting_client', | |
| 73 'remoting_protocol', | |
| 74 '<(DEPTH)/base/base.gyp:base', | |
| 75 '<(DEPTH)/base/base.gyp:base_i18n', | |
| 76 '<(DEPTH)/base/base.gyp:base_static', | |
| 77 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | |
| 78 ], | |
| 79 'link_settings': { | |
| 80 'libraries': [ | |
| 81 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', | |
| 82 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | |
| 83 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | |
| 84 '$(SDKROOT)/System/Library/Frameworks/CoreData.framework', | |
| 85 '$(SDKROOT)/System/Library/Frameworks/CoreMIDI.framework', | |
| 86 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | |
| 87 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | |
| 88 '$(SDKROOT)/System/Library/Frameworks/GLKit.framework', | |
| 89 '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework', | |
| 90 ], | |
| 91 }, | |
| 92 }, # end of target 'remoting_client_ios_static' | |
| 93 | |
| 94 { | |
| 29 'target_name': 'remoting_ios_l10n', | 95 'target_name': 'remoting_ios_l10n', |
| 30 'type': 'none', | 96 'type': 'none', |
| 31 'variables': { | 97 'variables': { |
| 32 'string_id_list': 'client/ios/build/localizable_string_id_list.txt', | 98 'string_id_list': 'client/ios/build/localizable_string_id_list.txt', |
| 33 'infoplist_template': 'client/ios/build/InfoPlist.strings.jinja2', | 99 'infoplist_template': 'client/ios/build/InfoPlist.strings.jinja2', |
| 34 }, | 100 }, |
| 35 'actions': [ | 101 'actions': [ |
| 36 { | 102 { |
| 37 'action_name': 'Generate <locale>.pak from remoting_strings.grd', | 103 'action_name': 'Generate <locale>.pak from remoting_strings.grd', |
| 38 'variables': { | 104 'variables': { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 ], | 159 ], |
| 94 'dependencies': [ | 160 'dependencies': [ |
| 95 'remoting_client_credits', | 161 'remoting_client_credits', |
| 96 ], | 162 ], |
| 97 }, # end of target remoting_ios_credits | 163 }, # end of target remoting_ios_credits |
| 98 | 164 |
| 99 ], # end of 'targets' | 165 ], # end of 'targets' |
| 100 }], # 'OS=="ios" | 166 }], # 'OS=="ios" |
| 101 ], # end of 'conditions' | 167 ], # end of 'conditions' |
| 102 } | 168 } |
| OLD | NEW |