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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
919 'third_party/xdg_mime/xdgmimemagic.h', | 919 'third_party/xdg_mime/xdgmimemagic.h', |
920 'third_party/xdg_mime/xdgmimeparent.c', | 920 'third_party/xdg_mime/xdgmimeparent.c', |
921 'third_party/xdg_mime/xdgmimeparent.h', | 921 'third_party/xdg_mime/xdgmimeparent.h', |
922 ], | 922 ], |
923 }, | 923 }, |
924 ], | 924 ], |
925 }], | 925 }], |
926 ['OS == "android"', { | 926 ['OS == "android"', { |
927 'targets': [ | 927 'targets': [ |
928 { | 928 { |
929 # Target for creating common output build directories. | |
Yaron
2012/09/07 19:19:31
Seems like this may as well be in a build/ .gyp fi
shashi
2012/09/07 23:31:31
Done.
| |
930 # Creating output dirs beforehand ensures that build | |
931 # scripts can assume these folders to exist and there | |
932 # are no race conditions resulting from build scripts | |
933 # trying to create these directories. | |
934 # The build/java.gypi target depends on this target. | |
935 'target_name': 'build_output_directories', | |
936 'type': 'none', | |
937 'actions': [ | |
938 { | |
939 'action_name': 'create_output_dirs', | |
cjhopman
2012/09/07 19:50:35
Maybe rename this to create_java_output_dirs.
shashi
2012/09/07 23:31:31
Done.
| |
940 'variables' : { | |
941 'output_dirs' : [ | |
942 '<(PRODUCT_DIR)/apks', | |
943 '<(PRODUCT_DIR)/lib.java', | |
944 '<(PRODUCT_DIR)/test.lib.java', | |
945 ] | |
946 }, | |
947 'inputs' : [ | |
948 '<(PRODUCT_DIR)' | |
949 ], | |
950 'outputs': [ | |
951 '<@(output_dirs)' | |
952 ], | |
953 'action': [ | |
954 'mkdir', | |
955 '-p', | |
956 '<@(output_dirs)', | |
957 ], | |
958 }, | |
959 ], | |
960 }, | |
961 { | |
929 'target_name': 'base_jni_headers', | 962 'target_name': 'base_jni_headers', |
930 'type': 'none', | 963 'type': 'none', |
931 'sources': [ | 964 'sources': [ |
932 'android/java/src/org/chromium/base/BuildInfo.java', | 965 'android/java/src/org/chromium/base/BuildInfo.java', |
933 'android/java/src/org/chromium/base/LocaleUtils.java', | 966 'android/java/src/org/chromium/base/LocaleUtils.java', |
934 'android/java/src/org/chromium/base/PathService.java', | 967 'android/java/src/org/chromium/base/PathService.java', |
935 'android/java/src/org/chromium/base/PathUtils.java', | 968 'android/java/src/org/chromium/base/PathUtils.java', |
936 'android/java/src/org/chromium/base/SystemMessageHandler.java', | 969 'android/java/src/org/chromium/base/SystemMessageHandler.java', |
937 ], | 970 ], |
938 'variables': { | 971 'variables': { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1033 '--result', '<@(_outputs)', | 1066 '--result', '<@(_outputs)', |
1034 '--isolate', 'base_unittests.isolate', | 1067 '--isolate', 'base_unittests.isolate', |
1035 ], | 1068 ], |
1036 }, | 1069 }, |
1037 ], | 1070 ], |
1038 }, | 1071 }, |
1039 ], | 1072 ], |
1040 }], | 1073 }], |
1041 ], | 1074 ], |
1042 } | 1075 } |
OLD | NEW |