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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 50 ], | 50 ], |
| 51 }, | 51 }, |
| 52 'xcode_settings': { | 52 'xcode_settings': { |
| 53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', | 53 'INFOPLIST_FILE': 'shell/test/Host-Info.plist', |
| 54 'OTHER_LDFLAGS': [ | 54 'OTHER_LDFLAGS': [ |
| 55 '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', | 55 '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', |
| 56 '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' | 56 '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks' |
| 57 ] | 57 ] |
| 58 }, | 58 }, |
| 59 'dependencies': [ | 59 'dependencies': [ |
| 60 'ios_web_shell_test_support', | 60 'ios_web_shell_earl_grey_test_support', |
| 61 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', | |
| 62 ], | 61 ], |
| 63 'sources': [ | 62 'sources': [ |
| 64 'shell/test/web_shell_navigation_egtest.mm', | 63 'shell/test/web_shell_navigation_egtest.mm', |
| 65 ], | 64 ], |
| 66 'postbuilds': [ | 65 'postbuilds': [ |
| 67 { | 66 { |
| 68 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', | 67 'postbuild_name': 'Copy OCHamcrest to TEST_HOST', |
| 69 'action': [ | 68 'action': [ |
| 70 'ditto', | 69 'ditto', |
| 71 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', | 70 '${BUILT_PRODUCTS_DIR}/OCHamcrest.framework', |
| 72 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra mework', | 71 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/OCHamcrest.fra mework', |
| 73 ], | 72 ], |
| 74 }, | 73 }, |
| 75 { | 74 { |
| 76 'postbuild_name': 'Copy EarlGrey to TEST_HOST', | 75 'postbuild_name': 'Copy EarlGrey to TEST_HOST', |
| 77 'action': [ | 76 'action': [ |
| 78 'ditto', | 77 'ditto', |
| 79 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', | 78 '${BUILT_PRODUCTS_DIR}/EarlGrey.framework', |
| 80 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work', | 79 '${BUILT_PRODUCTS_DIR}/<(_target_name).app/Frameworks/EarlGrey.frame work', |
| 81 ], | 80 ], |
| 82 }, | 81 }, |
| 83 ], | 82 ], |
| 84 }, | 83 }, |
| 85 { | 84 { |
| 86 # TODO(crbug.com/606815): Refactor out code that is common across Chrome | 85 # TODO(crbug.com/606815): Refactor out code that is common across Chrome |
| 87 # and the web shell. | 86 # and the web shell. |
| 88 'target_name': 'ios_web_shell_test_support', | 87 'target_name': 'ios_web_shell_earl_grey_test_support', |
|
baxley
2016/05/05 17:01:52
I didn't want to go crazy creating a new target fo
Eugene But (OOO till 7-30)
2016/05/05 18:01:11
That's fine, but I think the name should be differ
baxley
2016/05/05 18:33:18
I think it's a difference of what the name means.
Eugene But (OOO till 7-30)
2016/05/05 18:50:31
I small targets sounds like a better approach. Do
baxley
2016/05/05 21:13:53
After offline discussion, I'll leave it as is. Spl
| |
| 89 'type': 'static_library', | 88 'type': 'static_library', |
| 90 'dependencies': [ | 89 'dependencies': [ |
| 91 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', | 90 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', |
| 92 'ios_web.gyp:ios_web_test_support', | 91 'ios_web.gyp:ios_web_test_support', |
| 93 ], | 92 ], |
| 93 'export_dependent_settings': [ | |
| 94 '<(DEPTH)/ios/third_party/earl_grey/earl_grey.gyp:EarlGrey', | |
| 95 ], | |
| 94 'sources': [ | 96 'sources': [ |
| 95 'public/test/http_server_util.h', | 97 'public/test/earl_grey/web_view_matchers.h', |
| 96 'public/test/http_server_util.mm', | 98 'public/test/earl_grey/web_view_matchers.mm', |
| 97 'shell/test/navigation_test_util.h', | 99 'shell/test/app/web_shell_test_util.h', |
| 98 'shell/test/navigation_test_util.mm', | 100 'shell/test/app/web_shell_test_util.mm', |
| 99 'shell/test/shell_matchers.h', | 101 'shell/test/earl_grey/shell_matchers.h', |
| 100 'shell/test/shell_matchers.mm', | 102 'shell/test/earl_grey/shell_matchers.mm', |
| 101 'shell/test/web_shell_test_util.h', | |
| 102 'shell/test/web_shell_test_util.mm', | |
| 103 'shell/test/web_view_matchers.h', | |
| 104 'shell/test/web_view_matchers.mm', | |
| 105 ], | 103 ], |
| 106 }, | 104 }, |
| 107 ], | 105 ], |
| 108 } | 106 } |
| OLD | NEW |