OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 # GN: //chrome:chrome_android_core | 10 # GN: //chrome:chrome_android_core |
(...skipping 19 matching lines...) Expand all Loading... |
30 'sources': [ | 30 'sources': [ |
31 'app/android/chrome_android_initializer.cc', | 31 'app/android/chrome_android_initializer.cc', |
32 'app/android/chrome_android_initializer.h', | 32 'app/android/chrome_android_initializer.h', |
33 'app/android/chrome_jni_onload.cc', | 33 'app/android/chrome_jni_onload.cc', |
34 'app/android/chrome_jni_onload.h', | 34 'app/android/chrome_jni_onload.h', |
35 'app/android/chrome_main_delegate_android.cc', | 35 'app/android/chrome_main_delegate_android.cc', |
36 'app/android/chrome_main_delegate_android.h', | 36 'app/android/chrome_main_delegate_android.h', |
37 'app/chrome_main_delegate.cc', | 37 'app/chrome_main_delegate.cc', |
38 'app/chrome_main_delegate.h', | 38 'app/chrome_main_delegate.h', |
39 ], | 39 ], |
| 40 'conditions': [ |
| 41 ['android_java_ui==1', { |
| 42 'all_dependent_settings': { |
| 43 'defines': [ 'ANDROID_JAVA_UI=1'] |
| 44 }] |
| 45 }], |
40 'link_settings': { | 46 'link_settings': { |
41 'libraries': [ | 47 'libraries': [ |
42 '-landroid', | 48 '-landroid', |
43 '-ljnigraphics', | 49 '-ljnigraphics', |
44 ], | 50 ], |
45 }, | 51 }, |
46 }, | 52 }, |
47 { | 53 { |
48 # GYP: //chrome/android:chrome_version_java | 54 # GYP: //chrome/android:chrome_version_java |
49 'target_name': 'chrome_version_java', | 55 'target_name': 'chrome_version_java', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 '-f', '<(branding_path)', | 100 '-f', '<(branding_path)', |
95 '-e', 'CHANNEL=str.upper("<(android_channel)")', | 101 '-e', 'CHANNEL=str.upper("<(android_channel)")', |
96 '<(template_input_path)', | 102 '<(template_input_path)', |
97 '<(output_path)', | 103 '<(output_path)', |
98 ], | 104 ], |
99 }, | 105 }, |
100 ], | 106 ], |
101 }, | 107 }, |
102 ], | 108 ], |
103 } | 109 } |
OLD | NEW |