OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 27 matching lines...) Expand all Loading... | |
38 'public/user_agent.h', | 38 'public/user_agent.h', |
39 'public/user_agent.mm', | 39 'public/user_agent.mm', |
40 'public/web_state/web_state_observer.h', | 40 'public/web_state/web_state_observer.h', |
41 'public/web_thread.h', | 41 'public/web_thread.h', |
42 'string_util.cc', | 42 'string_util.cc', |
43 'web_state/web_state_observer.cc', | 43 'web_state/web_state_observer.cc', |
44 'web_thread.cc', | 44 'web_thread.cc', |
45 ], | 45 ], |
46 }, | 46 }, |
47 { | 47 { |
48 'target_name': 'js_resources', | |
49 'type': 'none', | |
50 'sources': [ | |
51 'web_state/js/resources/base.js', | |
52 'web_state/js/resources/common.js', | |
53 'web_state/js/resources/message.js', | |
54 'web_state/js/resources/message_dynamic_ui.js', | |
55 'web_state/js/resources/message_dynamic_wk.js', | |
56 ], | |
57 'link_settings': { | |
58 'mac_bundle_resources': [ | |
59 '<(SHARED_INTERMEDIATE_DIR)/base.js', | |
60 '<(SHARED_INTERMEDIATE_DIR)/common.js', | |
61 '<(SHARED_INTERMEDIATE_DIR)/message.js', | |
62 '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_ui.js', | |
63 '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js', | |
64 ], | |
65 }, | |
66 'conditions': [ | |
67 ['enable_wkwebview==1', { | |
sdefresne
2014/12/10 18:29:11
This variable "enable_wkwebview" is not defined in
droger
2014/12/11 09:36:35
I am not sure this should go in common.gypi.
Remov
| |
68 'sources': [ | |
69 'web_state/js/resources/message_dynamic_wk.js', | |
70 ], | |
71 'link_settings': { | |
72 'mac_bundle_resources': [ | |
73 '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js', | |
74 ], | |
75 }, | |
76 }], | |
77 ], | |
78 'includes': [ | |
79 'js_compile.gypi' | |
80 ], | |
81 }, | |
82 { | |
48 'target_name': 'test_support_ios_web', | 83 'target_name': 'test_support_ios_web', |
49 'type': 'static_library', | 84 'type': 'static_library', |
50 'dependencies': [ | 85 'dependencies': [ |
51 'ios_web', | 86 'ios_web', |
52 ], | 87 ], |
53 'include_dirs': [ | 88 'include_dirs': [ |
54 '../..', | 89 '../..', |
55 ], | 90 ], |
56 'sources': [ | 91 'sources': [ |
57 'public/test/test_browser_state.cc', | 92 'public/test/test_browser_state.cc', |
58 'public/test/test_browser_state.h', | 93 'public/test/test_browser_state.h', |
59 ], | 94 ], |
60 }, | 95 }, |
61 ], | 96 ], |
62 } | 97 } |
OLD | NEW |